webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Macros | Typedefs | Enumerations | Functions
glslang_tab.cpp File Reference
#include "angle_gl.h"
#include "compiler/translator/Cache.h"
#include "compiler/translator/SymbolTable.h"
#include "compiler/translator/ParseContext.h"
#include "GLSLANG/ShaderLang.h"
#include <stddef.h>

Classes

union  YYSTYPE
 
union  yyalloc
 

Macros

#define YYBISON   1
 
#define YYBISON_VERSION   "3.0.4"
 
#define YYSKELETON_NAME   "yacc.c"
 
#define YYPURE   2
 
#define YYPUSH   0
 
#define YYPULL   1
 
#define YYENABLE_NLS   0
 
#define YY_NULLPTR   0
 
#define YYERROR_VERBOSE   0
 
#define YY_YY_GLSLANG_TAB_H_INCLUDED
 
#define YYDEBUG   0
 
#define YYLTYPE   TSourceLoc
 
#define YYLTYPE_IS_DECLARED   1
 
#define YYTOKENTYPE
 
#define YYSTYPE_IS_TRIVIAL   1
 
#define YYSTYPE_IS_DECLARED   1
 
#define YYLLOC_DEFAULT(Current, Rhs, N)
 
#define VERTEX_ONLY(S, L)
 
#define FRAG_ONLY(S, L)
 
#define COMPUTE_ONLY(S, L)
 
#define NON_COMPUTE_ONLY(S, L)
 
#define ES2_ONLY(S, L)
 
#define ES3_OR_NEWER(TOKEN, LINE, REASON)
 
#define ES3_1_ONLY(TOKEN, LINE, REASON)
 
#define YYSIZE_T   size_t
 
#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)
 
#define YY_(Msgid)   Msgid
 
#define YY_ATTRIBUTE(Spec)   /* empty */
 
#define YY_ATTRIBUTE_PURE   YY_ATTRIBUTE ((__pure__))
 
#define YY_ATTRIBUTE_UNUSED   YY_ATTRIBUTE ((__unused__))
 
#define _Noreturn   YY_ATTRIBUTE ((__noreturn__))
 
#define YYUSE(E)   ((void) (E))
 
#define YY_INITIAL_VALUE(Value)   Value
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_END
 
#define YYSTACK_ALLOC   YYMALLOC
 
#define YYSTACK_FREE   YYFREE
 
#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM
 
#define YYMALLOC   malloc
 
#define YYFREE   free
 
#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)
 
#define YYSTACK_BYTES(N)
 
#define YYCOPY_NEEDED   1
 
#define YYSTACK_RELOCATE(Stack_alloc, Stack)
 
#define YYCOPY(Dst, Src, Count)
 
#define YYFINAL   109
 
#define YYLAST   2432
 
#define YYNTOKENS   128
 
#define YYNNTS   94
 
#define YYNRULES   269
 
#define YYNSTATES   405
 
#define YYUNDEFTOK   2
 
#define YYMAXUTOK   382
 
#define YYTRANSLATE(YYX)   ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
 
#define YYPACT_NINF   -348
 
#define yypact_value_is_default(Yystate)   (!!((Yystate) == (-348)))
 
#define YYTABLE_NINF   -229
 
#define yytable_value_is_error(Yytable_value)   0
 
#define yyerrok   (yyerrstatus = 0)
 
#define yyclearin   (yychar = YYEMPTY)
 
#define YYEMPTY   (-2)
 
#define YYEOF   0
 
#define YYACCEPT   goto yyacceptlab
 
#define YYABORT   goto yyabortlab
 
#define YYERROR   goto yyerrorlab
 
#define YYRECOVERING()   (!!yyerrstatus)
 
#define YYBACKUP(Token, Value)
 
#define YYTERROR   1
 
#define YYERRCODE   256
 
#define YYRHSLOC(Rhs, K)   ((Rhs)[K])
 
#define YYDPRINTF(Args)
 
#define YY_SYMBOL_PRINT(Title, Type, Value, Location)
 
#define YY_STACK_PRINT(Bottom, Top)
 
#define YY_REDUCE_PRINT(Rule)
 
#define YYINITDEPTH   200
 
#define YYMAXDEPTH   10000
 
