PIPS
genspec.h
Go to the documentation of this file.
1
/* A Bison parser, made by GNU Bison 3.8.2. */
2
3
/* Bison interface for Yacc-like parsers in C
4
5
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation,
6
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 3 of the License, or
11
(at your option) 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, see <https://www.gnu.org/licenses/>. */
20
21
/* As a special exception, you may create a larger work that contains
22
part or all of the Bison parser skeleton and distribute that work
23
under terms of your choice, so long as that work isn't itself a
24
parser generator using the skeleton or a modified version thereof
25
as a parser skeleton. Alternatively, if you modify or redistribute
26
the parser skeleton itself, you may (at your option) remove this
27
special exception, which will cause the skeleton and the resulting
28
Bison output files to be licensed under the GNU General Public
29
License without this special exception.
30
31
This special exception was added by the Free Software Foundation in
32
version 2.2 of Bison. */
33
34
/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
35
especially those whose name start with YY_ or yy_. They are
36
private implementation details that can be changed or removed. */
37
38
#ifndef YY_GENSPEC_Y_TAB_H_INCLUDED
39
# define YY_GENSPEC_Y_TAB_H_INCLUDED
40
/* Debug traces. */
41
#ifndef YYDEBUG
42
# define YYDEBUG 0
43
#endif
44
#if YYDEBUG
45
extern
int
genspec_debug;
46
#endif
47
48
/* Token kinds. */
49
#ifndef YYTOKENTYPE
50
# define YYTOKENTYPE
51
enum
yytokentype
52
{
53
YYEMPTY
= -2,
54
YYEOF
= 0,
/* "end of file" */
55
YYerror
= 256,
/* error */
56
YYUNDEF
= 257,
/* "invalid token" */
57
COMMA
= 258,
/* COMMA */
58
COLUMN
= 259,
/* COLUMN */
59
SEMI_COLUMN
= 260,
/* SEMI_COLUMN */
60
AND
= 261,
/* AND */
61
OR
= 262,
/* OR */
62
ARROW
= 263,
/* ARROW */
63
STAR
= 264,
/* STAR */
64
LB
= 265,
/* LB */
65
RB
= 266,
/* RB */
66
LR
= 267,
/* LR */
67
RR
= 268,
/* RR */
68
EQUAL
= 269,
/* EQUAL */
69
FROM
= 270,
/* FROM */
70
GRAM_EXTERNAL
= 271,
/* GRAM_EXTERNAL */
71
GRAM_IMPORT
= 272,
/* GRAM_IMPORT */
72
TABULATED
= 273,
/* TABULATED */
73
PERSISTANT
= 274,
/* PERSISTANT */
74
IDENT
= 275,
/* IDENT */
75
GRAM_FILE
= 276,
/* GRAM_FILE */
76
GRAM_INT
= 277
/* GRAM_INT */
77
};
78
typedef
enum
yytokentype
yytoken_kind_t
;
79
#endif
80
/* Token kinds. */
81
#define YYEMPTY -2
82
#define YYEOF 0
83
#define YYerror 256
84
#define YYUNDEF 257
85
#define COMMA 258
86
#define COLUMN 259
87
#define SEMI_COLUMN 260
88
#define AND 261
89
#define OR 262
90
#define ARROW 263
91
#define STAR 264
92
#define LB 265
93
#define RB 266
94
#define LR 267
95
#define RR 268
96
#define EQUAL 269
97
#define FROM 270
98
#define GRAM_EXTERNAL 271
99
#define GRAM_IMPORT 272
100
#define TABULATED 273
101
#define PERSISTANT 274
102
#define IDENT 275
103
#define GRAM_FILE 276
104
#define GRAM_INT 277
105
106
/* Value type. */
107
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
108
union
YYSTYPE
109
{
110
#line 81 "spec.y"
111
112
union
domain
*
domain
;
113
struct
domainlist
*
domainlist
;
114
struct
namelist
*
namelist
;
115
struct
intlist
*
intlist
;
116
char
*
name
;
117
int
val
;
118
119
#line 120 "y.tab.h"
120
121
};
122
typedef
union
YYSTYPE
YYSTYPE
;
123
# define YYSTYPE_IS_TRIVIAL 1
124
# define YYSTYPE_IS_DECLARED 1
125
#endif
126
127
128
extern
YYSTYPE
genspec_lval
;
129
130
131
int
genspec_parse
(
void
);
132
133
134
#endif
/* !YY_GENSPEC_Y_TAB_H_INCLUDED */
yytokentype
yytokentype
Definition:
genread.h:52
IDENT
#define IDENT
Definition:
genspec.h:102
RB
#define RB
Definition:
genspec.h:93
COLUMN
#define COLUMN
Definition:
genspec.h:86
EQUAL
#define EQUAL
Definition:
genspec.h:96
OR
#define OR
Definition:
genspec.h:89
LR
#define LR
Definition:
genspec.h:94
YYEOF
#define YYEOF
Definition:
genspec.h:82
GRAM_FILE
#define GRAM_FILE
Definition:
genspec.h:103
YYerror
#define YYerror
Definition:
genspec.h:83
YYUNDEF
#define YYUNDEF
Definition:
genspec.h:84
ARROW
#define ARROW
Definition:
genspec.h:90
RR
#define RR
Definition:
genspec.h:95
genspec_parse
int genspec_parse(void)
GRAM_EXTERNAL
#define GRAM_EXTERNAL
Definition:
genspec.h:98
STAR
#define STAR
Definition:
genspec.h:91
GRAM_INT
#define GRAM_INT
Definition:
genspec.h:104
SEMI_COLUMN
#define SEMI_COLUMN
Definition:
genspec.h:87
FROM
#define FROM
Definition:
genspec.h:97
COMMA
#define COMMA
Definition:
genspec.h:85
GRAM_IMPORT
#define GRAM_IMPORT
Definition:
genspec.h:99
LB
#define LB
Definition:
genspec.h:92
AND
#define AND
Definition:
genspec.h:88
yytoken_kind_t
enum yytokentype yytoken_kind_t
Definition:
genspec.h:78
genspec_lval
YYSTYPE genspec_lval
YYEMPTY
#define YYEMPTY
Token kinds.
Definition:
genspec.h:81
PERSISTANT
#define PERSISTANT
Definition:
genspec.h:101
TABULATED
#define TABULATED
Definition:
genspec.h:100
YYSTYPE
Value type.
Definition:
genread.h:115
YYSTYPE::name
char * name
Definition:
genspec.h:116
YYSTYPE::namelist
struct namelist * namelist
Definition:
genspec.h:114
YYSTYPE::domainlist
struct domainlist * domainlist
Definition:
genspec.h:113
YYSTYPE::val
int val
Definition:
genspec.h:117
YYSTYPE::domain
union domain * domain
Definition:
genspec.h:112
YYSTYPE::intlist
struct intlist * intlist
Definition:
genspec.h:115
domain
A DOMAIN union describes the structure of a user type.
Definition:
newgen_include.h:99
newgen
src
genC
genspec.h
Generated on Thu Sep 26 2024 22:11:31 for PIPS by
1.9.1