promela.tab.hpp
1 /* A Bison parser, made by GNU Bison 2.7.12-4996. */
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_PROMELA_PROMELA_TAB_HPP_INCLUDED
34 # define YY_PROMELA_PROMELA_TAB_HPP_INCLUDED
35 /* Enabling traces. */
36 #ifndef PROMELA_DEBUG
37 # if defined YYDEBUG
38 # if YYDEBUG
39 # define PROMELA_DEBUG 1
40 # else
41 # define PROMELA_DEBUG 0
42 # endif
43 # else /* ! defined YYDEBUG */
44 # define PROMELA_DEBUG 1
45 # endif /* ! defined YYDEBUG */
46 #endif /* ! defined PROMELA_DEBUG */
47 #if PROMELA_DEBUG
48 extern int promela_debug;
49 #endif
50 
51 /* Tokens. */
52 #ifndef PROMELA_TOKENTYPE
53 # define PROMELA_TOKENTYPE
54  /* Put the tokens into the symbol table, so that GDB and other debuggers
55  know about them. */
56  enum promela_tokentype {
57  PML_VAR_ARRAY = 258,
58  PML_VARLIST = 259,
59  PML_DECL = 260,
60  PML_DECLLIST = 261,
61  PML_STMNT = 262,
62  PML_COLON = 263,
63  PML_EXPR = 264,
64  PML_NAMELIST = 265,
65  PML_ASSERT = 266,
66  PML_PRINT = 267,
67  PML_PRINTM = 268,
68  PML_LEN = 269,
69  PML_STRING = 270,
70  PML_TYPEDEF = 271,
71  PML_MTYPE = 272,
72  PML_INLINE = 273,
73  PML_RETURN = 274,
74  PML_LABEL = 275,
75  PML_OF = 276,
76  PML_GOTO = 277,
77  PML_BREAK = 278,
78  PML_ELSE = 279,
79  PML_SEMI = 280,
80  PML_ARROW = 281,
81  PML_IF = 282,
82  PML_FI = 283,
83  PML_DO = 284,
84  PML_OD = 285,
85  PML_FOR = 286,
86  PML_SELECT = 287,
87  PML_IN = 288,
88  PML_SEP = 289,
89  PML_DOTDOT = 290,
90  PML_HIDDEN = 291,
91  PML_SHOW = 292,
92  PML_ISLOCAL = 293,
93  PML_CONST = 294,
94  PML_TYPE = 295,
95  PML_XU = 296,
96  PML_NAME = 297,
97  PML_UNAME = 298,
98  PML_PNAME = 299,
99  PML_INAME = 300,
100  PML_CLAIM = 301,
101  PML_TRACE = 302,
102  PML_INIT = 303,
103  PML_LTL = 304,
104  PML_COMMA = 305,
105  PML_ASGN = 306,
106  PML_AND = 307,
107  PML_OR = 308,
108  PML_BITAND = 309,
109  PML_BITXOR = 310,
110  PML_BITOR = 311,
111  PML_NE = 312,
112  PML_EQ = 313,
113  PML_LE = 314,
114  PML_GE = 315,
115  PML_LT = 316,
116  PML_GT = 317,
117  PML_RSHIFT = 318,
118  PML_LSHIFT = 319,
119  PML_MINUS = 320,
120  PML_PLUS = 321,
121  PML_MODULO = 322,
122  PML_DIVIDE = 323,
123  PML_TIMES = 324,
124  PML_DECR = 325,
125  PML_INCR = 326,
126  PML_COMPL = 327,
127  PML_NEG = 328,
128  PML_CMPND = 329,
129  PML_DOT = 330
130  };
131 #endif
132 
133 
134 #if ! defined PROMELA_STYPE && ! defined PROMELA_STYPE_IS_DECLARED
135 typedef union PROMELA_STYPE
136 {
137 /* Line 2053 of yacc.c */
138 #line 39 "promela.ypp"
139 
141  char* value;
142 
143 
144 /* Line 2053 of yacc.c */
145 #line 146 "promela.tab.hpp"
146 } PROMELA_STYPE;
147 # define PROMELA_STYPE_IS_TRIVIAL 1
148 # define promela_stype PROMELA_STYPE /* obsolescent; will be withdrawn */
149 # define PROMELA_STYPE_IS_DECLARED 1
150 #endif
151 
152 #if ! defined PROMELA_LTYPE && ! defined PROMELA_LTYPE_IS_DECLARED
153 typedef struct PROMELA_LTYPE
154 {
155  int first_line;
156  int first_column;
157  int last_line;
158  int last_column;
159 } PROMELA_LTYPE;
160 # define promela_ltype PROMELA_LTYPE /* obsolescent; will be withdrawn */
161 # define PROMELA_LTYPE_IS_DECLARED 1
162 # define PROMELA_LTYPE_IS_TRIVIAL 1
163 #endif
164 
165 
166 #ifdef YYPARSE_PARAM
167 #if defined __STDC__ || defined __cplusplus
168 int promela_parse (void *YYPARSE_PARAM);
169 #else
170 int promela_parse ();
171 #endif
172 #else /* ! YYPARSE_PARAM */
173 #if defined __STDC__ || defined __cplusplus
174 int promela_parse (uscxml::PromelaParser* ctx, void * scanner);
175 #else
176 int promela_parse ();
177 #endif
178 #endif /* ! YYPARSE_PARAM */
179 
180 #endif /* !YY_PROMELA_PROMELA_TAB_HPP_INCLUDED */
Definition: promela.tab.hpp:135
Definition: PromelaParser.h:37
Definition: promela.tab.hpp:153
Definition: PromelaParser.h:62