#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N), yylsp -= (N))
 

Typedefs

typedef union YYSTYPE YYSTYPE
 
typedef unsigned char yytype_uint8
 
typedef signed char yytype_int8
 
typedef unsigned short int yytype_uint16
 
typedef short int yytype_int16
 

Enumerations

enum  yytokentype {
  TOK_CONST_INT = 258, TOK_IDENTIFIER = 259, TOK_OP_OR = 260, TOK_OP_AND = 261,
  TOK_OP_EQ = 262, TOK_OP_NE = 263, TOK_OP_LE = 264, TOK_OP_GE = 265,
  TOK_OP_LEFT = 266, TOK_OP_RIGHT = 267, TOK_UNARY = 268, INVARIANT = 258,
  HIGH_PRECISION = 259, MEDIUM_PRECISION = 260, LOW_PRECISION = 261, PRECISION = 262,
  ATTRIBUTE = 263, CONST_QUAL = 264, BOOL_TYPE = 265, FLOAT_TYPE = 266,
  INT_TYPE = 267, UINT_TYPE = 268, BREAK = 269, CONTINUE = 270,
  DO = 271, ELSE = 272, FOR = 273, IF = 274,
  DISCARD = 275, RETURN = 276, SWITCH = 277, CASE = 278,
  DEFAULT = 279, BVEC2 = 280, BVEC3 = 281, BVEC4 = 282,
  IVEC2 = 283, IVEC3 = 284, IVEC4 = 285, VEC2 = 286,
  VEC3 = 287, VEC4 = 288, UVEC2 = 289, UVEC3 = 290,
  UVEC4 = 291, MATRIX2 = 292, MATRIX3 = 293, MATRIX4 = 294,
  IN_QUAL = 295, OUT_QUAL = 296, INOUT_QUAL = 297, UNIFORM = 298,
  VARYING = 299, MATRIX2x3 = 300, MATRIX3x2 = 301, MATRIX2x4 = 302,
  MATRIX4x2 = 303, MATRIX3x4 = 304, MATRIX4x3 = 305, CENTROID = 306,
  FLAT = 307, SMOOTH = 308, STRUCT = 309, VOID_TYPE = 310,
  WHILE = 311, SAMPLER2D = 312, SAMPLERCUBE = 313, SAMPLER_EXTERNAL_OES = 314,
  SAMPLER2DRECT = 315, SAMPLER2DARRAY = 316, ISAMPLER2D = 317, ISAMPLER3D = 318,
  ISAMPLERCUBE = 319, ISAMPLER2DARRAY = 320, USAMPLER2D = 321, USAMPLER3D = 322,
  USAMPLERCUBE = 323, USAMPLER2DARRAY = 324, SAMPLER3D = 325, SAMPLER3DRECT = 326,
  SAMPLER2DSHADOW = 327, SAMPLERCUBESHADOW = 328, SAMPLER2DARRAYSHADOW = 329, LAYOUT = 330,
  IDENTIFIER = 331, TYPE_NAME = 332, FLOATCONSTANT = 333, INTCONSTANT = 334,
  UINTCONSTANT = 335, BOOLCONSTANT = 336, FIELD_SELECTION = 337, LEFT_OP = 338,
  RIGHT_OP = 339, INC_OP = 340, DEC_OP = 341, LE_OP = 342,
  GE_OP = 343, EQ_OP = 344, NE_OP = 345, AND_OP = 346,
  OR_OP = 347, XOR_OP = 348, MUL_ASSIGN = 349, DIV_ASSIGN = 350,
  ADD_ASSIGN = 351, MOD_ASSIGN = 352, LEFT_ASSIGN = 353, RIGHT_ASSIGN = 354,
  AND_ASSIGN = 355, XOR_ASSIGN = 356, OR_ASSIGN = 357, SUB_ASSIGN = 358,
  LEFT_PAREN = 359, RIGHT_PAREN = 360, LEFT_BRACKET = 361, RIGHT_BRACKET = 362,
  LEFT_BRACE = 363, RIGHT_BRACE = 364, DOT = 365, COMMA = 366,
  COLON = 367, EQUAL = 368, SEMICOLON = 369, BANG = 370,
  DASH = 371, TILDE = 372, PLUS = 373, STAR = 374,
  SLASH = 375, PERCENT = 376, LEFT_ANGLE = 377, RIGHT_ANGLE = 378,
  VERTICAL_BAR = 379, CARET = 380, AMPERSAND = 381, QUESTION = 382,
  INVARIANT = 258, HIGH_PRECISION = 259, MEDIUM_PRECISION = 260, LOW_PRECISION = 261,
  PRECISION = 262, ATTRIBUTE = 263, CONST_QUAL = 264, BOOL_TYPE = 265,
  FLOAT_TYPE = 266, INT_TYPE = 267, UINT_TYPE = 268, BREAK = 269,
  CONTINUE = 270, DO = 271, ELSE = 272, FOR = 273,
  IF = 274, DISCARD = 275, RETURN = 276, SWITCH = 277,
  CASE = 278, DEFAULT = 279, BVEC2 = 280, BVEC3 = 281,
  BVEC4 = 282, IVEC2 = 283, IVEC3 = 284, IVEC4 = 285,
  VEC2 = 286, VEC3 = 287, VEC4 = 288, UVEC2 = 289,
  UVEC3 = 290, UVEC4 = 291, MATRIX2 = 292, MATRIX3 = 293,
  MATRIX4 = 294, IN_QUAL = 295, OUT_QUAL = 296, INOUT_QUAL = 297,
  UNIFORM = 298, VARYING = 299, MATRIX2x3 = 300, MATRIX3x2 = 301,
  MATRIX2x4 = 302, MATRIX4x2 = 303, MATRIX3x4 = 304, MATRIX4x3 = 305,
  CENTROID = 306, FLAT = 307, SMOOTH = 308, STRUCT = 309,
  VOID_TYPE = 310, WHILE = 311, SAMPLER2D = 312, SAMPLERCUBE = 313,
  SAMPLER_EXTERNAL_OES = 314, SAMPLER2DRECT = 315, SAMPLER2DARRAY = 316, ISAMPLER2D = 317,
  ISAMPLER3D = 318, ISAMPLERCUBE = 319, ISAMPLER2DARRAY = 320, USAMPLER2D = 321,
  USAMPLER3D = 322, USAMPLERCUBE = 323, USAMPLER2DARRAY = 324, SAMPLER3D = 325,
  SAMPLER3DRECT = 326, SAMPLER2DSHADOW = 327, SAMPLERCUBESHADOW = 328, SAMPLER2DARRAYSHADOW = 329,
  LAYOUT = 330, IDENTIFIER = 331, TYPE_NAME = 332, FLOATCONSTANT = 333,
  INTCONSTANT = 334, UINTCONSTANT = 335, BOOLCONSTANT = 336, FIELD_SELECTION = 337,
  LEFT_OP = 338, RIGHT_OP = 339, INC_OP = 340, DEC_OP = 341,
  LE_OP = 342, GE_OP = 343, EQ_OP = 344, NE_OP = 345,
  AND_OP = 346, OR_OP = 347, XOR_OP = 348, MUL_ASSIGN = 349,
  DIV_ASSIGN = 350, ADD_ASSIGN = 351, MOD_ASSIGN = 352, LEFT_ASSIGN = 353,
  RIGHT_ASSIGN = 354, AND_ASSIGN = 355, XOR_ASSIGN = 356, OR_ASSIGN = 357,
  SUB_ASSIGN = 358, LEFT_PAREN = 359, RIGHT_PAREN = 360, LEFT_BRACKET = 361,
  RIGHT_BRACKET = 362, LEFT_BRACE = 363, RIGHT_BRACE = 364, DOT = 365,
  COMMA = 366, COLON = 367, EQUAL = 368, SEMICOLON = 369,
  BANG = 370, DASH = 371, TILDE = 372, PLUS = 373,
  STAR = 374, SLASH = 375, PERCENT = 376, LEFT_ANGLE = 377,
  RIGHT_ANGLE = 378, VERTICAL_BAR = 379, CARET = 380, AMPERSAND = 381,
  QUESTION = 382, MULOP = 258, RELOP = 259, EQOP = 260,
  MINUS = 261, PLUS = 262, AND = 263, OR = 264,
  FUNCTIONNAME = 265, LITERAL = 266, NAMETEST = 267, NUMBER = 268,
  NODETYPE = 269, VARIABLEREFERENCE = 270, AXISNAME = 271, COMMENT = 272,
  DOTDOT = 273, PI = 274, NODE = 275, SLASHSLASH = 276,
  TEXT_ = 277, XPATH_ERROR = 278, MULOP = 258, RELOP = 259,
  EQOP = 260, MINUS = 261, PLUS = 262, AND = 263,
  OR = 264, FUNCTIONNAME = 265, LITERAL = 266, NAMETEST = 267,
  NUMBER = 268, NODETYPE = 269, VARIABLEREFERENCE = 270, AXISNAME = 271,
  COMMENT = 272, DOTDOT = 273, PI = 274, NODE = 275,
  SLASHSLASH = 276, TEXT_ = 277, XPATH_ERROR = 278
}
 

