GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-36359e2344
sqlp.tab.h
Go to the documentation of this file.
1
/* A Bison parser, made by GNU Bison 3.7.5. */
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 <http://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_YY_SQLP_TAB_H_INCLUDED
39
# define YY_YY_SQLP_TAB_H_INCLUDED
40
/* Debug traces. */
41
#ifndef YYDEBUG
42
# define YYDEBUG 0
43
#endif
44
#if YYDEBUG
45
extern
int
yydebug
;
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
COMPARISON_OPERATOR
= 258,
/* COMPARISON_OPERATOR */
58
NAME
= 259,
/* NAME */
59
STRING
= 260,
/* STRING */
60
INTNUM
= 261,
/* INTNUM */
61
FLOATNUM
= 262,
/* FLOATNUM */
62
ADD
= 263,
/* ADD */
63
DROP
= 264,
/* DROP */
64
COLUMN
= 265,
/* COLUMN */
65
EQUAL
= 266,
/* EQUAL */
66
SELECT
= 267,
/* SELECT */
67
FROM
= 268,
/* FROM */
68
WHERE
= 269,
/* WHERE */
69
DELETE
= 270,
/* DELETE */
70
INSERT
= 271,
/* INSERT */
71
INTO
= 272,
/* INTO */
72
VALUES
= 273,
/* VALUES */
73
UPDATE
= 274,
/* UPDATE */
74
SET
= 275,
/* SET */
75
AND
= 276,
/* AND */
76
OR
= 277,
/* OR */
77
NOT
= 278,
/* NOT */
78
ALTER
= 279,
/* ALTER */
79
TABLE
= 280,
/* TABLE */
80
CREATE
= 281,
/* CREATE */
81
NULL_VALUE
= 282,
/* NULL_VALUE */
82
VARCHAR
= 283,
/* VARCHAR */
83
INT
= 284,
/* INT */
84
INTEGER
= 285,
/* INTEGER */
85
DOUBLE
= 286,
/* DOUBLE */
86
PRECISION
= 287,
/* PRECISION */
87
DATE
= 288,
/* DATE */
88
TIME
= 289,
/* TIME */
89
ORDER
= 290,
/* ORDER */
90
BY
= 291,
/* BY */
91
IS
= 292,
/* IS */
92
ASC
= 293,
/* ASC */
93
DESC
= 294
/* DESC */
94
};
95
typedef
enum
yytokentype
yytoken_kind_t
;
96
#endif
97
/* Token kinds. */
98
#define YYEMPTY -2
99
#define YYEOF 0
100
#define YYerror 256
101
#define YYUNDEF 257
102
#define COMPARISON_OPERATOR 258
103
#define NAME 259
104
#define STRING 260
105
#define INTNUM 261
106
#define FLOATNUM 262
107
#define ADD 263
108
#define DROP 264
109
#define COLUMN 265
110
#define EQUAL 266
111
#define SELECT 267
112
#define FROM 268
113
#define WHERE 269
114
#define DELETE 270
115
#define INSERT 271
116
#define INTO 272
117
#define VALUES 273
118
#define UPDATE 274
119
#define SET 275
120
#define AND 276
121
#define OR 277
122
#define NOT 278
123
#define ALTER 279
124
#define TABLE 280
125
#define CREATE 281
126
#define NULL_VALUE 282
127
#define VARCHAR 283
128
#define INT 284
129
#define INTEGER 285
130
#define DOUBLE 286
131
#define PRECISION 287
132
#define DATE 288
133
#define TIME 289
134
#define ORDER 290
135
#define BY 291
136
#define IS 292
137
#define ASC 293
138
#define DESC 294
139
140
/* Value type. */
141
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
142
union
YYSTYPE
143
{
144
#line 34 "sqlp.y"
145
146
int
intval
;
147
double
floatval
;
148
char
*
strval
;
149
int
subtok
;
150
SQLPNODE
*
node
;
151
152
#line 153 "sqlp.tab.h"
153
154
};
155
typedef
union
YYSTYPE
YYSTYPE
;
156
# define YYSTYPE_IS_TRIVIAL 1
157
# define YYSTYPE_IS_DECLARED 1
158
#endif
159
160
161
extern
YYSTYPE
yylval
;
162
163
int
yyparse
(
void
);
164
165
#endif
/* !YY_YY_SQLP_TAB_H_INCLUDED */
yydebug
int yydebug
Definition:
sqlp.tab.c:965
TIME
#define TIME
Definition:
sqlp.tab.h:133
STRING
#define STRING
Definition:
sqlp.tab.h:104
yytokentype
yytokentype
Definition:
sqlp.tab.h:52
INTNUM
#define INTNUM
Definition:
sqlp.tab.h:105
COLUMN
#define COLUMN
Definition:
sqlp.tab.h:109
EQUAL
#define EQUAL
Definition:
sqlp.tab.h:110
DATE
#define DATE
Definition:
sqlp.tab.h:132
OR
#define OR
Definition:
sqlp.tab.h:121
COMPARISON_OPERATOR
#define COMPARISON_OPERATOR
Definition:
sqlp.tab.h:102
YYEOF
#define YYEOF
Definition:
sqlp.tab.h:99
NAME
#define NAME
Definition:
sqlp.tab.h:103
ALTER
#define ALTER
Definition:
sqlp.tab.h:123
VALUES
#define VALUES
Definition:
sqlp.tab.h:117
CREATE
#define CREATE
Definition:
sqlp.tab.h:125
DESC
#define DESC
Definition:
sqlp.tab.h:138
yylval
YYSTYPE yylval
Definition:
sqlp.tab.c:1018
SELECT
#define SELECT
Definition:
sqlp.tab.h:111
YYerror
#define YYerror
Definition:
sqlp.tab.h:100
SET
#define SET
Definition:
sqlp.tab.h:119
YYUNDEF
#define YYUNDEF
Definition:
sqlp.tab.h:101
ORDER
#define ORDER
Definition:
sqlp.tab.h:134
ASC
#define ASC
Definition:
sqlp.tab.h:137
yyparse
int yyparse(void)
Definition:
sqlp.tab.c:1030
DOUBLE
#define DOUBLE
Definition:
sqlp.tab.h:130
BY
#define BY
Definition:
sqlp.tab.h:135
VARCHAR
#define VARCHAR
Definition:
sqlp.tab.h:127
INTEGER
#define INTEGER
Definition:
sqlp.tab.h:129
ADD
#define ADD
Definition:
sqlp.tab.h:107
PRECISION
#define PRECISION
Definition:
sqlp.tab.h:131
INSERT
#define INSERT
Definition:
sqlp.tab.h:115
FROM
#define FROM
Definition:
sqlp.tab.h:112
INTO
#define INTO
Definition:
sqlp.tab.h:116
DELETE
#define DELETE
Definition:
sqlp.tab.h:114
UPDATE
#define UPDATE
Definition:
sqlp.tab.h:118
TABLE
#define TABLE
Definition:
sqlp.tab.h:124
AND
#define AND
Definition:
sqlp.tab.h:120
WHERE
#define WHERE
Definition:
sqlp.tab.h:113
yytoken_kind_t
enum yytokentype yytoken_kind_t
Definition:
sqlp.tab.h:95
FLOATNUM
#define FLOATNUM
Definition:
sqlp.tab.h:106
IS
#define IS
Definition:
sqlp.tab.h:136
NOT
#define NOT
Definition:
sqlp.tab.h:122
YYEMPTY
#define YYEMPTY
Definition:
sqlp.tab.h:98
DROP
#define DROP
Definition:
sqlp.tab.h:108
INT
#define INT
Definition:
sqlp.tab.h:128
NULL_VALUE
#define NULL_VALUE
Definition:
sqlp.tab.h:126
sqlpnode
Definition:
sqlp.h:77
YYSTYPE
Definition:
sqlp.tab.h:143
YYSTYPE::subtok
int subtok
Definition:
sqlp.tab.h:149
YYSTYPE::floatval
double floatval
Definition:
sqlp.tab.h:147
YYSTYPE::strval
char * strval
Definition:
sqlp.tab.h:148
YYSTYPE::intval
int intval
Definition:
sqlp.tab.h:146
YYSTYPE::node
SQLPNODE * node
Definition:
sqlp.tab.h:150
lib
db
sqlp
sqlp.tab.h
Generated on Thu Nov 21 2024 07:03:30 for GRASS GIS 8 Programmer's Manual by
1.9.1