Debian Codegraph @

src/3rdparty/javascriptcore/JavaScriptCore/generated/Grammar.h

raw symbols SCIP
1
2 /* A Bison parser, made by GNU Bison 2.4.1. */
3
4 /* Skeleton interface for Bison's Yacc-like parsers in C
5
6 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
7 Free Software Foundation, Inc.
8
9 This program is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>. */
21
22 /* As a special exception, you may create a larger work that contains
23 part or all of the Bison parser skeleton and distribute that work
24 under terms of your choice, so long as that work isn't itself a
25 parser generator using the skeleton or a modified version thereof
26 as a parser skeleton. Alternatively, if you modify or redistribute
27 the parser skeleton itself, you may (at your option) remove this
28 special exception, which will cause the skeleton and the resulting
29 Bison output files to be licensed under the GNU General Public
30 License without this special exception.
31
32 This special exception was added by the Free Software Foundation in
33 version 2.2 of Bison. */
34
35
36 /* Tokens. */
37 #ifndef YYTOKENTYPE
38 # define YYTOKENTYPEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/generated/Grammar.h:38:10`!
39 /* Put the tokens into the symbol table, so that GDB and other debuggers
40 know about them. */
41 enum yytokentypecxx . . $ yytokentype# {
42 NULLTOKENcxx . . $ NULLTOKEN. = 258,
43 TRUETOKENcxx . . $ TRUETOKEN. = 259,
44 FALSETOKENcxx . . $ FALSETOKEN. = 260,
45 BREAKcxx . . $ BREAK. = 261,
46 CASEcxx . . $ CASE. = 262,
47 DEFAULTcxx . . $ DEFAULT. = 263,
48 FORcxx . . $ FOR. = 264,
49 NEWcxx . . $ NEW. = 265,
50 VARcxx . . $ VAR. = 266,
51 CONSTTOKENcxx . . $ CONSTTOKEN. = 267,
52 CONTINUEcxx . . $ CONTINUE. = 268,
53 FUNCTIONcxx . . $ FUNCTION. = 269,
54 RETURNcxx . . $ RETURN. = 270,
55 VOIDTOKENcxx . . $ VOIDTOKEN. = 271,
56 DELETETOKENcxx . . $ DELETETOKEN. = 272,
57 IFcxx . . $ IF. = 273,
58 THISTOKENcxx . . $ THISTOKEN. = 274,
59 DOcxx . . $ DO. = 275,
60 WHILEcxx . . $ WHILE. = 276,
61 INTOKENcxx . . $ INTOKEN. = 277,
62 INSTANCEOFcxx . . $ INSTANCEOF. = 278,
63 TYPEOFcxx . . $ TYPEOF. = 279,
64 SWITCHcxx . . $ SWITCH. = 280,
65 WITHcxx . . $ WITH. = 281,
66 RESERVEDcxx . . $ RESERVED. = 282,
67 THROWcxx . . $ THROW. = 283,
68 TRYcxx . . $ TRY. = 284,
69 CATCHcxx . . $ CATCH. = 285,
70 FINALLYcxx . . $ FINALLY. = 286,
71 DEBUGGERcxx . . $ DEBUGGER. = 287,
72 IF_WITHOUT_ELSEcxx . . $ IF_WITHOUT_ELSE. = 288,
73 ELSEcxx . . $ ELSE. = 289,
74 EQEQcxx . . $ EQEQ. = 290,
75 NEcxx . . $ NE. = 291,
76 STREQcxx . . $ STREQ. = 292,
77 STRNEQcxx . . $ STRNEQ. = 293,
78 LEcxx . . $ LE. = 294,
79 GEcxx . . $ GE. = 295,
80 ORcxx . . $ OR. = 296,
81 ANDcxx . . $ AND. = 297,
82 PLUSPLUScxx . . $ PLUSPLUS. = 298,
83 MINUSMINUScxx . . $ MINUSMINUS. = 299,
84 LSHIFTcxx . . $ LSHIFT. = 300,
85 RSHIFTcxx . . $ RSHIFT. = 301,
86 URSHIFTcxx . . $ URSHIFT. = 302,
87 PLUSEQUALcxx . . $ PLUSEQUAL. = 303,
88 MINUSEQUALcxx . . $ MINUSEQUAL. = 304,
89 MULTEQUALcxx . . $ MULTEQUAL. = 305,
90 DIVEQUALcxx . . $ DIVEQUAL. = 306,
91 LSHIFTEQUALcxx . . $ LSHIFTEQUAL. = 307,
92 RSHIFTEQUALcxx . . $ RSHIFTEQUAL. = 308,
93 URSHIFTEQUALcxx . . $ URSHIFTEQUAL. = 309,
94 ANDEQUALcxx . . $ ANDEQUAL. = 310,
95 MODEQUALcxx . . $ MODEQUAL. = 311,
96 XOREQUALcxx . . $ XOREQUAL. = 312,
97 OREQUALcxx . . $ OREQUAL. = 313,
98 OPENBRACEcxx . . $ OPENBRACE. = 314,
99 CLOSEBRACEcxx . . $ CLOSEBRACE. = 315,
100 NUMBERcxx . . $ NUMBER. = 316,
101 IDENTcxx . . $ IDENT. = 317,
102 STRINGcxx . . $ STRING. = 318,
103 AUTOPLUSPLUScxx . . $ AUTOPLUSPLUS. = 319,
104 AUTOMINUSMINUScxx . . $ AUTOMINUSMINUS. = 320
105 };
106 #endif
107
108
109
110 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
111 typedef union YYSTYPEcxx . . $ YYSTYPE#
112 {
113
114 /* Line 1676 of yacc.c */
115 #line 146 "parser/Grammar.y"
116
117 int intValue;
118 double doubleValue;
119 const Identifier* ident;
120
121 // expression subtrees
122 ExpressionNodeInfo expressionNode;
123 FuncDeclNodeInfo funcDeclNode;
124 PropertyNodeInfo propertyNode;
125 ArgumentsNodeInfo argumentsNode;
126 ConstDeclNodeInfo constDeclNode;
127 CaseBlockNodeInfo caseBlockNode;
128 CaseClauseNodeInfo caseClauseNode;
129 FuncExprNodeInfo funcExprNode;
130
131 // statement nodes
132 StatementNodeInfo statementNode;
133 FunctionBodyNode* functionBodyNode;
134 ProgramNode* programNode;
135
136 SourceElementsInfo sourceElements;
137 PropertyListInfo propertyList;
138 ArgumentListInfo argumentList;
139 VarDeclListInfo varDeclList;
140 ConstDeclListInfo constDeclList;
141 ClauseListInfo clauseList;
142 ElementListInfo elementList;
143 ParameterListInfo parameterList;
144
145 Operator op;
146
147
148
149 /* Line 1676 of yacccxx . . $ QTJSC/Identifier#.c */cxx . . $ YYSTYPE#ident.
150 #line 151 "generated/Grammar.tab.h"
151 } YYSTYPEcxx . . $ YYSTYPE#;
152 # define cxx . . $ QTJSC/ExpressionNodeInfo#YYSTYPE_IS_TRcxx . . $ QTJSC/ExpressionNodeInfo#IVcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/generated/Grammar.h:152:10`!IALcxx . . $ YYSTYPE#expressionNode. 1cxx . . $ YYSTYPE#expressionNode.
153 # define cxx . . $ QTJSC/FuncDeclNodeInfo#yystypecxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/generated/Grammar.h:153:10`! YYScxx . . $ QTJSC/FuncDeclNodeInfo#TYPE /* obsolesccxx . . $ YYSTYPE#funcDeclNode.ent; will be withdrawn */
154 # define cxx . . $ QTJSC/PropertyNodeInfo#YYSTYPE_IS_cxx . . $ QTJSC/PropertyNodeInfo#DECLcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/generated/Grammar.h:154:10`!AREDcxx . . $ YYSTYPE#propertyNode. 1cxx . . $ YYSTYPE#propertyNode.
155 #endifcxx . . $ QTJSC/ArgumentsNodeInfo#
156
157
158
159 #if ! defined YYLTYPcxx . . $ QTJSC/FuncExprNodeInfo#E && ! defined Ycxx . . $ YYSTYPE#funcExprNode.YLTYPE_IS_DECLARED
160 typedef struct YYLTYPEcxx . . $ YYLTYPE#
161 {
162 int cxx . . $ QTJSC/StatementNodeInfo#first_linecxx . . $ YYLTYPE#first_line.;cxx . . $ QTJSC/StatementNodeInfo#
163 int cxx . . $ QTJSC/FunctionBodyNode#first_columncxx . . $ YYLTYPE#first_column.;cxx . . $ QTJSC/FunctionBodyNode#
164 int cxx . . $ QTJSC/ProgramNode#last_linecxx . . $ YYLTYPE#last_line.;
165 int last_columncxx . . $ YYLTYPE#last_column.;
166 } YYcxx . . $ YYLTYPE#LTYPEcxx . . $ QTJSC/SourceElementsInfo#;cxx . . $ QTJSC/SourceElementsInfo#
167 # define cxx . . $ QTJSC/PropertyListInfo#yyltypecxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/generated/Grammar.h:167:10`! YYLcxx . . $ QTJSC/PropertyListInfo#TYPE /* obsolesccxx . . $ YYSTYPE#propertyList.ent; will be withdrawn */
168 # define cxx . . $ QTJSC/ArgumentListInfo#YYLTYPE_IS_cxx . . $ QTJSC/ArgumentListInfo#DECLcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/generated/Grammar.h:168:10`!AREDcxx . . $ YYSTYPE#argumentList. 1cxx . . $ YYSTYPE#argumentList.
169 # define cxx . . $ QTJSC/VarDeclListInfo#YYLTYPE_IScxx . . $ QTJSC/VarDeclListInfo#_TRIVcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/generated/Grammar.h:169:10`!IALcxx . . $ YYSTYPE#varDeclList. 1cxx . . $ YYSTYPE#varDeclList.
170 #endifcxx . . $ QTJSC/ConstDeclListInfo#
171
172
173