Functions

int yyparse (TParseContext *context, void *scanner)
 
int yylex (YYSTYPE *yylval, YYLTYPE *yylloc, void *yyscanner)
 
void yyerror (YYLTYPE *yylloc, TParseContext *context, void *scanner, const char *reason)
 
voidmalloc (YYSIZE_T)
 
void free (void *)
 
int glslang_parse (TParseContext *context)
 

Macro Definition Documentation

◆ _Noreturn

#define _Noreturn   YY_ATTRIBUTE ((__noreturn__))

◆ COMPUTE_ONLY

#define COMPUTE_ONLY (   S,
 
)
Value:
{ \
if (context->getShaderType() != GL_COMPUTE_SHADER) { \
context->error(L, " supported in compute shaders only ", S); \
} \
}
#define GL_COMPUTE_SHADER
Definition: gl31.h:1207
#define S(x)
Definition: audio_encoder_isac_unittest.cc:32
U_CDECL_BEGIN typedef void * context
Definition: ustring.h:1023

◆ ES2_ONLY

#define ES2_ONLY (   S,
 
)
Value:
{ \
if (context->getShaderVersion() != 100) { \
context->error(L, " supported in GLSL ES 1.00 only ", S); \
} \
}
#define S(x)
Definition: audio_encoder_isac_unittest.cc:32
U_CDECL_BEGIN typedef void * context
Definition: ustring.h:1023

