GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
sqlp.tab.h
Go to the documentation of this file.
1
/* A Bison parser, made by GNU Bison 3.3.2. */
2
3
/* Bison interface for Yacc-like parsers in C
4
5
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 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
/* Undocumented macros, especially those whose name start with YY_,
35
are private implementation details. Do not rely on them. */
36
37
#ifndef YY_YY_SQLP_TAB_H_INCLUDED
38
# define YY_YY_SQLP_TAB_H_INCLUDED
39
/* Debug traces. */
40
#ifndef YYDEBUG
41
# define YYDEBUG 0
42
#endif
43
#if YYDEBUG
44
extern
int
yydebug
;
45
#endif
46
47
/* Token type. */
48
#ifndef YYTOKENTYPE
49
# define YYTOKENTYPE
50
enum
yytokentype
51
{
52
COMPARISON_OPERATOR
= 258,
53
NAME
= 259,
54
STRING
= 260,
55
INTNUM
= 261,
56
FLOATNUM
= 262,
57
ADD
= 263,
58
DROP
= 264,
59
COLUMN
= 265,
60
EQUAL
= 266,
61
SELECT
= 267,
62
FROM
= 268,
63
WHERE
= 269,
64
DELETE
= 270,
65
INSERT
= 271,
66
INTO
= 272,
67
VALUES
= 273,
68
UPDATE
= 274,
69
SET
= 275,
70
AND
= 276,
71
OR
= 277,
72
NOT
= 278,
73
ALTER
= 279,
74
TABLE
= 280,
75
CREATE
= 281,
76
NULL_VALUE
= 282,
77
VARCHAR
= 283,
78
INT
= 284,
79
INTEGER
= 285,
80
DOUBLE
= 286,
81
PRECISION
= 287,
82
DATE
= 288,
83
TIME
= 289,
84
ORDER
= 290,
85
BY
= 291,
86
IS
= 292,
87
ASC
= 293,
88
DESC
= 294
89
};
90
#endif
91
/* Tokens. */
92
#define COMPARISON_OPERATOR 258
93
#define NAME 259
94
#define STRING 260
95
#define INTNUM 261
96
#define FLOATNUM 262
97
#define ADD 263
98
#define DROP 264
99
#define COLUMN 265
100
#define EQUAL 266
101
#define SELECT 267
102
#define FROM 268
103
#define WHERE 269
104
#define DELETE 270
105
#define INSERT 271
106
#define INTO 272
107
#define VALUES 273
108
#define UPDATE 274
109
#define SET 275
110
#define AND 276
111
#define OR 277
112
#define NOT 278
113
#define ALTER 279
114
#define TABLE 280
115
#define CREATE 281
116
#define NULL_VALUE 282
117
#define VARCHAR 283
118
#define INT 284
119
#define INTEGER 285
120
#define DOUBLE 286
121
#define PRECISION 287
122
#define DATE 288
123
#define TIME 289
124
#define ORDER 290
125
#define BY 291
126
#define IS 292
127
#define ASC 293
128
#define DESC 294
129
130
/* Value type. */
131
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
132
133
union
YYSTYPE
134
{
135
#line 34 "sqlp.y"
/* yacc.c:1921 */
136
137
int
intval;
138
double
floatval;
139
char
*strval;
140
int
subtok;
141
SQLPNODE
*node;
142
143
#line 144 "sqlp.tab.h"
/* yacc.c:1921 */
144
};
145
146
typedef
union
YYSTYPE
YYSTYPE
;
147
# define YYSTYPE_IS_TRIVIAL 1
148
# define YYSTYPE_IS_DECLARED 1
149
#endif
150
151
152
extern
YYSTYPE
yylval
;
153
154
int
yyparse
(
void
);
155
156
#endif
/* !YY_YY_SQLP_TAB_H_INCLUDED */
WHERE
#define WHERE
Definition:
sqlp.tab.h:103
SELECT
#define SELECT
Definition:
sqlp.tab.h:101
ASC
#define ASC
Definition:
sqlp.tab.h:127
TIME
#define TIME
Definition:
sqlp.tab.h:123
UPDATE
#define UPDATE
Definition:
sqlp.tab.h:108
OR
#define OR
Definition:
sqlp.tab.h:111
yydebug
int yydebug
Definition:
sqlp.tab.c:892
NAME
#define NAME
Definition:
sqlp.tab.h:93
INTNUM
#define INTNUM
Definition:
sqlp.tab.h:95
FLOATNUM
#define FLOATNUM
Definition:
sqlp.tab.h:96
COLUMN
#define COLUMN
Definition:
sqlp.tab.h:99
DOUBLE
#define DOUBLE
Definition:
sqlp.tab.h:120
CREATE
#define CREATE
Definition:
sqlp.tab.h:115
DATE
#define DATE
Definition:
sqlp.tab.h:122
INSERT
#define INSERT
Definition:
sqlp.tab.h:105
EQUAL
#define EQUAL
Definition:
sqlp.tab.h:100
YYSTYPE
union YYSTYPE YYSTYPE
Definition:
sqlp.tab.h:146
INTEGER
#define INTEGER
Definition:
sqlp.tab.h:119
ADD
#define ADD
Definition:
sqlp.tab.h:97
FROM
#define FROM
Definition:
sqlp.tab.h:102
AND
#define AND
Definition:
sqlp.tab.h:110
VARCHAR
#define VARCHAR
Definition:
sqlp.tab.h:117
DROP
#define DROP
Definition:
sqlp.tab.h:98
sqlpnode
Definition:
sqlp.h:79
yylval
YYSTYPE yylval
SET
#define SET
Definition:
sqlp.tab.h:109
yytokentype
yytokentype
Definition:
sqlp.tab.c:116
BY
#define BY
Definition:
sqlp.tab.h:125
IS
#define IS
Definition:
sqlp.tab.h:126
STRING
#define STRING
Definition:
sqlp.tab.h:94
PRECISION
#define PRECISION
Definition:
sqlp.tab.h:121
DELETE
#define DELETE
Definition:
sqlp.tab.h:104
NULL_VALUE
#define NULL_VALUE
Definition:
sqlp.tab.h:116
yyparse
int yyparse(void)
Definition:
sqlp.tab.c:1179
INTO
#define INTO
Definition:
sqlp.tab.h:106
DESC
#define DESC
Definition:
sqlp.tab.h:128
INT
#define INT
Definition:
sqlp.tab.h:118
COMPARISON_OPERATOR
#define COMPARISON_OPERATOR
Definition:
sqlp.tab.h:92
VALUES
#define VALUES
Definition:
sqlp.tab.h:107
ORDER
#define ORDER
Definition:
sqlp.tab.h:124
NOT
#define NOT
Definition:
sqlp.tab.h:112
ALTER
#define ALTER
Definition:
sqlp.tab.h:113
TABLE
#define TABLE
Definition:
sqlp.tab.h:114
lib
db
sqlp
sqlp.tab.h
Generated on Mon May 31 2021 05:21:32 for GRASS GIS 7 Programmer's Manual by
1.8.13