#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <grass/sqlp.h>
#include <stdio.h>
Go to the source code of this file.
Data Structures | |
union | YYSTYPE |
union | yyalloc |
Defines | |
#define | YYBISON 1 |
#define | YYBISON_VERSION "2.3" |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 0 |
#define | YYLSP_NEEDED 0 |
#define | COMPARISON_OPERATOR 258 |
#define | NAME 259 |
#define | STRING 260 |
#define | INTNUM 261 |
#define | FLOATNUM 262 |
#define | ADD 263 |
#define | COLUMN 264 |
#define | EQUAL 265 |
#define | SELECT 266 |
#define | FROM 267 |
#define | WHERE 268 |
#define | DELETE 269 |
#define | INSERT 270 |
#define | INTO 271 |
#define | VALUES 272 |
#define | UPDATE 273 |
#define | SET 274 |
#define | AND 275 |
#define | OR 276 |
#define | NOT 277 |
#define | ALTER 278 |
#define | TABLE 279 |
#define | CREATE 280 |
#define | DROP 281 |
#define | NULL_VALUE 282 |
#define | VARCHAR 283 |
#define | INT 284 |
#define | INTEGER 285 |
#define | DOUBLE 286 |
#define | PRECISION 287 |
#define | DATE 288 |
#define | TIME 289 |
#define | ORDER 290 |
#define | BY 291 |
#define | IS 292 |
#define | YYDEBUG 1 |
#define | YYERROR_VERBOSE 0 |
#define | YYTOKEN_TABLE 0 |
#define | yystype YYSTYPE |
#define | YYSTYPE_IS_DECLARED 1 |
#define | YYSTYPE_IS_TRIVIAL 1 |
#define | YYSIZE_T unsigned int |
#define | YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
#define | YY_(msgid) msgid |
#define | YYUSE(e) ((void) (e)) |
#define | YYID(n) (n) |
#define | YYSTACK_ALLOC YYMALLOC |
#define | YYSTACK_FREE YYFREE |
#define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
#define | YYMALLOC malloc |
#define | YYFREE free |
#define | YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
#define | YYSTACK_BYTES(N) |
#define | YYCOPY(To, From, Count) |
#define | YYSTACK_RELOCATE(Stack) |
#define | YYFINAL 27 |
#define | YYLAST 144 |
#define | YYNTOKENS 46 |
#define | YYNNTS 30 |
#define | YYNRULES 82 |
#define | YYNSTATES 150 |
#define | YYUNDEFTOK 2 |
#define | YYMAXUTOK 292 |
#define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define | YYPACT_NINF -51 |
#define | YYTABLE_NINF -1 |
#define | yyerrok (yyerrstatus = 0) |
#define | yyclearin (yychar = YYEMPTY) |
#define | YYEMPTY (-2) |
#define | YYEOF 0 |
#define | YYACCEPT goto yyacceptlab |
#define | YYABORT goto yyabortlab |
#define | YYERROR goto yyerrorlab |
#define | YYFAIL goto yyerrlab |
#define | YYRECOVERING() (!!yyerrstatus) |
#define | YYBACKUP(Token, Value) |
#define | YYTERROR 1 |
#define | YYERRCODE 256 |
#define | YYRHSLOC(Rhs, K) ((Rhs)[K]) |
#define | YYLLOC_DEFAULT(Current, Rhs, N) |
#define | YY_LOCATION_PRINT(File, Loc) ((void) 0) |
#define | YYLEX yylex () |
#define | YYFPRINTF fprintf |
#define | YYDPRINTF(Args) |
#define | YY_SYMBOL_PRINT(Title, Type, Value, Location) |
#define | YY_STACK_PRINT(Bottom, Top) |
#define | YY_REDUCE_PRINT(Rule) |
#define | YYINITDEPTH 200 |
#define | YYMAXDEPTH 10000 |
#define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) |
Typedefs | |
typedef unsigned char | yytype_uint8 |
typedef short int | yytype_int8 |
typedef unsigned short int | yytype_uint16 |
typedef short int | yytype_int16 |
Enumerations | |
enum | yytokentype { COMPARISON_OPERATOR = 258, NAME = 259, STRING = 260, INTNUM = 261, FLOATNUM = 262, ADD = 263, COLUMN = 264, EQUAL = 265, SELECT = 266, FROM = 267, WHERE = 268, DELETE = 269, INSERT = 270, INTO = 271, VALUES = 272, UPDATE = 273, SET = 274, AND = 275, OR = 276, NOT = 277, ALTER = 278, TABLE = 279, CREATE = 280, DROP = 281, NULL_VALUE = 282, VARCHAR = 283, INT = 284, INTEGER = 285, DOUBLE = 286, PRECISION = 287, DATE = 288, TIME = 289, ORDER = 290, BY = 291, IS = 292, COMPARISON_OPERATOR = 258, NAME = 259, STRING = 260, INTNUM = 261, FLOATNUM = 262, ADD = 263, COLUMN = 264, EQUAL = 265, SELECT = 266, FROM = 267, WHERE = 268, DELETE = 269, INSERT = 270, INTO = 271, VALUES = 272, UPDATE = 273, SET = 274, AND = 275, OR = 276, NOT = 277, ALTER = 278, TABLE = 279, CREATE = 280, DROP = 281, NULL_VALUE = 282, VARCHAR = 283, INT = 284, INTEGER = 285, DOUBLE = 286, PRECISION = 287, DATE = 288, TIME = 289, ORDER = 290, BY = 291, IS = 292 } |
Functions | |
int | yylex (void) |
int | yyparse () |
Variables | |
int | yydebug |
int | yychar |
YYSTYPE | yylval |
int | yynerrs |
#define YY_REDUCE_PRINT | ( | Rule | ) |
#define YY_STACK_PRINT | ( | Bottom, | |||
Top | ) |
#define YY_SYMBOL_PRINT | ( | Title, | |||
Type, | |||||
Value, | |||||
Location | ) |
#define YYBACKUP | ( | Token, | |||
Value | ) |
#define YYCOPY | ( | To, | |||
From, | |||||
Count | ) |
#define YYDPRINTF | ( | Args | ) |
#define YYLLOC_DEFAULT | ( | Current, | |||
Rhs, | |||||
N | ) |
Value:
do \ if (YYID (N)) \ { \ (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \ (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \ (Current).last_line = YYRHSLOC (Rhs, N).last_line; \ (Current).last_column = YYRHSLOC (Rhs, N).last_column; \ } \ else \ { \ (Current).first_line = (Current).last_line = \ YYRHSLOC (Rhs, 0).last_line; \ (Current).first_column = (Current).last_column = \ YYRHSLOC (Rhs, 0).last_column; \ } \ while (YYID (0))
#define YYPOPSTACK | ( | N | ) | (yyvsp -= (N), yyssp -= (N)) |
Referenced by yyparse().
#define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
#define YYSTACK_BYTES | ( | N | ) |
Value:
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ + YYSTACK_GAP_MAXIMUM)
Definition at line 377 of file y.tab.c.
Referenced by yyparse().
#define YYSTACK_RELOCATE | ( | Stack | ) |
#define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
typedef short int yytype_int16 |
typedef short int yytype_int8 |
typedef unsigned short int yytype_uint16 |
typedef unsigned char yytype_uint8 |
enum yytokentype |
int yylex | ( | void | ) |
int yyparse | ( | ) |
Definition at line 1286 of file y.tab.c.
References YYSTYPE::node, sqpAssignment(), sqpColumn(), sqpColumnDef(), sqpCommand(), sqpNewColumnNode(), sqpNewExpressionNode(), sqpNewValueNode(), sqpOperatorCode(), sqpOrderColumn(), sqpTable(), sqpValue(), YY_, YY_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, YYDPRINTF, YYEMPTY, YYEOF, yyerror(), YYFINAL, YYID, YYINITDEPTH, YYLAST, YYLEX, YYMAXDEPTH, YYNTOKENS, YYPACT_NINF, YYPOPSTACK, YYSIZE_T, YYSTACK_ALLOC, YYSTACK_ALLOC_MAXIMUM, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, YYTABLE_NINF, YYTERROR, and YYTRANSLATE.
Referenced by main().