◆ ES3_1_ONLY

#define ES3_1_ONLY (   TOKEN,
  LINE,
  REASON 
)
Value:
{ \
if (context->getShaderVersion() != 310) { \
context->error(LINE, REASON " supported in GLSL ES 3.10 only ", TOKEN); \
} \
}
U_CDECL_BEGIN typedef void * context
Definition: ustring.h:1023

◆ ES3_OR_NEWER

#define ES3_OR_NEWER (   TOKEN,
  LINE,
  REASON 
)
Value:
{ \
if (context->getShaderVersion() < 300) { \
context->error(LINE, REASON " supported in GLSL ES 3.00 and above only ", TOKEN); \
} \
}
U_CDECL_BEGIN typedef void * context
Definition: ustring.h:1023

◆ FRAG_ONLY

#define FRAG_ONLY (   S,
 
)
Value:
{ \
if (context->getShaderType() != GL_FRAGMENT_SHADER) { \
context->error(L, " supported in fragment shaders only ", S); \
} \
}
#define GL_FRAGMENT_SHADER
Definition: gl2.h:217
#define S(x)
Definition: audio_encoder_isac_unittest.cc:32
U_CDECL_BEGIN typedef void * context
Definition: ustring.h:1023

◆ NON_COMPUTE_ONLY

#define NON_COMPUTE_ONLY (   S,
 
)
Value:
{ \
if (context->getShaderType() != GL_VERTEX_SHADER && context->getShaderType() != GL_FRAGMENT_SHADER) { \
context->error(L, " supported in vertex and fragment shaders only ", S); \
} \
}
#define GL_FRAGMENT_SHADER
Definition: gl2.h:217
#define S(x)
Definition: audio_encoder_isac_unittest.cc:32
U_CDECL_BEGIN typedef void * context
Definition: ustring.h:1023
#define GL_VERTEX_SHADER
Definition: gl2.h:218

