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 YYTOKENTYPE
39    /* Put the tokens into the symbol table, so that GDB and other debuggers
40       know about them.  */
41    enum yytokentype {
42      NULLTOKEN = 258,
43      TRUETOKEN = 259,
44      FALSETOKEN = 260,
45      BREAK = 261,
46      CASE = 262,
47      DEFAULT = 263,
48      FOR = 264,
49      NEW = 265,
50      VAR = 266,
51      CONSTTOKEN = 267,
52      CONTINUE = 268,
53      FUNCTION = 269,
54      RETURN = 270,
55      VOIDTOKEN = 271,
56      DELETETOKEN = 272,
57      IF = 273,
58      THISTOKEN = 274,
59      DO = 275,
60      WHILE = 276,
61      INTOKEN = 277,
62      INSTANCEOF = 278,
63      TYPEOF = 279,
64      SWITCH = 280,
65      WITH = 281,
66      RESERVED = 282,
67      THROW = 283,
68      TRY = 284,
69      CATCH = 285,
70      FINALLY = 286,
71      DEBUGGER = 287,
72      IF_WITHOUT_ELSE = 288,
73      ELSE = 289,
74      EQEQ = 290,
75      NE = 291,
76      STREQ = 292,
77      STRNEQ = 293,
78      LE = 294,
79      GE = 295,
80      OR = 296,
81      AND = 297,
82      PLUSPLUS = 298,
83      MINUSMINUS = 299,
84      LSHIFT = 300,
85      RSHIFT = 301,
86      URSHIFT = 302,
87      PLUSEQUAL = 303,
88      MINUSEQUAL = 304,
89      MULTEQUAL = 305,
90      DIVEQUAL = 306,
91      LSHIFTEQUAL = 307,
92      RSHIFTEQUAL = 308,
93      URSHIFTEQUAL = 309,
94      ANDEQUAL = 310,
95      MODEQUAL = 311,
96      XOREQUAL = 312,
97      OREQUAL = 313,
98      OPENBRACE = 314,
99      CLOSEBRACE = 315,
100      IDENT_IN = 316,
101      NUMBER = 317,
102      STRING = 318,
103      AUTOPLUSPLUS = 319,
104      AUTOMINUSMINUS = 320
105    };
106 #endif
107 
108 
109 
110 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
111 typedef union YYSTYPE
112 {
113 
114 /* Line 1676 of yacc.c  */
115 #line 109 "./js-parser/Grammar.y"
116 
117     int intValue;
118     JSNode* node;
119     struct {
120 	char    *iname;
121 	JSTokenPos pos;
122     } name;
123 
124 
125 
126 /* Line 1676 of yacc.c  */
127 #line 128 "./js-parser/js-parser-y-tab.h"
128 } YYSTYPE;
129 # define YYSTYPE_IS_TRIVIAL 1
130 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
131 # define YYSTYPE_IS_DECLARED 1
132 #endif
133 
134 
135 
136 
137 #ifndef YYPUSH_DECLS
138 #  define YYPUSH_DECLS
139 struct yypstate;
140 typedef struct yypstate yypstate;
141 enum { YYPUSH_MORE = 4 };
142 #if defined __STDC__ || defined __cplusplus
143 int yyparse (void);
144 #else
145 int yyparse ();
146 #endif
147 #if defined __STDC__ || defined __cplusplus
148 int yypush_parse (yypstate *yyps, int yypushed_char, YYSTYPE const *yypushed_val);
149 #else
150 int yypush_parse ();
151 #endif
152 #if defined __STDC__ || defined __cplusplus
153 int yypull_parse (yypstate *yyps);
154 #else
155 int yypull_parse ();
156 #endif
157 #if defined __STDC__ || defined __cplusplus
158 yypstate * yypstate_new (void);
159 #else
160 yypstate * yypstate_new ();
161 #endif
162 #if defined __STDC__ || defined __cplusplus
163 void yypstate_delete (yypstate *yyps);
164 #else
165 void yypstate_delete ();
166 #endif
167 #endif
168 
169