Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
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
// Qt-Security score:significant reason:default
4
5
6
//
7
// W A R N I N G
8
// -------------
9
//
10
// This file is not part of the Qt API. It exists for the convenience
11
// of other Qt classes. This header file may change from version to
12
// version without notice, or even be removed.
13
//
14
// We mean it.
15
//
16
17
// This file was generated by qlalr - DO NOT EDIT!
18
#
ifndef
GLSLPARSERTABLE_P_H
19
#
define
GLSLPARSERTABLE_P_H
20
21
#
include
<
QtCore
/
qglobal
.
h
>
22
23
QT_BEGIN_NAMESPACE
24
25
class
GLSLParserTable
26
{
27
public
:
28
enum
VariousConstants {
29
EOF_SYMBOL = 0,
30
T_ADD_ASSIGN = 3,
31
T_AMPERSAND = 4,
32
T_AND_ASSIGN = 5,
33
T_AND_OP = 6,
34
T_ATTRIBUTE = 7,
35
T_BANG = 8,
36
T_BOOL = 9,
37
T_BREAK = 10,
38
T_BVEC2 = 11,
39
T_BVEC3 = 12,
40
T_BVEC4 = 13,
41
T_CARET = 14,
42
T_CASE = 15,
43
T_CENTROID = 16,
44
T_COLON = 17,
45
T_COMMA = 18,
46
T_COMMENT = 172,
47
T_CONST = 19,
48
T_CONTINUE = 20,
49
T_DASH = 21,
50
T_DEC_OP = 22,
51
T_DEFAULT = 23,
52
T_DISCARD = 24,
53
T_DIV_ASSIGN = 25,
54
T_DMAT2 = 26,
55
T_DMAT2X2 = 27,
56
T_DMAT2X3 = 28,
57
T_DMAT2X4 = 29,
58
T_DMAT3 = 30,
59
T_DMAT3X2 = 31,
60
T_DMAT3X3 = 32,
61
T_DMAT3X4 = 33,
62
T_DMAT4 = 34,
63
T_DMAT4X2 = 35,
64
T_DMAT4X3 = 36,
65
T_DMAT4X4 = 37,
66
T_DO = 38,
67
T_DOT = 39,
68
T_DOUBLE = 40,
69
T_DVEC2 = 41,
70
T_DVEC3 = 42,
71
T_DVEC4 = 43,
72
T_ELSE = 44,
73
T_EQUAL = 45,
74
T_EQ_OP = 46,
75
T_ERROR = 173,
76
T_FALSE = 170,
77
T_FEED_EXPRESSION = 2,
78
T_FEED_GLSL = 1,
79
T_FLAT = 47,
80
T_FLOAT = 48,
81
T_FOR = 49,
82
T_GE_OP = 50,
83
T_HIGHP = 51,
84
T_IDENTIFIER = 52,
85
T_IF = 53,
86
T_IN = 54,
87
T_INC_OP = 55,
88
T_INOUT = 56,
89
T_INT = 57,
90
T_INVARIANT = 58,
91
T_ISAMPLER1D = 59,
92
T_ISAMPLER1DARRAY = 60,
93
T_ISAMPLER2D = 61,
94
T_ISAMPLER2DARRAY = 62,
95
T_ISAMPLER2DMS = 63,
96
T_ISAMPLER2DMSARRAY = 64,
97
T_ISAMPLER2DRECT = 65,
98
T_ISAMPLER3D = 66,
99
T_ISAMPLERBUFFER = 67,
100
T_ISAMPLERCUBE = 68,
101
T_ISAMPLERCUBEARRAY = 69,
102
T_IVEC2 = 70,
103
T_IVEC3 = 71,
104
T_IVEC4 = 72,
105
T_LAYOUT = 73,
106
T_LEFT_ANGLE = 74,
107
T_LEFT_ASSIGN = 75,
108
T_LEFT_BRACE = 76,
109
T_LEFT_BRACKET = 77,
110
T_LEFT_OP = 78,
111
T_LEFT_PAREN = 79,
112
T_LE_OP = 80,
113
T_LOWP = 81,
114
T_MAT2 = 82,
115
T_MAT2X2 = 83,
116
T_MAT2X3 = 84,
117
T_MAT2X4 = 85,
118
T_MAT3 = 86,
119
T_MAT3X2 = 87,
120
T_MAT3X3 = 88,
121
T_MAT3X4 = 89,
122
T_MAT4 = 90,
123
T_MAT4X2 = 91,
124
T_MAT4X3 = 92,
125
T_MAT4X4 = 93,
126
T_MEDIUMP = 94,
127
T_MOD_ASSIGN = 95,
128
T_MUL_ASSIGN = 96,
129
T_NE_OP = 97,
130
T_NOPERSPECTIVE = 98,
131
T_NUMBER = 99,
132
T_OR_ASSIGN = 100,
133
T_OR_OP = 101,
134
T_OUT = 102,
135
T_PATCH = 103,
136
T_PERCENT = 104,
137
T_PLUS = 105,
138
T_PRECISION = 106,
139
T_PREPROC = 171,
140
T_QUESTION = 107,
141
T_RESERVED = 174,
142
T_RETURN = 108,
143
T_RIGHT_ANGLE = 109,
144
T_RIGHT_ASSIGN = 110,
145
T_RIGHT_BRACE = 111,
146
T_RIGHT_BRACKET = 112,
147
T_RIGHT_OP = 113,
148
T_RIGHT_PAREN = 114,
149
T_SAMPLE = 115,
150
T_SAMPLER1D = 116,
151
T_SAMPLER1DARRAY = 117,
152
T_SAMPLER1DARRAYSHADOW = 118,
153
T_SAMPLER1DSHADOW = 119,
154
T_SAMPLER2D = 120,
155
T_SAMPLER2DARRAY = 121,
156
T_SAMPLER2DARRAYSHADOW = 122,
157
T_SAMPLER2DMS = 123,
158
T_SAMPLER2DMSARRAY = 124,
159
T_SAMPLER2DRECT = 125,
160
T_SAMPLER2DRECTSHADOW = 126,
161
T_SAMPLER2DSHADOW = 127,
162
T_SAMPLER3D = 128,
163
T_SAMPLERBUFFER = 129,
164
T_SAMPLERCUBE = 130,
165
T_SAMPLERCUBEARRAY = 131,
166
T_SAMPLERCUBEARRAYSHADOW = 132,
167
T_SAMPLERCUBESHADOW = 133,
168
T_SEMICOLON = 134,
169
T_SLASH = 135,
170
T_SMOOTH = 136,
171
T_STAR = 137,
172
T_STRUCT = 138,
173
T_SUBROUTINE = 139,
174
T_SUB_ASSIGN = 140,
175
T_SWITCH = 141,
176
T_TILDE = 142,
177
T_TRUE = 169,
178
T_TYPE_NAME = 143,
179
T_UINT = 144,
180
T_UNIFORM = 145,
181
T_USAMPLER1D = 146,
182
T_USAMPLER1DARRAY = 147,
183
T_USAMPLER2D = 148,
184
T_USAMPLER2DARRAY = 149,
185
T_USAMPLER2DMS = 150,
186
T_USAMPLER2DMSARRAY = 151,
187
T_USAMPLER2DRECT = 152,
188
T_USAMPLER3D = 153,
189
T_USAMPLERBUFFER = 154,
190
T_USAMPLERCUBE = 155,
191
T_USAMPLERCUBEARRAY = 156,
192
T_UVEC2 = 157,
193
T_UVEC3 = 158,
194
T_UVEC4 = 159,
195
T_VARYING = 160,
196
T_VEC2 = 161,
197
T_VEC3 = 162,
198
T_VEC4 = 163,
199
T_VERTICAL_BAR = 164,
200
T_VOID = 165,
201
T_WHILE = 166,
202
T_XOR_ASSIGN = 167,
203
T_XOR_OP = 168,
204
205
ACCEPT_STATE = 462,
206
RULE_COUNT = 316,
207
STATE_COUNT = 463,
208
TERMINAL_COUNT = 175,
209
NON_TERMINAL_COUNT = 85,
210
211
GOTO_INDEX_OFFSET = 463,
212
GOTO_INFO_OFFSET = 4670,
213
GOTO_CHECK_OFFSET = 4670
214
};
215
216
static
const
char
*
const
spell[];
217
static
const
short
lhs[];
218
static
const
short
rhs[];
219
static
const
short
goto_default[];
220
static
const
short
action_default[];
221
static
const
short
action_index[];
222
static
const
short
action_info[];
223
static
const
short
action_check[];
224
225
static
inline
int
nt_action (
int
state,
int
nt)
226
{
227
const
int
yyn = action_index [GOTO_INDEX_OFFSET + state] + nt;
228
if
(yyn < 0 || action_check [GOTO_CHECK_OFFSET + yyn] != nt)
229
return
goto_default [nt];
230
231
return
action_info [GOTO_INFO_OFFSET + yyn];
232
}
233
234
static
inline
int
t_action (
int
state,
int
token)
235
{
236
const
int
yyn = action_index [state] + token;
237
238
if
(yyn < 0 || action_check [yyn] != token)
239
return
- action_default [state];
240
241
return
action_info [yyn];
242
}
243
};
244
245
246
QT_END_NAMESPACE
247
#
endif
// GLSLPARSERTABLE_P_H
GLSL::AST
Definition
glslast_p.h:113
GLSL::ArrayTypeAST
Definition
glslast_p.h:714
GLSL::AssignmentExpressionAST
Definition
glslast_p.h:391
GLSL::BasicTypeAST
Definition
glslast_p.h:679
GLSL::BinaryExpressionAST
Definition
glslast_p.h:346
GLSL::CaseLabelStatementAST
Definition
glslast_p.h:626
GLSL::CompoundStatementAST
Definition
glslast_p.h:501
GLSL::DeclarationAST
Definition
glslast_p.h:838
GLSL::DeclarationExpressionAST
Definition
glslast_p.h:460
GLSL::DeclarationStatementAST
Definition
glslast_p.h:641
GLSL::DoStatementAST
Definition
glslast_p.h:554
GLSL::ExpressionAST
Definition
glslast_p.h:309
GLSL::ExpressionStatementAST
Definition
glslast_p.h:487
GLSL::ForStatementAST
Definition
glslast_p.h:569
GLSL::FunctionCallExpressionAST
Definition
glslast_p.h:421
GLSL::FunctionDeclarationAST
Definition
glslast_p.h:966
GLSL::FunctionIdentifierAST
Definition
glslast_p.h:443
GLSL::IdentifierExpressionAST
Definition
glslast_p.h:318
GLSL::IfStatementAST
Definition
glslast_p.h:522
GLSL::InitDeclarationAST
Definition
glslast_p.h:952
GLSL::InvariantDeclarationAST
Definition
glslast_p.h:938
GLSL::JumpStatementAST
Definition
glslast_p.h:586
GLSL::LayoutQualifierAST
Definition
glslast_p.h:778
GLSL::List
Definition
glslast_p.h:73
GLSL::LiteralExpressionAST
Definition
glslast_p.h:332
GLSL::MemberAccessExpressionAST
Definition
glslast_p.h:406
GLSL::NamedTypeAST
Definition
glslast_p.h:698
GLSL::ParameterDeclarationAST
Definition
glslast_p.h:863
GLSL::PrecisionDeclarationAST
Definition
glslast_p.h:847
GLSL::QualifiedTypeAST
Definition
glslast_p.h:792
GLSL::ReturnStatementAST
Definition
glslast_p.h:596
GLSL::StatementAST
Definition
glslast_p.h:478
GLSL::StructTypeAST
Definition
glslast_p.h:734
GLSL::SwitchStatementAST
Definition
glslast_p.h:611
GLSL::TernaryExpressionAST
Definition
glslast_p.h:375
GLSL::TranslationUnitAST
Definition
glslast_p.h:295
GLSL::TypeAST
Definition
glslast_p.h:655
GLSL::TypeAndVariableDeclarationAST
Definition
glslast_p.h:921
GLSL::TypeDeclarationAST
Definition
glslast_p.h:907
GLSL::UnaryExpressionAST
Definition
glslast_p.h:361
GLSL::VariableDeclarationAST
Definition
glslast_p.h:887
GLSL::Visitor
Definition
glslastvisitor_p.h:27
GLSL::WhileStatementAST
Definition
glslast_p.h:539
GLSL
Definition
glslast_p.h:26
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtquick3d
src
glslparser
glslparsertable_p.h
Generated on
for Qt by
1.18.0