◆ VERTEX_ONLY

#define VERTEX_ONLY (   S,
 
)
Value:
{ \
if (context->getShaderType() != GL_VERTEX_SHADER) { \
context->error(L, " supported in vertex shaders only ", S); \
} \
}
#define S(x)
Definition: audio_encoder_isac_unittest.cc:32
U_CDECL_BEGIN typedef void * context
Definition: ustring.h:1023
#define GL_VERTEX_SHADER
Definition: gl2.h:218

◆ YY_

#define YY_ (   Msgid)    Msgid

◆ YY_ATTRIBUTE

#define YY_ATTRIBUTE (   Spec)    /* empty */

◆ YY_ATTRIBUTE_PURE

#define YY_ATTRIBUTE_PURE   YY_ATTRIBUTE ((__pure__))

◆ YY_ATTRIBUTE_UNUSED

#define YY_ATTRIBUTE_UNUSED   YY_ATTRIBUTE ((__unused__))

◆ YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

◆ YY_IGNORE_MAYBE_UNINITIALIZED_END

#define YY_IGNORE_MAYBE_UNINITIALIZED_END

◆ YY_INITIAL_VALUE

#define YY_INITIAL_VALUE (   Value)    Value

◆ YY_NULLPTR

#define YY_NULLPTR   0

◆ YY_REDUCE_PRINT

#define YY_REDUCE_PRINT (   Rule)

◆ YY_STACK_PRINT

#define YY_STACK_PRINT (   Bottom,
  Top 
)

◆ YY_SYMBOL_PRINT

#define YY_SYMBOL_PRINT (   Title,
  Type,
  Value,
  Location 
)

◆ YY_YY_GLSLANG_TAB_H_INCLUDED

#define YY_YY_GLSLANG_TAB_H_INCLUDED

◆ YYABORT

#define YYABORT   goto yyabortlab

◆ YYACCEPT

#define YYACCEPT   goto yyacceptlab

◆ YYBACKUP

#define YYBACKUP (   Token,
  Value 
)
Value:
{ \
yychar = (Token); \
yylval = (Value); \
YYPOPSTACK (yylen); \
yystate = *yyssp; \
goto yybackup; \
} \
else \
{ \
yyerror (&yylloc, context, scanner, YY_("syntax error: cannot back up")); \
YYERROR; \
} \
while (0)
yychar
Definition: XPathGrammar.cpp:1475
#define yylloc
Definition: Tokenizer.cpp:853
#define YYEMPTY
Definition: glslang_tab.cpp:1582
Token
Definition: InspectorValues.cpp:45
if(!isset( $GET[ 'random_id']))
Definition: cacheable-random-text.php:7
GenericValue< UTF8<> > Value
GenericValue with UTF8 encoding.
Definition: document.h:1613
yytype_int16 * yyssp
Definition: XPathGrammar.cpp:1448
#define YY_(Msgid)
Definition: glslang_tab.cpp:460
int yylen
Definition: XPathGrammar.cpp:1468
goto yybackup
Definition: XPathGrammar.cpp:1565
U_CDECL_BEGIN typedef void * context
Definition: ustring.h:1023

◆ YYBISON

#define YYBISON   1

◆ YYBISON_VERSION

#define YYBISON_VERSION   "3.0.4"

◆ yyclearin

#define yyclearin   (yychar = YYEMPTY)

◆ YYCOPY

#define YYCOPY (   Dst,
  Src,
  Count 
)
Value:
do \
{ \
YYSIZE_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(Dst)[yyi] = (Src)[yyi]; \
} \
while (0)

◆ YYCOPY_NEEDED

#define YYCOPY_NEEDED   1

◆ YYDEBUG

#define YYDEBUG   0

◆ YYDPRINTF

#define YYDPRINTF (   Args)

◆ YYEMPTY

#define YYEMPTY   (-2)

◆ YYENABLE_NLS

#define YYENABLE_NLS   0

◆ YYEOF

#define YYEOF   0

◆ YYERRCODE

#define YYERRCODE   256

◆ yyerrok

#define yyerrok   (yyerrstatus = 0)

◆ YYERROR

#define YYERROR   goto yyerrorlab

