PIPS
genread.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_GENREAD_Y_TAB_H_INCLUDED
39 # define YY_GENREAD_Y_TAB_H_INCLUDED
40 /* Debug traces. */
41 #ifndef YYDEBUG
42 # define YYDEBUG 0
43 #endif
44 #if YYDEBUG
45 extern int genread_debug;
46 #endif
47 
48 /* Token kinds. */
49 #ifndef YYTOKENTYPE
50 # define YYTOKENTYPE
52  {
53  YYEMPTY = -2,
54  YYEOF = 0, /* "end of file" */
55  YYerror = 256, /* error */
56  YYUNDEF = 257, /* "invalid token" */
57  CHUNK_BEGIN = 258, /* CHUNK_BEGIN */
58  VECTOR_BEGIN = 259, /* VECTOR_BEGIN */
59  ARROW_BEGIN = 260, /* ARROW_BEGIN */
60  READ_BOOL = 261, /* READ_BOOL */
61  TABULATED_BEGIN = 262, /* TABULATED_BEGIN */
62  LP = 263, /* LP */
63  RP = 264, /* RP */
64  LC = 265, /* LC */
65  RC = 266, /* RC */
66  LB = 267, /* LB */
67  SHARED_POINTER = 268, /* SHARED_POINTER */
68  READ_EXTERNAL = 269, /* READ_EXTERNAL */
69  READ_DEF = 270, /* READ_DEF */
70  READ_REF = 271, /* READ_REF */
71  READ_NULL = 272, /* READ_NULL */
72  READ_LIST_UNDEFINED = 273, /* READ_LIST_UNDEFINED */
73  READ_SET_UNDEFINED = 274, /* READ_SET_UNDEFINED */
74  READ_ARRAY_UNDEFINED = 275, /* READ_ARRAY_UNDEFINED */
75  READ_STRING = 276, /* READ_STRING */
76  READ_UNIT = 277, /* READ_UNIT */
77  READ_CHAR = 278, /* READ_CHAR */
78  READ_INT = 279, /* READ_INT */
79  READ_FLOAT = 280 /* READ_FLOAT */
80  };
81  typedef enum yytokentype yytoken_kind_t;
82 #endif
83 /* Token kinds. */
84 #define YYEMPTY -2
85 #define YYEOF 0
86 #define YYerror 256
87 #define YYUNDEF 257
88 #define CHUNK_BEGIN 258
89 #define VECTOR_BEGIN 259
90 #define ARROW_BEGIN 260
91 #define READ_BOOL 261
92 #define TABULATED_BEGIN 262
93 #define LP 263
94 #define RP 264
95 #define LC 265
96 #define RC 266
97 #define LB 267
98 #define SHARED_POINTER 268
99 #define READ_EXTERNAL 269
100 #define READ_DEF 270
101 #define READ_REF 271
102 #define READ_NULL 272
103 #define READ_LIST_UNDEFINED 273
104 #define READ_SET_UNDEFINED 274
105 #define READ_ARRAY_UNDEFINED 275
106 #define READ_STRING 276
107 #define READ_UNIT 277
108 #define READ_CHAR 278
109 #define READ_INT 279
110 #define READ_FLOAT 280
111 
112 /* Value type. */
113 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
114 union YYSTYPE
115 {
116 #line 108 "read.y"
117 
122  char * s;
123  double d;
124  char c;
125 
126 #line 127 "y.tab.h"
127 
128 };
129 typedef union YYSTYPE YYSTYPE;
130 # define YYSTYPE_IS_TRIVIAL 1
131 # define YYSTYPE_IS_DECLARED 1
132 #endif
133 
134 
135 extern YYSTYPE genread_lval;
136 
137 
138 int genread_parse (void);
139 
140 
141 #endif /* !YY_GENREAD_Y_TAB_H_INCLUDED */
#define RP
Definition: genread.h:94
#define READ_FLOAT
Definition: genread.h:110
#define CHUNK_BEGIN
Definition: genread.h:88
yytokentype
Definition: genread.h:52
#define VECTOR_BEGIN
Definition: genread.h:89
#define READ_ARRAY_UNDEFINED
Definition: genread.h:105
#define YYEOF
Definition: genread.h:85
int genread_parse(void)
YYSTYPE genread_lval
#define READ_SET_UNDEFINED
Definition: genread.h:104
#define YYerror
Definition: genread.h:86
#define LP
Definition: genread.h:93
#define YYUNDEF
Definition: genread.h:87
#define SHARED_POINTER
Definition: genread.h:98
#define READ_NULL
Definition: genread.h:102
#define READ_DEF
Definition: genread.h:100
#define READ_CHAR
Definition: genread.h:108
#define READ_LIST_UNDEFINED
Definition: genread.h:103
#define READ_REF
Definition: genread.h:101
#define RC
Definition: genread.h:96
#define LC
Definition: genread.h:95
#define READ_INT
Definition: genread.h:109
#define TABULATED_BEGIN
Definition: genread.h:92
#define READ_STRING
Definition: genread.h:106
#define READ_BOOL
Definition: genread.h:91
#define LB
Definition: genread.h:97
enum yytokentype yytoken_kind_t
Definition: genread.h:81
#define YYEMPTY
Token kinds.
Definition: genread.h:84
#define ARROW_BEGIN
Definition: genread.h:90
#define READ_UNIT
Definition: genread.h:107
#define READ_EXTERNAL
Definition: genread.h:99
#define intptr_t
Definition: stdint.in.h:294
The structure used to build lists in NewGen.
Definition: newgen_list.h:41
Value type.
Definition: genread.h:115
gen_chunk chunk
Definition: genread.h:118
gen_chunk * chunkp
Definition: genread.h:119
char * s
Definition: genread.h:122
intptr_t val
Definition: genread.h:121
cons * consp
Definition: genread.h:120
char c
Definition: genread.h:124
double d
Definition: genread.h:123
A gen_chunk is used to store every object.
Definition: genC.h:58