|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-56a9afeb9f
|
#include <stdlib.h>#include <string.h>#include <math.h>#include <grass/sqlp.h>#include "sqlp.tab.h"#include <limits.h>#include <stdio.h>
Go to the source code of this file.
Functions | |
| int | yylex (void) |
| void * | malloc (unsigned) |
| void | free (void *) |
| int | yyparse (void) |
Variables | |
| int | yydebug |
| int | yychar |
| YYSTYPE | yylval |
| int | yynerrs |
Definition at line 326 of file sqlp.tab.c.
| #define YY_ACCESSING_SYMBOL | ( | State | ) | YY_CAST (yysymbol_kind_t, yystos[State]) |
Accessing symbol of state STATE.
Definition at line 599 of file sqlp.tab.c.
Definition at line 392 of file sqlp.tab.c.
| #define YY_ATTRIBUTE_PURE |
Definition at line 335 of file sqlp.tab.c.
| #define YY_ATTRIBUTE_UNUSED |
Definition at line 343 of file sqlp.tab.c.
Definition at line 88 of file sqlp.tab.c.
| #define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
Definition at line 372 of file sqlp.tab.c.
| #define YY_IGNORE_MAYBE_UNINITIALIZED_END |
Definition at line 373 of file sqlp.tab.c.
| #define YY_IGNORE_USELESS_CAST_BEGIN |
Definition at line 387 of file sqlp.tab.c.
| #define YY_IGNORE_USELESS_CAST_END |
Definition at line 388 of file sqlp.tab.c.
Definition at line 369 of file sqlp.tab.c.
Definition at line 100 of file sqlp.tab.c.
Definition at line 944 of file sqlp.tab.c.
Definition at line 89 of file sqlp.tab.c.
Definition at line 913 of file sqlp.tab.c.
Definition at line 349 of file sqlp.tab.c.
| #define YYABORT goto yyabortlab |
Definition at line 805 of file sqlp.tab.c.
| #define YYACCEPT goto yyacceptlab |
Definition at line 804 of file sqlp.tab.c.
Definition at line 812 of file sqlp.tab.c.
| #define YYBISON 30802 |
Definition at line 49 of file sqlp.tab.c.
| #define YYBISON_VERSION "3.8.2" |
Definition at line 52 of file sqlp.tab.c.
Definition at line 802 of file sqlp.tab.c.
Definition at line 509 of file sqlp.tab.c.
| #define YYCOPY_NEEDED 1 |
Definition at line 481 of file sqlp.tab.c.
| #define YYDEBUG 1 |
Definition at line 77 of file sqlp.tab.c.
Definition at line 842 of file sqlp.tab.c.
Definition at line 831 of file sqlp.tab.c.
| #define yyerrok (yyerrstatus = 0) |
Definition at line 801 of file sqlp.tab.c.
| #define YYERROR goto yyerrorlab |
Definition at line 806 of file sqlp.tab.c.
| #define YYERROR_VERBOSE 1 |
Definition at line 78 of file sqlp.tab.c.
| #define YYFINAL 27 |
Definition at line 522 of file sqlp.tab.c.
Definition at line 839 of file sqlp.tab.c.
Definition at line 453 of file sqlp.tab.c.
| #define YYINITDEPTH 200 |
Definition at line 963 of file sqlp.tab.c.
| #define YYLAST 156 |
Definition at line 524 of file sqlp.tab.c.
Definition at line 447 of file sqlp.tab.c.
| #define YYMAXDEPTH 10000 |
Definition at line 974 of file sqlp.tab.c.
| #define YYMAXUTOK 294 |
Definition at line 536 of file sqlp.tab.c.
| #define YYNNTS 32 |
Definition at line 529 of file sqlp.tab.c.
| #define YYNOMEM goto yyexhaustedlab |
Definition at line 807 of file sqlp.tab.c.
| #define YYNRULES 87 |
Definition at line 531 of file sqlp.tab.c.
| #define YYNSTATES 157 |
Definition at line 533 of file sqlp.tab.c.
| #define YYNTOKENS 48 |
Definition at line 527 of file sqlp.tab.c.
| #define YYPACT_NINF (-52) |
Definition at line 632 of file sqlp.tab.c.
| #define yypact_value_is_default | ( | Yyn | ) | ((Yyn) == YYPACT_NINF) |
Definition at line 634 of file sqlp.tab.c.
Definition at line 286 of file sqlp.tab.c.
Definition at line 285 of file sqlp.tab.c.
| #define YYPULL 1 |
Definition at line 64 of file sqlp.tab.c.
| #define YYPURE 0 |
Definition at line 58 of file sqlp.tab.c.
| #define YYPUSH 0 |
Definition at line 61 of file sqlp.tab.c.
| #define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 810 of file sqlp.tab.c.
| #define YYSIZE_MAXIMUM |
Definition at line 303 of file sqlp.tab.c.
Definition at line 299 of file sqlp.tab.c.
Definition at line 309 of file sqlp.tab.c.
| #define YYSKELETON_NAME "yacc.c" |
Definition at line 55 of file sqlp.tab.c.
Definition at line 433 of file sqlp.tab.c.
| #define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 436 of file sqlp.tab.c.
Definition at line 477 of file sqlp.tab.c.
Definition at line 434 of file sqlp.tab.c.
Definition at line 473 of file sqlp.tab.c.
| #define YYSTACK_RELOCATE | ( | Stack_alloc, | |
| Stack | |||
| ) |
Definition at line 488 of file sqlp.tab.c.
| #define YYTABLE_NINF (-1) |
Definition at line 637 of file sqlp.tab.c.
Definition at line 639 of file sqlp.tab.c.
Definition at line 541 of file sqlp.tab.c.
Definition at line 316 of file sqlp.tab.c.
Definition at line 313 of file sqlp.tab.c.
Definition at line 190 of file sqlp.tab.c.
Definition at line 237 of file sqlp.tab.c.
Definition at line 229 of file sqlp.tab.c.
Definition at line 269 of file sqlp.tab.c.
Definition at line 258 of file sqlp.tab.c.
| Enumerator | |
|---|---|
| YYENOMEM | |
Definition at line 799 of file sqlp.tab.c.
Definition at line 106 of file sqlp.tab.c.
References yyalloc().
Referenced by atou1(), avl_free(), BM_create(), BM_create_sparse(), BM_destroy(), BM_destroy_sparse(), BM_file_read(), btree_free(), btree_update(), Cdhc_anderson_darling(), Cdhc_anderson_darling_exp(), Cdhc_chi_square(), Cdhc_chi_square_exp(), Cdhc_cramer_von_mises(), Cdhc_cramer_von_mises_exp(), Cdhc_dmax(), Cdhc_dmax_exp(), Cdhc_durbins_exact(), Cdhc_royston(), Cdhc_shapiro_francia(), Cdhc_shapiro_wilk(), Cdhc_watson_u2(), Cdhc_watson_u2_exp(), Cdhc_weisberg_bingham(), chouse(), chousv(), closedir(), cminv(), cmmult(), csolv(), db_free(), DBFAddNativeFieldType(), DBFAlterFieldDefn(), DBFClose(), DBFCreateLL(), DBFDeleteField(), DBFOpenLL(), DBFReorderFields(), DGL_DEL_NODE_INEDGE_FUNC(), DGL_DEL_NODE_OUTEDGE_FUNC(), dgl_edge_prioritizer_del(), DGL_EDGE_T_RELEASE_FUNC(), DGL_NODE_T_RELEASE_FUNC(), dgl_read_V1(), dgl_read_V2(), dgl_release_V1(), dgl_release_V2(), DGL_SPAN_DEPTHFIRST_SPANNING_FUNC(), DGL_UNFLATTEN_FUNC(), dglFreeSPReport(), dglHeapFree(), dglTreeEdgeAdd(), dglTreeEdgeCancel(), dglTreeEdgePri32Add(), dglTreeEdgePri32Cancel(), dglTreeNode2Add(), dglTreeNode2Cancel(), dglTreeNodeAdd(), dglTreeNodeCancel(), dglTreeNodePri32Add(), dglTreeNodePri32Cancel(), dglTreePredistAdd(), dglTreePredistCancel(), dglTreeTouchI32Add(), dglTreeTouchI32Cancel(), dig_free_area(), eigen(), eigval(), evmax(), free_data_buffs(), G_free(), GK_clear_keys(), GK_delete_key(), GK_update_frames(), GS_load_att_map(), GS_write_zoom(), heigval(), heigvec(), hevmax(), hmgen(), house(), housev(), I_cluster_begin(), I_free_group_ref(), I_free_signatures(), I_SetClassTitle(), I_SetSigTitle(), I_SortSigSetBySemanticLabel(), ldumat(), link_cleanup(), link_init(), minv(), N_free_les(), opendir(), MM_register::operator delete(), MM_register::operator delete[](), otrma(), otrsm(), process_point(), quad_data_new(), Rast3d_free(), rbtree_clear(), rbtree_destroy(), rbtree_remove(), read_cube(), rmmult(), Rowio_release(), RTreeDestroyTree(), RTreeFreeBoundary(), RTreeFreeListBranch(), RTreeFreeListNode(), RTreeFreeNode(), RTreeFreeRect(), SHPClose(), SHPCreateLL(), SHPDestroyObject(), SHPOpenLL(), SHPRestoreSHX(), SHPWriteHeader(), SHPWriteObject(), solv(), sqpCopyValue(), sqpFreeNode(), sqpFreeStmt(), sqpOperatorCode(), sv2u1v(), sv2uv(), sv2val(), svdu1v(), svduv(), svdval(), tavl_free(), unitary(), utrncm(), utrnhm(), yyfree(), and yylex().
Referenced by avl_malloc(), BM_create(), BM_create_sparse(), BM_file_read(), btree_create(), Cairo_Bitmap(), Cdhc_anderson_darling(), Cdhc_anderson_darling_exp(), Cdhc_chi_square(), Cdhc_chi_square_exp(), Cdhc_cramer_von_mises(), Cdhc_cramer_von_mises_exp(), Cdhc_dagostino_d(), Cdhc_dmax(), Cdhc_dmax_exp(), Cdhc_durbins_exact(), Cdhc_royston(), Cdhc_shapiro_francia(), Cdhc_shapiro_wilk(), Cdhc_watson_u2(), Cdhc_watson_u2_exp(), Cdhc_weisberg_bingham(), db_malloc(), db_realloc(), db_select_CatValArray(), DBFAddNativeFieldType(), DBFAlterFieldDefn(), DBFCloneEmpty(), DBFCreateLL(), DBFDeleteField(), DBFOpenLL(), DBFReorderFields(), DGL_DEL_NODE_INEDGE_FUNC(), DGL_DEL_NODE_OUTEDGE_FUNC(), dgl_edge_prioritizer_add(), dgl_edge_prioritizer_del(), DGL_EDGE_T_INITIALIZE_FUNC(), DGL_NODE_T_INITIALIZE_FUNC(), dgl_read_V1(), dgl_read_V2(), dglReadChunk(), dglTreeEdgeAlloc(), dglTreeEdgePri32Alloc(), dglTreeNode2Alloc(), dglTreeNodeAlloc(), dglTreeNodePri32Alloc(), dglTreePredistAlloc(), dglTreeTouchI32Alloc(), G__malloc(), G__realloc(), GK_add_key(), I_cluster_begin(), link_init(), link_new(), minv(), MT_divide(), MT_functions_new(), MT_tree_info_new(), MT_tree_new(), opendir(), MM_register::operator new(), MM_register::operator new[](), quad_data_new(), quad_divide_data(), quad_point_new(), Rast3d_malloc(), rbtree_create(), read_cube(), RTreeAllocBoundary(), RTreeAllocNode(), RTreeAllocRect(), RTreeCreateTree(), RTreeNewListNode(), SHPCreateLL(), SHPCreateObject(), SHPOpenLL(), SHPRestoreSHX(), SHPWriteHeader(), SHPWriteObject(), tavl_malloc(), Vect__new_line_struct(), Vect_new_map_struct(), and yyalloc().
The main scanner function which does all the work.
Definition at line 769 of file sqlp.yy.c.
References ADD, ALTER, AND, ASC, BY, COLUMN, COMPARISON_OPERATOR, CREATE, DATE, DELETE, DESC, DOUBLE, DROP, ECHO, EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, EQUAL, FLOATNUM, YYSTYPE::floatval, free(), FROM, INITIAL, INSERT, INT, INTEGER, INTNUM, INTO, YYSTYPE::intval, IS, NAME, NOT, NULL, NULL_VALUE, OR, ORDER, PRECISION, SELECT, SET, STRING, YYSTYPE::strval, TABLE, TIME, unput, UPDATE, VALUES, VARCHAR, WHERE, YY_BREAK, YY_BUF_SIZE, YY_BUFFER_NEW, YY_BUFFER_NORMAL, yy_create_buffer(), YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, YY_DO_BEFORE_ACTION, YY_END_OF_BUFFER, YY_FATAL_ERROR, YY_MORE_ADJ, YY_NEW_FILE, YY_RESTORE_YY_MORE_OFFSET, YY_RULE_SETUP, YY_SC_TO_UI, YY_START, YY_STATE_EOF, yyerror(), yyin, yylval, yymore, yyout, yyterminate, yytext, yytext_ptr, and yywrap().
Referenced by yyparse().
Definition at line 1017 of file sqlp.tab.c.
References NULL, SORT_ASC, SORT_DESC, SQLP_ADD_COLUMN, SQLP_AND, SQLP_CREATE, SQLP_D, SQLP_DATE, SQLP_DELETE, SQLP_DOUBLE, SQLP_DROP, SQLP_DROP_COLUMN, SQLP_EQ, SQLP_EXPR, SQLP_I, SQLP_INSERT, SQLP_INTEGER, SQLP_ISNULL, SQLP_NOT, SQLP_NOTNULL, SQLP_NULL, SQLP_OR, SQLP_S, SQLP_SELECT, SQLP_TIME, SQLP_UPDATE, SQLP_VARCHAR, sqlpStmt, sqpAssignment(), sqpColumn(), sqpColumnDef(), sqpCommand(), sqpNewColumnNode(), sqpNewExpressionNode(), sqpNewValueNode(), sqpOperatorCode(), sqpOrderColumn(), sqpTable(), sqpValue(), SQLPSTMT::upperNodeptr, YY_, YY_ACCESSING_SYMBOL, YY_ASSERT, YY_CAST, YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_IGNORE_USELESS_CAST_BEGIN, YY_IGNORE_USELESS_CAST_END, YY_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, yyalloc(), yychar, YYDPRINTF, YYEMPTY, YYEOF, yyerror(), YYERROR, YYerror, YYFINAL, YYINITDEPTH, YYLAST, yylex(), yylval, YYMAXDEPTH, yynerrs, YYNOMEM, YYNSTATES, YYNTOKENS, yypact_value_is_default, YYPOPSTACK, YYPTRDIFF_T, YYSIZE_T, YYSIZEOF, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, YYSYMBOL_YYEMPTY, YYSYMBOL_YYEOF, YYSYMBOL_YYerror, yytable_value_is_error, YYTRANSLATE, and YYUNDEF.
| int yychar |
Definition at line 1002 of file sqlp.tab.c.
Referenced by yyparse().
| int yydebug |
Definition at line 952 of file sqlp.tab.c.
| YYSTYPE yylval |
Definition at line 1005 of file sqlp.tab.c.
| int yynerrs |
Definition at line 1007 of file sqlp.tab.c.
Referenced by yyparse().