◆ YYERROR_VERBOSE

#define YYERROR_VERBOSE   0

◆ YYFINAL

#define YYFINAL   109

◆ YYFREE

#define YYFREE   free

◆ YYINITDEPTH

#define YYINITDEPTH   200

◆ YYLAST

#define YYLAST   2432

◆ YYLLOC_DEFAULT

#define YYLLOC_DEFAULT (   Current,
  Rhs,
  N 
)
Value:
do { \
if (N) { \
(Current).first_file = YYRHSLOC(Rhs, 1).first_file; \
(Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
(Current).last_file = YYRHSLOC(Rhs, N).last_file; \
(Current).last_line = YYRHSLOC(Rhs, N).last_line; \
} \
else { \
(Current).first_file = YYRHSLOC(Rhs, 0).last_file; \
(Current).first_line = YYRHSLOC(Rhs, 0).last_line; \
(Current).last_file = YYRHSLOC(Rhs, 0).last_file; \
(Current).last_line = YYRHSLOC(Rhs, 0).last_line; \
} \
} while (0)
#define YYRHSLOC(Rhs, K)
Definition: glslang_tab.cpp:1638
#define N
Definition: gcc-loops.cpp:14

◆ YYLTYPE

#define YYLTYPE   TSourceLoc

◆ YYLTYPE_IS_DECLARED

#define YYLTYPE_IS_DECLARED   1

◆ YYMALLOC

#define YYMALLOC   malloc

◆ YYMAXDEPTH

#define YYMAXDEPTH   10000

◆ YYMAXUTOK

#define YYMAXUTOK   382

◆ YYNNTS

#define YYNNTS   94

◆ YYNRULES

#define YYNRULES   269

◆ YYNSTATES

#define YYNSTATES   405

◆ YYNTOKENS

#define YYNTOKENS   128

◆ YYPACT_NINF

#define YYPACT_NINF   -348

◆ yypact_value_is_default

#define yypact_value_is_default (   Yystate)    (!!((Yystate) == (-348)))

◆ YYPOPSTACK

#define YYPOPSTACK (   N)    (yyvsp -= (N), yyssp -= (N), yylsp -= (N))

◆ YYPULL

#define YYPULL   1

◆ YYPURE

#define YYPURE   2

◆ YYPUSH

#define YYPUSH   0

◆ YYRECOVERING

#define YYRECOVERING ( )    (!!yyerrstatus)

◆ YYRHSLOC

#define YYRHSLOC (   Rhs,
  K 
)    ((Rhs)[K])

◆ YYSIZE_MAXIMUM

#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)

◆ YYSIZE_T

#define YYSIZE_T   size_t

◆ YYSKELETON_NAME

#define YYSKELETON_NAME   "yacc.c"

◆ YYSTACK_ALLOC

#define YYSTACK_ALLOC   YYMALLOC

◆ YYSTACK_ALLOC_MAXIMUM

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

◆ YYSTACK_BYTES

#define YYSTACK_BYTES (   N)
Value:
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \
#define YYSTACK_GAP_MAXIMUM
Definition: glslang_tab.cpp:600
union YYSTYPE YYSTYPE
Definition: glslang_tab.cpp:318
short int yytype_int16
Definition: ExpressionParser.cpp:232
#define N
Definition: gcc-loops.cpp:14
Definition: SourceLocation.h:13

◆ YYSTACK_FREE

#define YYSTACK_FREE   YYFREE

◆ YYSTACK_GAP_MAXIMUM

#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)

◆ YYSTACK_RELOCATE

#define YYSTACK_RELOCATE (   Stack_alloc,
  Stack 
)
Value:
do \
{ \
YYSIZE_T yynewbytes; \
YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
Stack = &yyptr->Stack_alloc; \
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / sizeof (*yyptr); \
} \
while (0)
#define YYSTACK_GAP_MAXIMUM
Definition: glslang_tab.cpp:600
YYSIZE_T yystacksize
Definition: XPathGrammar.cpp:1459

◆ YYSTYPE_IS_DECLARED

#define YYSTYPE_IS_DECLARED   1

◆ YYSTYPE_IS_TRIVIAL

#define YYSTYPE_IS_TRIVIAL   1

