|
GRASS Programmer's Manual
6.4.2(2012)
|
#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 |
Macros | |
| #define | YYBISON 1 |
| #define | YYBISON_VERSION "2.5" |
| #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 | 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 /* obsolescent; will be withdrawn */ |
| #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_NEEDED 1 |
| #define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
| #define | YYCOPY(To, From, Count) |
| #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 | yypact_value_is_default(yystate) ((yystate) == (-52)) |
| #define | yytable_value_is_error(yytable_value) YYID (0) |
| #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 | YYCASE_(N, S) |
| #define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) |
| #define | YYSYNTAX_ERROR |
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 COLUMN 265 |
Definition at line 156 of file y.tab.c.
Referenced by set_value().
| #define EQUAL 266 |
Definition at line 157 of file y.tab.c.
Referenced by order_intersects(), and segs_intersect().
| #define FROM 268 |
Definition at line 159 of file y.tab.c.
Referenced by GS_get_from(), GS_get_from_real(), GS_get_modelposition(), GS_get_selected_point_on_surface(), GS_get_viewdir(), GS_init_view(), Gs_load_3dview(), GS_look_here(), gs_los_intersect(), gs_los_intersect1(), GS_moveto(), Gs_save_3dview(), GS_set_viewdir(), gs_setlos_enterdata(), gsd_check_focus(), gsd_get_los(), gsd_get_zup(), gsd_set_view(), gsd_zup_twist(), and print_frto().
| #define SET 275 |
Definition at line 166 of file y.tab.c.
Referenced by G__read_Cell_head_array().
| #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 | |||
| ) |
| #define yypact_value_is_default | ( | yystate | ) | ((yystate) == (-52)) |
| #define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
| #define YYSTACK_RELOCATE | ( | Stack_alloc, | |
| Stack | |||
| ) |
Definition at line 408 of file y.tab.c.
Referenced by yyparse().
| #define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
| #define YYSYNTAX_ERROR |
Referenced by yyparse().
| #define yytable_value_is_error | ( | yytable_value | ) | YYID (0) |
| #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 1349 of file y.tab.c.
References YYSTYPE::node, NULL, 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, yylval, YYMAXDEPTH, yynerrs, YYNTOKENS, yypact_value_is_default, YYPOPSTACK, YYSIZE_T, yyalloc::yyss_alloc, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, YYSYNTAX_ERROR, yytable_value_is_error, YYTERROR, YYTRANSLATE, and yyalloc::yyvs_alloc.
Referenced by main().