lshParser.tab.h
1 /* A Bison parser, made by GNU Bison 3.0.2. */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
6 
7  This program is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program. If not, see <http://www.gnu.org/licenses/>. */
19 
20 /* As a special exception, you may create a larger work that contains
21  part or all of the Bison parser skeleton and distribute that work
22  under terms of your choice, so long as that work isn't itself a
23  parser generator using the skeleton or a modified version thereof
24  as a parser skeleton. Alternatively, if you modify or redistribute
25  the parser skeleton itself, you may (at your option) remove this
26  special exception, which will cause the skeleton and the resulting
27  Bison output files to be licensed under the GNU General Public
28  License without this special exception.
29 
30  This special exception was added by the Free Software Foundation in
31  version 2.2 of Bison. */
32 
33 #ifndef YY_YY_LSHPARSER_TAB_H_INCLUDED
34 # define YY_YY_LSHPARSER_TAB_H_INCLUDED
35 /* Debug traces. */
36 #ifndef YYDEBUG
37 # define YYDEBUG 0
38 #endif
39 #if YYDEBUG
40 extern int yydebug;
41 #endif
42 
43 /* Token type. */
44 #ifndef YYTOKENTYPE
45 # define YYTOKENTYPE
46  enum yytokentype
47  {
48  NUM = 258,
49  SNUM = 259,
50  REXP = 260,
51  STR = 261,
52  NULLTOKEN = 262,
53  TRUE = 263,
54  FALSE = 264,
55  ID = 265,
56  OP = 266,
57  PRINT = 267,
58  INC = 268,
59  DEC = 269,
60  NAMESPACE = 270,
61  INCLUDE = 271,
62  GLOBAL = 272,
63  ISNULL = 273,
64  EQL = 274,
65  AND_OP = 275,
66  OR_OP = 276,
67  FUNCTION = 277,
68  PARTIALFUNC = 278,
69  RET = 279,
70  DECORATOR = 280,
71  CONTEXTFUNC = 281,
72  CLASS = 282,
73  NEW = 283,
74  CLASSACCESS = 284,
75  THIS = 285,
76  PARENT = 286,
77  PRIVATE = 287,
78  STATIC = 288,
79  EXTENDS = 289,
80  IF = 290,
81  ELSE = 291,
82  ELSEIF = 292,
83  WITH = 293,
84  DO = 294,
85  WHILE = 295,
86  AS = 296,
87  OPINC = 297,
88  FOR = 298,
89  IN = 299,
90  GOTO = 300,
91  SWITCH = 301,
92  CASE = 302,
93  DEFAULT = 303,
94  TYPEOF = 304,
95  SIZEOF = 305,
96  DATINFO = 306,
97  BREAK = 307,
98  EXIT = 308,
99  SIZE = 309,
100  EMPTY = 310,
101  CONTINUE = 311,
102  TRY = 312,
103  CATCH = 313,
104  THROW = 314,
105  FLOW = 315,
106  ADDASIG = 316,
107  SUBASIG = 317,
108  PRODASIG = 318,
109  DIVASIG = 319,
110  POWASIG = 320,
111  MODASIG = 321,
112  CATASIG = 322,
113  IDEN = 323,
114  NIDEN = 324,
115  EXPLODE = 325,
116  IMPLODE = 326,
117  SPRINTF = 327,
118  FIND = 328,
119  REPLACE = 329,
120  SUBREPLACE = 330,
121  UPPER = 331,
122  LOWER = 332,
123  DATE = 333,
124  TIME = 334,
125  SLEEP = 335,
126  GETENV = 336,
127  REDUCE = 337,
128  FTOKEN = 338,
129  FPUT = 339,
130  FGET = 340,
131  FSEEK = 341,
132  FEND = 342,
133  FCUR = 343,
134  FSET = 344,
135  FTELL = 345,
136  FCLOSE = 346,
137  FREAD = 347,
138  FWRITE = 348,
139  FAPP = 349,
140  FORK = 350,
141  WAIT = 351,
142  GETPID = 352,
143  GETPPID = 353,
144  PROCESSTOKEN = 354,
145  EXITPROCESS = 355,
146  SIGNAL = 356,
147  SHANDLER = 357,
148  INPUT = 358,
149  INPUTLINE = 359,
150  MATCH = 360,
151  REGEXP = 361,
152  SEARCH = 362,
153  EXEC = 363,
154  EVAL = 364,
155  ARRAYCHUNK = 365,
156  LOAD_MODULE = 366,
157  DEF = 367,
158  CDATA = 368,
159  DDATA = 369,
160  SDATA = 370,
161  REFDEF = 371,
162  REFREL = 372,
163  FROM = 373,
164  EXIST = 374,
165  IDDEF = 375,
166  LIKE = 376,
167  CINT = 377,
168  CFLOAT = 378,
169  CBOOL = 379,
170  CSTR = 380
171  };
172 #endif
173 
174 /* Value type. */
175 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
176 typedef union YYSTYPE YYSTYPE;
177 union YYSTYPE
178 {
179 #line 64 "lshParser.y" /* yacc.c:1909 */
180 
181  num* fval;
182  string* str;
183  idNode* idnode;
184  listNode* listnode;
185  runNode* data;
186  runNode** ref;
187  vector<string>* mval;
188 
189 #line 190 "lshParser.tab.h" /* yacc.c:1909 */
190 };
191 # define YYSTYPE_IS_TRIVIAL 1
192 # define YYSTYPE_IS_DECLARED 1
193 #endif
194 
195 /* Location type. */
196 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
197 typedef struct YYLTYPE YYLTYPE;
198 struct YYLTYPE
199 {
200  int first_line;
201  int first_column;
202  int last_line;
203  int last_column;
204 };
205 # define YYLTYPE_IS_DECLARED 1
206 # define YYLTYPE_IS_TRIVIAL 1
207 #endif
208 
209 
210 extern YYSTYPE yylval;
211 extern YYLTYPE yylloc;
212 int yyparse (void);
213 
214 #endif /* !YY_YY_LSHPARSER_TAB_H_INCLUDED */
Nodo identificador.
Definition: idNode.h:59
Nodo lista de elementos.
Definition: typeNode.h:294
Nodo ejecutable.
Definition: runTree.h:123