Qt 6.x
The Qt SDK
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:
33 T_BANG = 8,
34 T_BOOL = 9,
35 T_BREAK = 10,
36 T_BVEC2 = 11,
37 T_BVEC3 = 12,
38 T_BVEC4 = 13,
39 T_CARET = 14,
40 T_CASE = 15,
42 T_COLON = 17,
43 T_COMMA = 18,
44 T_COMMENT = 172,
45 T_CONST = 19,
47 T_DASH = 21,
52 T_DMAT2 = 26,
56 T_DMAT3 = 30,
60 T_DMAT4 = 34,
64 T_DO = 38,
65 T_DOT = 39,
67 T_DVEC2 = 41,
68 T_DVEC3 = 42,
69 T_DVEC4 = 43,
70 T_ELSE = 44,
71 T_EQUAL = 45,
72 T_EQ_OP = 46,
73 T_ERROR = 173,
74 T_FALSE = 170,
77 T_FLAT = 47,
78 T_FLOAT = 48,
79 T_FOR = 49,
80 T_GE_OP = 50,
81 T_HIGHP = 51,
83 T_IF = 53,
84 T_IN = 54,
86 T_INOUT = 56,
87 T_INT = 57,
111 T_LOWP = 81,
112 T_MAT2 = 82,
116 T_MAT3 = 86,
120 T_MAT4 = 90,
131 T_OR_OP = 101,
132 T_OUT = 102,
133 T_PATCH = 103,
135 T_PLUS = 105,
140 T_RETURN = 108,
147 T_SAMPLE = 115,
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.