rasdaman complete source
odl.h
Go to the documentation of this file.
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_ODL_HH_INCLUDED
34 # define YY_YY_ODL_HH_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
47  {
48  Identifier = 258,
50  SEMI = 260,
51  LPAR = 261,
52  RPAR = 262,
53  COLON = 263,
54  COMMA = 264,
55  TIMES = 265,
56  TYPEDEF = 266,
57  PFLOAT = 267,
58  PDOUBLE = 268,
59  PLONG = 269,
60  PSHORT = 270,
61  PUNSIGNED = 271,
62  PCHAR = 272,
63  PBOOLEAN = 273,
64  POCTET = 274,
65  PCOMPLEX1 = 275,
66  PCOMPLEX2 = 276,
67  PSTRUCT = 277,
68  LEFT = 278,
69  RIGHT = 279,
70  LEPAR = 280,
71  REPAR = 281,
72  SET = 282,
73  MARRAY = 283
74  };
75 #endif
76 /* Tokens. */
77 #define Identifier 258
78 #define IntegerLiteral 259
79 #define SEMI 260
80 #define LPAR 261
81 #define RPAR 262
82 #define COLON 263
83 #define COMMA 264
84 #define TIMES 265
85 #define TYPEDEF 266
86 #define PFLOAT 267
87 #define PDOUBLE 268
88 #define PLONG 269
89 #define PSHORT 270
90 #define PUNSIGNED 271
91 #define PCHAR 272
92 #define PBOOLEAN 273
93 #define POCTET 274
94 #define PCOMPLEX1 275
95 #define PCOMPLEX2 276
96 #define PSTRUCT 277
97 #define LEFT 278
98 #define RIGHT 279
99 #define LEPAR 280
100 #define REPAR 281
101 #define SET 282
102 #define MARRAY 283
103 
104 /* Value type. */
105 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
106 typedef union YYSTYPE YYSTYPE;
107 union YYSTYPE
108 {
109 #line 69 "odl.yy" /* yacc.c:1909 */
110 
111  // types for LEX
112  struct
113  {
115  const char *name;
116  } Entry;
117 
118  struct
119  {
120  YWhere where;
121  int command;
122  } Command;
123 
124  struct
125  {
126  YWhere where;
127  long value;
128  } LEX_integer;
129 
130  struct
131  {
132  YWhere where;
133  double value;
134  } Real;
135 
136  struct
137  {
138  YWhere where;
139  char character;
140  } Character;
141 
142  struct
143  {
144  YWhere where;
145  const char *string;
146  } String;
147 
148  // types for YACC
150 
155 
158  bool Boolean;
162 
163  // spatial domain
165 
166  struct
167  {
168  r_Minterval* domain;
169  unsigned long dimensionality;
170  } domainSpec;
171 
172  r_Minterval* domain;
173 
174  int dummyValue;
175 
176 
177 #line 178 "odl.hh" /* yacc.c:1909 */
178 };
179 # define YYSTYPE_IS_TRIVIAL 1
180 # define YYSTYPE_IS_DECLARED 1
181 #endif
182 
183 
184 extern YYSTYPE yylval;
185 
186 int yyparse (void);
187 
188 #endif /* !YY_YY_ODL_HH_INCLUDED */
Definition: parse.hh:360
Definition: parse.hh:586
Parse_interface::Lifetime Persistence
Definition: odl.h:156
Definition: yparse.hh:49
int dummyValue
Definition: oql.h:454
#define PCHAR
Definition: odl.h:91
Definition: symbtbl.hh:110
#define PCOMPLEX2
Definition: odl.h:95
Definition: sinterval.hh:233
Lifetime
Definition: parse.hh:369
r_Sinterval * dimension
Definition: odl.h:164
#define PDOUBLE
Definition: odl.h:87
#define PUNSIGNED
Definition: odl.h:90
Definition: parse.hh:275
#define REPAR
Definition: odl.h:100
struct YYSTYPE::@27 Real
#define POCTET
Definition: odl.h:93
#define MARRAY
Definition: odl.h:102
struct YYSTYPE::@28 Character
#define PBOOLEAN
Definition: odl.h:92
#define TYPEDEF
Definition: odl.h:85
YLiteral Literal
Definition: odl.h:160
#define PFLOAT
Definition: odl.h:86
Parse_type * Type
Definition: odl.h:151
#define LEPAR
Definition: odl.h:99
Definition: yparse.hh:34
#define TIMES
Definition: odl.h:84
bool Boolean
Definition: odl.h:158
rINT_list * INT_list
Definition: odl.h:159
Definition: parse.hh:193
unsigned long dimensionality
Definition: odl.h:169
#define COLON
Definition: odl.h:82
YDeclarator * Declarator
Definition: odl.h:161
#define IntegerLiteral
Definition: odl.h:78
#define Identifier
Definition: odl.h:77
r_Minterval * domain
Definition: odl.h:168
#define RPAR
Definition: odl.h:81
int yyparse(void)
struct YYSTYPE::@30 domainSpec
Definition: parse.hh:376
yytokentype
Definition: oql.h:46
YSymbol * Symbol
Definition: odl.h:149
int command
Definition: odl.h:121
#define SEMI
Definition: odl.h:79
const char * string
Definition: odl.h:145
bool value
Definition: oql.h:385
Definition: parse.hh:46
Parse_enum::Enumerator * enumerator
Definition: odl.h:157
#define LPAR
Definition: odl.h:80
Definition: symbtbl.hh:157
Parse_interface * Interface
Definition: odl.h:152
char character
Definition: odl.h:139
#define COMMA
Definition: odl.h:83
long value
Definition: odl.h:127
Definition: oql.h:379
#define PSHORT
Definition: odl.h:89
#define RIGHT
Definition: odl.h:98
#define PCOMPLEX1
Definition: odl.h:94
#define PSTRUCT
Definition: odl.h:96
#define PLONG
Definition: odl.h:88
Parse_interface::Base_class * Base_Classes
Definition: odl.h:154
struct YYSTYPE::@26 LEX_integer
#define LEFT
Definition: odl.h:97
YWhere where
Definition: odl.h:114
struct YYSTYPE::@24 Entry
const char * name
Definition: odl.h:115
Parse_composite::Element * element
Definition: odl.h:153
struct YYSTYPE::@29 String
YYSTYPE yylval
struct YYSTYPE::@25 Command
#define SET
Definition: odl.h:101