-
-
Notifications
You must be signed in to change notification settings - Fork 231
/
Copy pathjamgram.hpp
176 lines (159 loc) · 5.99 KB
/
jamgram.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
/* A Bison parser, made by GNU Bison 3.8.2. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation,
Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. */
/* As a special exception, you may create a larger work that contains
part or all of the Bison parser skeleton and distribute that work
under terms of your choice, so long as that work isn't itself a
parser generator using the skeleton or a modified version thereof
as a parser skeleton. Alternatively, if you modify or redistribute
the parser skeleton itself, you may (at your option) remove this
special exception, which will cause the skeleton and the resulting
Bison output files to be licensed under the GNU General Public
License without this special exception.
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
especially those whose name start with YY_ or yy_. They are
private implementation details that can be changed or removed. */
#ifndef YY_YY_SRC_ENGINE_JAMGRAM_HPP_INCLUDED
# define YY_YY_SRC_ENGINE_JAMGRAM_HPP_INCLUDED
/* Debug traces. */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
#if YYDEBUG
extern int yydebug;
#endif
/* Token kinds. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
enum yytokentype
{
YYEMPTY = -2,
YYEOF = 0, /* "end of file" */
YYerror = 256, /* error */
YYUNDEF = 257, /* "invalid token" */
_BANG_t = 258, /* _BANG_t */
_BANG_EQUALS_t = 259, /* _BANG_EQUALS_t */
_AMPER_t = 260, /* _AMPER_t */
_AMPERAMPER_t = 261, /* _AMPERAMPER_t */
_LPAREN_t = 262, /* _LPAREN_t */
_RPAREN_t = 263, /* _RPAREN_t */
_PLUS_EQUALS_t = 264, /* _PLUS_EQUALS_t */
_COLON_t = 265, /* _COLON_t */
_SEMIC_t = 266, /* _SEMIC_t */
_LANGLE_t = 267, /* _LANGLE_t */
_LANGLE_EQUALS_t = 268, /* _LANGLE_EQUALS_t */
_EQUALS_t = 269, /* _EQUALS_t */
_RANGLE_t = 270, /* _RANGLE_t */
_RANGLE_EQUALS_t = 271, /* _RANGLE_EQUALS_t */
_QUESTION_EQUALS_t = 272, /* _QUESTION_EQUALS_t */
_LBRACKET_t = 273, /* _LBRACKET_t */
_RBRACKET_t = 274, /* _RBRACKET_t */
ACTIONS_t = 275, /* ACTIONS_t */
BIND_t = 276, /* BIND_t */
BREAK_t = 277, /* BREAK_t */
CASE_t = 278, /* CASE_t */
CLASS_t = 279, /* CLASS_t */
CONTINUE_t = 280, /* CONTINUE_t */
DEFAULT_t = 281, /* DEFAULT_t */
ELSE_t = 282, /* ELSE_t */
EXISTING_t = 283, /* EXISTING_t */
FOR_t = 284, /* FOR_t */
IF_t = 285, /* IF_t */
IGNORE_t = 286, /* IGNORE_t */
IN_t = 287, /* IN_t */
INCLUDE_t = 288, /* INCLUDE_t */
LOCAL_t = 289, /* LOCAL_t */
MODULE_t = 290, /* MODULE_t */
ON_t = 291, /* ON_t */
PIECEMEAL_t = 292, /* PIECEMEAL_t */
QUIETLY_t = 293, /* QUIETLY_t */
RETURN_t = 294, /* RETURN_t */
RULE_t = 295, /* RULE_t */
SWITCH_t = 296, /* SWITCH_t */
TOGETHER_t = 297, /* TOGETHER_t */
UPDATED_t = 298, /* UPDATED_t */
WHILE_t = 299, /* WHILE_t */
_LBRACE_t = 300, /* _LBRACE_t */
_BAR_t = 301, /* _BAR_t */
_BARBAR_t = 302, /* _BARBAR_t */
_RBRACE_t = 303, /* _RBRACE_t */
ARG = 304, /* ARG */
STRING = 305 /* STRING */
};
typedef enum yytokentype yytoken_kind_t;
#endif
/* Token kinds. */
#define YYEMPTY -2
#define YYEOF 0
#define YYerror 256
#define YYUNDEF 257
#define _BANG_t 258
#define _BANG_EQUALS_t 259
#define _AMPER_t 260
#define _AMPERAMPER_t 261
#define _LPAREN_t 262
#define _RPAREN_t 263
#define _PLUS_EQUALS_t 264
#define _COLON_t 265
#define _SEMIC_t 266
#define _LANGLE_t 267
#define _LANGLE_EQUALS_t 268
#define _EQUALS_t 269
#define _RANGLE_t 270
#define _RANGLE_EQUALS_t 271
#define _QUESTION_EQUALS_t 272
#define _LBRACKET_t 273
#define _RBRACKET_t 274
#define ACTIONS_t 275
#define BIND_t 276
#define BREAK_t 277
#define CASE_t 278
#define CLASS_t 279
#define CONTINUE_t 280
#define DEFAULT_t 281
#define ELSE_t 282
#define EXISTING_t 283
#define FOR_t 284
#define IF_t 285
#define IGNORE_t 286
#define IN_t 287
#define INCLUDE_t 288
#define LOCAL_t 289
#define MODULE_t 290
#define ON_t 291
#define PIECEMEAL_t 292
#define QUIETLY_t 293
#define RETURN_t 294
#define RULE_t 295
#define SWITCH_t 296
#define TOGETHER_t 297
#define UPDATED_t 298
#define WHILE_t 299
#define _LBRACE_t 300
#define _BAR_t 301
#define _BARBAR_t 302
#define _RBRACE_t 303
#define ARG 304
#define STRING 305
/* Value type. */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef int YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define YYSTYPE_IS_DECLARED 1
#endif
extern YYSTYPE yylval;
int yyparse (void);
#endif /* !YY_YY_SRC_ENGINE_JAMGRAM_HPP_INCLUDED */