Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
glslparsertable_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
4//
5// W A R N I N G
6// -------------
7//
8// This file is not part of the Qt API. It exists for the convenience
9// of other Qt classes. This header file may change from version to
10// version without notice, or even be removed.
11//
12// We mean it.
13//
14
15// This file was generated by qlalr - DO NOT EDIT!
16#ifndef GLSLPARSERTABLE_P_H
17#define GLSLPARSERTABLE_P_H
18
19#include <QtCore/qglobal.h>
20
22
24{
25public:
64 T_DO = 38,
167 T_SLASH = 135,
168 T_SMOOTH = 136,
169 T_STAR = 137,
170 T_STRUCT = 138,
173 T_SWITCH = 141,
174 T_TILDE = 142,
175 T_TRUE = 169,
177 T_UINT = 144,
190 T_UVEC2 = 157,
191 T_UVEC3 = 158,
192 T_UVEC4 = 159,
194 T_VEC2 = 161,
195 T_VEC3 = 162,
196 T_VEC4 = 163,
198 T_VOID = 165,
199 T_WHILE = 166,
201 T_XOR_OP = 168,
202
208
211 GOTO_CHECK_OFFSET = 4670
212 };
213
214 static const char *const spell[];
215 static const short lhs[];
216 static const short rhs[];
217 static const short goto_default[];
218 static const short action_default[];
219 static const short action_index[];
220 static const short action_info[];
221 static const short action_check[];
222
223 static inline int nt_action (int state, int nt)
224 {
225 const int yyn = action_index [GOTO_INDEX_OFFSET + state] + nt;
226 if (yyn < 0 || action_check [GOTO_CHECK_OFFSET + yyn] != nt)
227 return goto_default [nt];
228
229 return action_info [GOTO_INFO_OFFSET + yyn];
230 }
231
232 static inline int t_action (int state, int token)
233 {
234 const int yyn = action_index [state] + token;
235
236 if (yyn < 0 || action_check [yyn] != token)
237 return - action_default [state];
238
239 return action_info [yyn];
240 }
241};
242
243
245#endif // GLSLPARSERTABLE_P_H
246
static const short lhs[]
static const short action_index[]
static int t_action(int state, int token)
static int nt_action(int state, int nt)
static const short action_info[]
static const short rhs[]
static const short goto_default[]
static const short action_default[]
static const short action_check[]
static const char *const spell[]
else opt state
[0]
Token token
Definition keywords.cpp:444
Combined button and popup list for selecting options.