◆ YYTABLE_NINF

#define YYTABLE_NINF   -229

◆ yytable_value_is_error

#define yytable_value_is_error (   Yytable_value)    0

◆ YYTERROR

#define YYTERROR   1

◆ YYTOKENTYPE

#define YYTOKENTYPE

◆ YYTRANSLATE

#define YYTRANSLATE (   YYX)    ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)

◆ YYUNDEFTOK

#define YYUNDEFTOK   2

◆ YYUSE

#define YYUSE (   E)    ((void) (E))

Typedef Documentation

◆ YYSTYPE

◆ yytype_int16

typedef short int yytype_int16

◆ yytype_int8

typedef signed char yytype_int8

◆ yytype_uint16

typedef unsigned short int yytype_uint16

◆ yytype_uint8

typedef unsigned char yytype_uint8

Enumeration Type Documentation

◆ yytokentype

Enumerator
TOK_CONST_INT 
TOK_IDENTIFIER 
TOK_OP_OR 
TOK_OP_AND 
TOK_OP_EQ 
TOK_OP_NE 
TOK_OP_LE 
TOK_OP_GE 
TOK_OP_LEFT 
TOK_OP_RIGHT 
TOK_UNARY 
INVARIANT 
HIGH_PRECISION 
MEDIUM_PRECISION 
LOW_PRECISION 
PRECISION 
ATTRIBUTE 
CONST_QUAL 
BOOL_TYPE 
FLOAT_TYPE 
INT_TYPE 
UINT_TYPE 
BREAK 
CONTINUE 
DO 
ELSE 
FOR 
IF 
DISCARD 
RETURN 
SWITCH 
CASE 
DEFAULT 
BVEC2 
BVEC3 
BVEC4 
IVEC2 
IVEC3 
IVEC4 
VEC2 
VEC3 
VEC4 
UVEC2 
UVEC3 
UVEC4 
MATRIX2 
MATRIX3 
MATRIX4 
IN_QUAL 
OUT_QUAL 
INOUT_QUAL 
UNIFORM 
VARYING 
MATRIX2x3 
MATRIX3x2 
MATRIX2x4 
MATRIX4x2 
MATRIX3x4 
MATRIX4x3 
CENTROID 
FLAT 
SMOOTH 
STRUCT 
VOID_TYPE 
WHILE 
SAMPLER2D 
SAMPLERCUBE 
SAMPLER_EXTERNAL_OES 
SAMPLER2DRECT 
SAMPLER2DARRAY 
ISAMPLER2D 
ISAMPLER3D 
ISAMPLERCUBE 
ISAMPLER2DARRAY 
USAMPLER2D 
USAMPLER3D 
USAMPLERCUBE 
USAMPLER2DARRAY 
SAMPLER3D 
SAMPLER3DRECT 
SAMPLER2DSHADOW 
SAMPLERCUBESHADOW 
SAMPLER2DARRAYSHADOW 
LAYOUT 
IDENTIFIER 
TYPE_NAME 
FLOATCONSTANT 
INTCONSTANT 
UINTCONSTANT 
BOOLCONSTANT 
FIELD_SELECTION 
LEFT_OP 
RIGHT_OP 
INC_OP 
DEC_OP 
LE_OP 
GE_OP 
EQ_OP 
NE_OP 
AND_OP 
OR_OP 
XOR_OP 
MUL_ASSIGN 
DIV_ASSIGN 
ADD_ASSIGN 
MOD_ASSIGN 
LEFT_ASSIGN 
RIGHT_ASSIGN 
AND_ASSIGN 
XOR_ASSIGN 
OR_ASSIGN 
SUB_ASSIGN 
LEFT_PAREN 
RIGHT_PAREN 
LEFT_BRACKET 
RIGHT_BRACKET 
LEFT_BRACE 
RIGHT_BRACE 
DOT 
COMMA 
COLON 
EQUAL 
SEMICOLON 
BANG 
DASH 
TILDE 
PLUS 
STAR 
SLASH 
PERCENT 
LEFT_ANGLE 
RIGHT_ANGLE 
VERTICAL_BAR 
CARET 
AMPERSAND 
QUESTION 
INVARIANT 
HIGH_PRECISION 
MEDIUM_PRECISION 
LOW_PRECISION 
PRECISION 
ATTRIBUTE 
CONST_QUAL 
BOOL_TYPE 
FLOAT_TYPE 
INT_TYPE 
UINT_TYPE 
BREAK 
CONTINUE 
DO 
ELSE 
FOR 
IF 
DISCARD 
RETURN 
SWITCH 
CASE 
DEFAULT 
BVEC2 
BVEC3 
BVEC4 
IVEC2 
IVEC3 
IVEC4 
VEC2 
VEC3 
VEC4 
UVEC2 
UVEC3 
UVEC4 
MATRIX2 
MATRIX3 
MATRIX4 
IN_QUAL 
OUT_QUAL 
INOUT_QUAL 
UNIFORM 
VARYING 
MATRIX2x3 
MATRIX3x2 
MATRIX2x4 
MATRIX4x2 
MATRIX3x4 
MATRIX4x3 
CENTROID 
FLAT 
SMOOTH 
STRUCT 
VOID_TYPE 
WHILE 
SAMPLER2D 
SAMPLERCUBE 
SAMPLER_EXTERNAL_OES 
SAMPLER2DRECT 
SAMPLER2DARRAY 
ISAMPLER2D 
ISAMPLER3D 
ISAMPLERCUBE 
ISAMPLER2DARRAY 
USAMPLER2D 
USAMPLER3D 
USAMPLERCUBE 
USAMPLER2DARRAY 
SAMPLER3D 
SAMPLER3DRECT 
SAMPLER2DSHADOW 
SAMPLERCUBESHADOW 
SAMPLER2DARRAYSHADOW 
LAYOUT 
IDENTIFIER 
TYPE_NAME 
FLOATCONSTANT 
INTCONSTANT 
UINTCONSTANT 
BOOLCONSTANT 
FIELD_SELECTION 
LEFT_OP 
RIGHT_OP 
INC_OP 
DEC_OP 
LE_OP 
GE_OP 
EQ_OP 
NE_OP 
AND_OP 
OR_OP 
XOR_OP 
MUL_ASSIGN 
DIV_ASSIGN 
ADD_ASSIGN 
MOD_ASSIGN 
LEFT_ASSIGN 
RIGHT_ASSIGN 
AND_ASSIGN 
XOR_ASSIGN 
OR_ASSIGN 
SUB_ASSIGN 
LEFT_PAREN 
RIGHT_PAREN 
LEFT_BRACKET 
RIGHT_BRACKET 
LEFT_BRACE 
RIGHT_BRACE 
DOT 
COMMA 
COLON 
EQUAL 
SEMICOLON 
BANG 
DASH 
TILDE 
PLUS 
STAR 
SLASH 
PERCENT 
LEFT_ANGLE 
RIGHT_ANGLE 
VERTICAL_BAR 
CARET 
AMPERSAND 
QUESTION 
MULOP 
RELOP 
EQOP 
MINUS 
PLUS 
AND 
OR 
FUNCTIONNAME 
LITERAL 
NAMETEST 
NUMBER 
NODETYPE 
VARIABLEREFERENCE 
AXISNAME 
COMMENT 
DOTDOT 
PI 
NODE 
SLASHSLASH 
TEXT_ 
XPATH_ERROR 
MULOP 
RELOP 
EQOP 
MINUS 
PLUS 
AND 
OR 
FUNCTIONNAME 
LITERAL 
NAMETEST 
NUMBER 
NODETYPE 
VARIABLEREFERENCE 
AXISNAME 
COMMENT 
DOTDOT 
PI 
NODE 
SLASHSLASH 
TEXT_ 
XPATH_ERROR 

Function Documentation

◆ free()

void free ( void )
inline

◆ glslang_parse()

int glslang_parse ( TParseContext context)

◆ malloc()

void* malloc ( YYSIZE_T  )

◆ yyerror()

void yyerror ( YYLTYPE yylloc,
TParseContext context,
void scanner,
const char *  reason 
)

◆ yylex()

int yylex ( YYSTYPE yylval,
YYLTYPE yylloc,
void yyscanner 
)

◆ yyparse()

int yyparse ( TParseContext context,
void scanner 
)