Kannel: Open Source WAP and SMS gateway  $Revision: 5037 $
wsgram.h
Go to the documentation of this file.
1 /* A Bison parser, made by GNU Bison 2.3. */
2 
3 /* Skeleton interface for Bison's Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6  Free Software Foundation, Inc.
7 
8  This program is free software; you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation; either version 2, or (at your option)
11  any later version.
12 
13  This program is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with this program; if not, write to the Free Software
20  Foundation, Inc., 51 Franklin Street, Fifth Floor,
21  Boston, MA 02110-1301, USA. */
22 
23 /* As a special exception, you may create a larger work that contains
24  part or all of the Bison parser skeleton and distribute that work
25  under terms of your choice, so long as that work isn't itself a
26  parser generator using the skeleton or a modified version thereof
27  as a parser skeleton. Alternatively, if you modify or redistribute
28  the parser skeleton itself, you may (at your option) remove this
29  special exception, which will cause the skeleton and the resulting
30  Bison output files to be licensed under the GNU General Public
31  License without this special exception.
32 
33  This special exception was added by the Free Software Foundation in
34  version 2.2 of Bison. */
35 
36 /* Tokens. */
37 #ifndef YYTOKENTYPE
38 # define YYTOKENTYPE
39  /* Put the tokens into the symbol table, so that GDB and other debuggers
40  know about them. */
41  enum yytokentype {
42  tINVALID = 258,
43  tTRUE = 259,
44  tFALSE = 260,
45  tINTEGER = 261,
46  tFLOAT = 262,
47  tSTRING = 263,
48  tIDENTIFIER = 264,
49  tACCESS = 265,
50  tAGENT = 266,
51  tBREAK = 267,
52  tCONTINUE = 268,
53  tIDIV = 269,
54  tIDIVA = 270,
55  tDOMAIN = 271,
56  tELSE = 272,
57  tEQUIV = 273,
58  tEXTERN = 274,
59  tFOR = 275,
60  tFUNCTION = 276,
61  tHEADER = 277,
62  tHTTP = 278,
63  tIF = 279,
64  tISVALID = 280,
65  tMETA = 281,
66  tNAME = 282,
67  tPATH = 283,
68  tRETURN = 284,
69  tTYPEOF = 285,
70  tUSE = 286,
71  tUSER = 287,
72  tVAR = 288,
73  tWHILE = 289,
74  tURL = 290,
75  tDELETE = 291,
76  tIN = 292,
77  tLIB = 293,
78  tNEW = 294,
79  tNULL = 295,
80  tTHIS = 296,
81  tVOID = 297,
82  tWITH = 298,
83  tCASE = 299,
84  tCATCH = 300,
85  tCLASS = 301,
86  tCONST = 302,
87  tDEBUGGER = 303,
88  tDEFAULT = 304,
89  tDO = 305,
90  tENUM = 306,
91  tEXPORT = 307,
92  tEXTENDS = 308,
93  tFINALLY = 309,
94  tIMPORT = 310,
95  tPRIVATE = 311,
96  tPUBLIC = 312,
97  tSIZEOF = 313,
98  tSTRUCT = 314,
99  tSUPER = 315,
100  tSWITCH = 316,
101  tTHROW = 317,
102  tTRY = 318,
103  tEQ = 319,
104  tLE = 320,
105  tGE = 321,
106  tNE = 322,
107  tAND = 323,
108  tOR = 324,
109  tPLUSPLUS = 325,
110  tMINUSMINUS = 326,
111  tLSHIFT = 327,
112  tRSSHIFT = 328,
113  tRSZSHIFT = 329,
114  tADDA = 330,
115  tSUBA = 331,
116  tMULA = 332,
117  tDIVA = 333,
118  tANDA = 334,
119  tORA = 335,
120  tXORA = 336,
121  tREMA = 337,
122  tLSHIFTA = 338,
123  tRSSHIFTA = 339,
125  };
126 #endif
127 /* Tokens. */
128 #define tINVALID 258
129 #define tTRUE 259
130 #define tFALSE 260
131 #define tINTEGER 261
132 #define tFLOAT 262
133 #define tSTRING 263
134 #define tIDENTIFIER 264
135 #define tACCESS 265
136 #define tAGENT 266
137 #define tBREAK 267
138 #define tCONTINUE 268
139 #define tIDIV 269
140 #define tIDIVA 270
141 #define tDOMAIN 271
142 #define tELSE 272
143 #define tEQUIV 273
144 #define tEXTERN 274
145 #define tFOR 275
146 #define tFUNCTION 276
147 #define tHEADER 277
148 #define tHTTP 278
149 #define tIF 279
150 #define tISVALID 280
151 #define tMETA 281
152 #define tNAME 282
153 #define tPATH 283
154 #define tRETURN 284
155 #define tTYPEOF 285
156 #define tUSE 286
157 #define tUSER 287
158 #define tVAR 288
159 #define tWHILE 289
160 #define tURL 290
161 #define tDELETE 291
162 #define tIN 292
163 #define tLIB 293
164 #define tNEW 294
165 #define tNULL 295
166 #define tTHIS 296
167 #define tVOID 297
168 #define tWITH 298
169 #define tCASE 299
170 #define tCATCH 300
171 #define tCLASS 301
172 #define tCONST 302
173 #define tDEBUGGER 303
174 #define tDEFAULT 304
175 #define tDO 305
176 #define tENUM 306
177 #define tEXPORT 307
178 #define tEXTENDS 308
179 #define tFINALLY 309
180 #define tIMPORT 310
181 #define tPRIVATE 311
182 #define tPUBLIC 312
183 #define tSIZEOF 313
184 #define tSTRUCT 314
185 #define tSUPER 315
186 #define tSWITCH 316
187 #define tTHROW 317
188 #define tTRY 318
189 #define tEQ 319
190 #define tLE 320
191 #define tGE 321
192 #define tNE 322
193 #define tAND 323
194 #define tOR 324
195 #define tPLUSPLUS 325
196 #define tMINUSMINUS 326
197 #define tLSHIFT 327
198 #define tRSSHIFT 328
199 #define tRSZSHIFT 329
200 #define tADDA 330
201 #define tSUBA 331
202 #define tMULA 332
203 #define tDIVA 333
204 #define tANDA 334
205 #define tORA 335
206 #define tXORA 336
207 #define tREMA 337
208 #define tLSHIFTA 338
209 #define tRSSHIFTA 339
210 #define tRSZSHIFTA 340
211 
212 
213 
214 
215 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
216 typedef union YYSTYPE
217 #line 34 "wmlscript/wsgram.y"
218 {
220  WsFloat vfloat;
221  char *identifier;
223 
224  WsBool boolean;
225  WsList *list;
227  WsVarDec *vardec;
228 
230 
231  WsStatement *stmt;
233 }
234 /* Line 1529 of yacc.c. */
235 #line 236 "y.tab.h"
236  YYSTYPE;
237 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
238 # define YYSTYPE_IS_DECLARED 1
239 # define YYSTYPE_IS_TRIVIAL 1
240 #endif
241 
242 
243 
244 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
245 typedef struct YYLTYPE
246 {
247  int first_line;
248  int first_column;
249  int last_line;
250  int last_column;
251 } YYLTYPE;
252 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
253 # define YYLTYPE_IS_DECLARED 1
254 # define YYLTYPE_IS_TRIVIAL 1
255 #endif
256 
257 
#define tRETURN
Definition: wsgram.h:154
WsFormalParm * parm
Definition: wsgram.c:312
WsUtf8String * string
Definition: wsgram.c:308
int first_column
Definition: wsgram.c:332
#define tCONST
Definition: wsgram.h:172
#define tWHILE
Definition: wsgram.h:159
#define tNEW
Definition: wsgram.h:164
#define tPATH
Definition: wsgram.h:153
#define tEXPORT
Definition: wsgram.h:177
#define tWITH
Definition: wsgram.h:168
#define tTRUE
Definition: wsgram.h:129
unsigned long WsUInt32
Definition: wsint.h:122
#define tREMA
Definition: wsgram.h:207
WsVarDec * vardec
Definition: wsgram.c:313
#define tEQ
Definition: wsgram.h:189
#define tOR
Definition: wsgram.h:194
#define tSUBA
Definition: wsgram.h:201
double WsFloat
Definition: wsint.h:126
#define tFINALLY
Definition: wsgram.h:179
#define tIDENTIFIER
Definition: wsgram.h:134
int last_column
Definition: wsgram.c:334
int last_line
Definition: wsgram.c:333
#define tVOID
Definition: wsgram.h:167
#define tFLOAT
Definition: wsgram.h:132
#define tLE
Definition: wsgram.h:190
#define tEXTERN
Definition: wsgram.h:144
#define tADDA
Definition: wsgram.h:200
#define tNULL
Definition: wsgram.h:165
#define tEXTENDS
Definition: wsgram.h:178
#define tPLUSPLUS
Definition: wsgram.h:195
#define tCLASS
Definition: wsgram.h:171
#define tDEFAULT
Definition: wsgram.h:174
#define tORA
Definition: wsgram.h:205
#define tINVALID
Definition: wsgram.h:128
#define tHEADER
Definition: wsgram.h:147
#define tCONTINUE
Definition: wsgram.h:138
yytokentype
Definition: wsgram.c:76
#define tSUPER
Definition: wsgram.h:185
#define tCASE
Definition: wsgram.h:169
union YYSTYPE YYSTYPE
#define tDELETE
Definition: wsgram.h:161
struct YYLTYPE YYLTYPE
WsStatement * stmt
Definition: wsgram.c:317
#define tENUM
Definition: wsgram.h:176
#define tMINUSMINUS
Definition: wsgram.h:196
WsUInt32 integer
Definition: wsgram.c:305
#define tANDA
Definition: wsgram.h:204
WsExpression * expr
Definition: wsgram.c:318
#define tFOR
Definition: wsgram.h:145
#define tUSER
Definition: wsgram.h:157
#define tXORA
Definition: wsgram.h:206
int first_line
Definition: wsgram.c:331
#define tHTTP
Definition: wsgram.h:148
#define tSTRUCT
Definition: wsgram.h:184
#define tLIB
Definition: wsgram.h:163
#define tSTRING
Definition: wsgram.h:133
#define tPUBLIC
Definition: wsgram.h:182
#define tLSHIFTA
Definition: wsgram.h:208
#define tDO
Definition: wsgram.h:175
#define tIDIV
Definition: wsgram.h:139
#define tVAR
Definition: wsgram.h:158
#define tRSZSHIFT
Definition: wsgram.h:199
#define tCATCH
Definition: wsgram.h:170
#define tIMPORT
Definition: wsgram.h:180
#define tNAME
Definition: wsgram.h:152
#define tMETA
Definition: wsgram.h:151
WsList * list
Definition: wsgram.c:311
#define tDEBUGGER
Definition: wsgram.h:173
#define tISVALID
Definition: wsgram.h:150
WsBool
Definition: wsint.h:128
#define tDIVA
Definition: wsgram.h:203
#define tRSSHIFT
Definition: wsgram.h:198
#define tIN
Definition: wsgram.h:162
WsFloat vfloat
Definition: wsgram.c:306
#define tTHIS
Definition: wsgram.h:166
#define tPRIVATE
Definition: wsgram.h:181
#define tEQUIV
Definition: wsgram.h:143
#define tBREAK
Definition: wsgram.h:137
#define tAGENT
Definition: wsgram.h:136
char * identifier
Definition: wsgram.c:307
#define tAND
Definition: wsgram.h:193
#define tMULA
Definition: wsgram.h:202
#define tTHROW
Definition: wsgram.h:187
#define tELSE
Definition: wsgram.h:142
#define tSWITCH
Definition: wsgram.h:186
#define tIDIVA
Definition: wsgram.h:140
#define tIF
Definition: wsgram.h:149
WsPragmaMetaBody * meta_body
Definition: wsgram.c:315
WsBool boolean
Definition: wsgram.c:310
#define tFALSE
Definition: wsgram.h:130
#define tTYPEOF
Definition: wsgram.h:155
#define tDOMAIN
Definition: wsgram.h:141
#define tRSSHIFTA
Definition: wsgram.h:209
#define tTRY
Definition: wsgram.h:188
#define tRSZSHIFTA
Definition: wsgram.h:210
#define tUSE
Definition: wsgram.h:156
#define tURL
Definition: wsgram.h:160
#define tSIZEOF
Definition: wsgram.h:183
#define tFUNCTION
Definition: wsgram.h:146
#define tINTEGER
Definition: wsgram.h:131
#define tGE
Definition: wsgram.h:191
#define tACCESS
Definition: wsgram.h:135
#define tNE
Definition: wsgram.h:192
#define tLSHIFT
Definition: wsgram.h:197
See file LICENSE for details about the license agreement for using, modifying, copying or deriving work from this software.