#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.4.1" |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 0 |
#define | YYPUSH 0 |
#define | YYPULL 1 |
#define | YYLSP_NEEDED 0 |
#define | YYDEBUG 1 |
#define | YYERROR_VERBOSE 1 |
#define | YYTOKEN_TABLE 0 |
#define | YYTOKENTYPE |
#define | COMPARISON_OPERATOR 258 |
#define | NAME 259 |
#define | STRING 260 |
#define | INTNUM 261 |
#define | FLOATNUM 262 |
#define | ADD 263 |
#define | DROP 264 |
#define | COLUMN 265 |
#define | EQUAL 266 |
#define | SELECT 267 |
#define | FROM 268 |
#define | WHERE 269 |
#define | DELETE 270 |
#define | INSERT 271 |
#define | INTO 272 |
#define | VALUES 273 |
#define | UPDATE 274 |
#define | SET 275 |
#define | AND 276 |
#define | OR 277 |
#define | NOT 278 |
#define | ALTER 279 |
#define | TABLE 280 |
#define | CREATE 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 | ASC 293 |
#define | DESC 294 |
#define | YYSTYPE_IS_TRIVIAL 1 |
#define | yystype YYSTYPE |
#define | YYSTYPE_IS_DECLARED 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_alloc, Stack) |
#define | YYFINAL 27 |
#define | YYLAST 156 |
#define | YYNTOKENS 48 |
#define | YYNNTS 32 |
#define | YYNRULES 87 |
#define | YYNSTATES 157 |
#define | YYUNDEFTOK 2 |
#define | YYMAXUTOK 294 |
#define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define | YYPACT_NINF -52 |
#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 union YYSTYPE | YYSTYPE |
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, DROP = 264, COLUMN = 265, EQUAL = 266, SELECT = 267, FROM = 268, WHERE = 269, DELETE = 270, INSERT = 271, INTO = 272, VALUES = 273, UPDATE = 274, SET = 275, AND = 276, OR = 277, NOT = 278, ALTER = 279, TABLE = 280, CREATE = 281, NULL_VALUE = 282, VARCHAR = 283, INT = 284, INTEGER = 285, DOUBLE = 286, PRECISION = 287, DATE = 288, TIME = 289, ORDER = 290, BY = 291, IS = 292, ASC = 293, DESC = 294, COMPARISON_OPERATOR = 258, NAME = 259, STRING = 260, INTNUM = 261, FLOATNUM = 262, ADD = 263, DROP = 264, COLUMN = 265, EQUAL = 266, SELECT = 267, FROM = 268, WHERE = 269, DELETE = 270, INSERT = 271, INTO = 272, VALUES = 273, UPDATE = 274, SET = 275, AND = 276, OR = 277, NOT = 278, ALTER = 279, TABLE = 280, CREATE = 281, NULL_VALUE = 282, VARCHAR = 283, INT = 284, INTEGER = 285, DOUBLE = 286, PRECISION = 287, DATE = 288, TIME = 289, ORDER = 290, BY = 291, IS = 292, ASC = 293, DESC = 294 } |
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 | ) |
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 | ) |
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ + YYSTACK_GAP_MAXIMUM)
Definition at line 399 of file y.tab.c.
Referenced by yyparse().
#define YYSTACK_RELOCATE | ( | Stack_alloc, | |||
Stack | ) |
do \ { \ YYSIZE_T yynewbytes; \ YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ Stack = &yyptr->Stack_alloc; \ yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ yyptr += yynewbytes / sizeof (*yyptr); \ } \ while (YYID (0))
Definition at line 426 of file y.tab.c.
Referenced by yyparse().
#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 1317 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, yyalloc::yyss_alloc, YYSTACK_ALLOC, YYSTACK_ALLOC_MAXIMUM, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, YYTABLE_NINF, YYTERROR, YYTRANSLATE, and yyalloc::yyvs_alloc.
Referenced by main().