![]() |
TerraLib 4.1
|
#include <stdlib.h>#include <stdio.h>#include <iostream>#include <string.h>#include "TeDatabase.h"Defines | |
| #define | YYBYACC 1 |
| #define | YYMAJOR 1 |
| #define | YYMINOR 9 |
| #define | YYLEX yylex() |
| #define | YYEMPTY -1 |
| #define | yyclearin (yychar=(YYEMPTY)) |
| #define | yyerrok (yyerrflag=0) |
| #define | YYRECOVERING() (yyerrflag!=0) |
| #define | YYPREFIX "yy" |
| #define | YYERRCODE 256 |
| #define | TEMPORALRELATION 257 |
| #define | CHRONON 258 |
| #define | NAME 259 |
| #define | NUMBER 260 |
| #define | MASK 261 |
| #define | OR 262 |
| #define | AND 263 |
| #define | NOT 264 |
| #define | YYTABLESIZE 263 |
| #define | YYFINAL 4 |
| #define | YYDEBUG 0 |
| #define | YYMAXTOKEN 264 |
| #define | YYSTACKSIZE 10000 |
| #define | YYMAXDEPTH 10000 |
| #define | YYINITSTACKSIZE 200 |
| #define | YYABORT goto yyabort |
| #define | YYREJECT goto yyabort |
| #define | YYACCEPT goto yyaccept |
| #define | YYERROR goto yyerrlab |
| #define | YYPARSE_PARAM_ARG |
| #define | YYPARSE_PARAM_DECL |
Typedefs | |
| typedef int | YYSTYPE |
Functions | |
| int | yylex () |
| void | initLexOut () |
| int | initParse (const string &strIn, TeDatabase *db) |
| void | yyerror (char *msg) |
| int | yyparse (string &sql) YYPARSE_PARAM_DECL |
Variables | |
| char | lexOut [1000] |
| char | sqlOutLex [1000] |
| char | sqlOut [1000] |
| char | tempSql [1000] |
| string | aux |
| const char * | myinputptr |
| string | myinputptr_aux |
| long | myinputlim |
| TeDatabase * | database_ |
| const short | yylhs [] |
| const short | yylen [] |
| const short | yydefred [] |
| const short | yydgoto [] |
| const short | yysindex [] |
| const short | yyrindex [] |
| const short | yygindex [] |
| const short | yytable [] |
| const short | yycheck [] |
| int | yydebug |
| int | yynerrs |
| int | yyerrflag |
| int | yychar |
| short * | yyssp |
| YYSTYPE * | yyvsp |
| YYSTYPE | yyval |
| YYSTYPE | yylval |
| short * | yyss |
| short * | yysslim |
| YYSTYPE * | yyvs |
| int | yystacksize |
| #define AND 263 |
| #define CHRONON 258 |
| #define MASK 261 |
| #define NAME 259 |
| #define NOT 264 |
| #define NUMBER 260 |
| #define OR 262 |
| #define TEMPORALRELATION 257 |
| #define YYABORT goto yyabort |
| #define YYACCEPT goto yyaccept |
| #define YYBYACC 1 |
| #define yyclearin (yychar=(YYEMPTY)) |
| #define YYDEBUG 0 |
| #define YYEMPTY -1 |
| #define YYERRCODE 256 |
| #define yyerrok (yyerrflag=0) |
| #define YYERROR goto yyerrlab |
| #define YYFINAL 4 |
| #define YYINITSTACKSIZE 200 |
| #define YYLEX yylex() |
| #define YYMAJOR 1 |
| #define YYMAXDEPTH 10000 |
| #define YYMAXTOKEN 264 |
| #define YYMINOR 9 |
| #define YYPARSE_PARAM_ARG |
| #define YYPARSE_PARAM_DECL |
| #define YYPREFIX "yy" |
| #define YYRECOVERING | ( | ) | (yyerrflag!=0) |
| #define YYREJECT goto yyabort |
| #define YYSTACKSIZE 10000 |
| #define YYTABLESIZE 263 |
| typedef int YYSTYPE |
| void initLexOut | ( | ) |
| int initParse | ( | const string & | strIn, |
| TeDatabase * | db | ||
| ) |
| void yyerror | ( | char * | msg | ) |
| int yylex | ( | ) |
| int yyparse | ( | string & | sql | ) |
| char lexOut[1000] |
| long myinputlim |
| const char* myinputptr |
| char sqlOut[1000] |
| char sqlOutLex[1000] |
| char tempSql[1000] |
| int yychar |
| const short yycheck[] |
{ 40,
0, 262, 263, 41, 2, 3, 59, 259, 59, 263,
8, 9, 259, 59, 257, 59, 260, 59, 260, 59,
261, 258, 59, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 41, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 259, -1,
-1, -1, -1, 264, 262, 263, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 262,
}
| int yydebug |
| const short yydefred[] |
{ 0,
0, 0, 0, 0, 0, 2, 0, 0, 0, 0,
3, 0, 4, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1,
}
| const short yydgoto[] |
{ 4,
}
| int yyerrflag |
| const short yygindex[] |
{ 3,
}
| const short yylen[] |
{ 2,
15, 2, 3, 3, 3,
}
| const short yylhs[] |
{ -1,
0, 0, 0, 0, 0,
}
| int yynerrs |
| const short yyrindex[] |
{ 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 1, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0,
}
| const short yysindex[] |
{ -40,
-52, -40, -40, -260, -251, 0, -37, -40, -40, -50,
0, -253, 0, -246, -45, -242, -43, -243, -41, -241,
-39, -240, -36, -236, 0,
}
| short* yyss |
| short* yysslim |
| short* yyssp |
| int yystacksize |
| const short yytable[] |
{ 3,
5, 8, 9, 11, 6, 7, 5, 10, 14, 9,
12, 13, 15, 16, 17, 18, 19, 20, 21, 22,
23, 25, 24, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 5, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 1, 0,
0, 0, 0, 2, 8, 9, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 5,
}