|
OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
#include <stdio.h>#include <stdlib.h>#include <string>#include <iostream>#include <assert.h>#include <vector>#include <sstream>#include "DAS.h"#include "Error.h"#include "BESDebug.h"#include "parser.h"#include <stddef.h>
Go to the source code of this file.
Macros | |
| #define | _Noreturn YY_ATTRIBUTE ((__noreturn__)) |
| #define | ATTR_OBJ(arg) ((AttrTable *)((parser_arg *)(arg))->_object) |
| #define | ERROR_OBJ(arg) ((parser_arg *)(arg))->_error |
| #define | POP (attr_tab_stack->pop_back()) |
| #define | PUSH(x) (attr_tab_stack->push_back(x)) |
| #define | SECOND_IN_STACK ((*attr_tab_stack)[attr_tab_stack->size()-2]) |
| #define | STACK_EMPTY (attr_tab_stack->empty()) |
| #define | STACK_LENGTH (attr_tab_stack->size()) |
| #define | STATUS(arg) ((parser_arg *)(arg))->_status |
| #define | TOP_OF_STACK (attr_tab_stack->back()) |
| #define | TYPE_NAME_VALUE(x) type << " " << name << " " << (x) |
| #define | YY_(Msgid) Msgid |
| #define | YY_ATTRIBUTE(Spec) /* empty */ |
| #define | YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) |
| #define | YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) |
| #define | YY_HDFEOS_HDFEOS_TAB_HH_INCLUDED |
| #define | YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
| #define | YY_IGNORE_MAYBE_UNINITIALIZED_END |
| #define | YY_INITIAL_VALUE(Value) Value |
| #define | YY_LOCATION_PRINT(File, Loc) ((void) 0) |
| #define | YY_NULLPTR 0 |
| #define | YY_REDUCE_PRINT(Rule) |
| #define | YY_STACK_PRINT(Bottom, Top) |
| #define | YY_SYMBOL_PRINT(Title, Type, Value, Location) |
| #define | YYABORT goto yyabortlab |
| #define | YYACCEPT goto yyacceptlab |
| #define | YYBACKUP(Token, Value) |
| #define | YYBISON 1 |
| #define | YYBISON_VERSION "3.0.1" |
| #define | yychar hdfeoschar |
| #define | yyclearin (yychar = YYEMPTY) |
| #define | YYCOPY(Dst, Src, Count) |
| #define | YYCOPY_NEEDED 1 |
| #define | yydebug hdfeosdebug |
| #define | YYDEBUG 1 |
| #define | YYDEBUG 1 |
| #define | YYDPRINTF(Args) |
| #define | YYEMPTY (-2) |
| #define | YYEOF 0 |
| #define | YYERRCODE 256 |
| #define | yyerrok (yyerrstatus = 0) |
| #define | yyerror hdfeoserror |
| #define | YYERROR goto yyerrorlab |
| #define | YYERROR_VERBOSE 0 |
| #define | YYFINAL 3 |
| #define | YYFPRINTF fprintf |
| #define | YYFREE free |
| #define | YYINITDEPTH 200 |
| #define | YYLAST 71 |
| #define | yylex hdfeoslex |
| #define | yylval hdfeoslval |
| #define | YYMALLOC malloc |
| #define | YYMAXDEPTH 10000 |
| #define | YYMAXUTOK 266 |
| #define | yynerrs hdfeosnerrs |
| #define | YYNNTS 17 |
| #define | YYNRULES 33 |
| #define | YYNSTATES 54 |
| #define | YYNTOKENS 16 |
| #define | YYPACT_NINF -9 |
| #define | yypact_value_is_default(Yystate) (!!((Yystate) == (-9))) |
| #define | yyparse hdfeosparse |
| #define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) |
| #define | YYPULL 1 |
| #define | YYPURE 0 |
| #define | YYPUSH 0 |
| #define | YYRECOVERING() (!!yyerrstatus) |
| #define | YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
| #define | YYSIZE_T size_t |
| #define | YYSKELETON_NAME "yacc.c" |
| #define | YYSTACK_ALLOC YYMALLOC |
| #define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
| #define | YYSTACK_BYTES(N) |
| #define | YYSTACK_FREE YYFREE |
| #define | YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
| #define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
| #define | YYSTYPE char * |
| #define | YYTABLE_NINF -16 |
| #define | yytable_value_is_error(Yytable_value) 0 |
| #define | YYTERROR 1 |
| #define | YYTOKENTYPE |
| #define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
| #define | YYUNDEFTOK 2 |
| #define | YYUSE(E) ((void) (E)) |
Typedefs | |
| typedef short int | yytype_int16 |
| typedef signed char | yytype_int8 |
| typedef unsigned short int | yytype_uint16 |
| typedef unsigned char | yytype_uint8 |
Enumerations | |
| enum | yytokentype { SCAN_INT = 258, SCAN_FLOAT = 259, SCAN_WORD = 260, SCAN_FIELD = 261, SCAN_EQUAL = 262, SCAN_NOT_EQUAL = 263, SCAN_GREATER = 264, SCAN_GREATER_EQL = 265, SCAN_LESS = 266, SCAN_LESS_EQL = 267, GROUP = 258, END_GROUP = 259, OBJECT = 260, END_OBJECT = 261, END = 262, INT = 263, FLOAT = 264, STR = 265, COMMENT = 266, DAS_GROUP = 258, DAS_END_GROUP = 259, DAS_OBJECT = 260, DAS_END_OBJECT = 261, DAS_INT = 262, DAS_FLOAT = 263, DAS_STR = 264, DAS_COMMENT = 265, GROUP = 258, END_GROUP = 259, OBJECT = 260, END_OBJECT = 261, GRID_NAME = 262, SWATH_NAME = 263, ZA_NAME = 264, DEFAULT = 265, XDIM = 266, YDIM = 267, UPPERLEFTPT = 268, LOWERRIGHTPT = 269, PIXELREGISTRATION = 270, PROJECTION = 271, GRIDORIGIN = 272, DIMENSION_NAME = 273, DIMENSION_SIZE = 274, DATA_FIELD_NAME = 275, GEO_FIELD_NAME = 276, DATA_TYPE = 277, DIMENSION_LIST = 278, COMPRESSION_TYPE = 279, INT = 280, FLOAT = 281, STR = 282 } |
Functions | |
| void | free (void *) |
| void | hdfeoserror (parser_arg *arg, const char *s) |
| int | hdfeoslex (void) |
| int | hdfeosparse (parser_arg *arg) |
| void * | malloc (YYSIZE_T) |
| void | mem_list_report () |
| int | yyparse (parser_arg *arg) |
Variables | |
| int | hdfeos_line_num |
| int | hdfeosdebug |
| YYSTYPE | hdfeoslval |
| int | yychar |
| int | yydebug |
| YYSTYPE | yylval |
| int | yynerrs |
| #define _Noreturn YY_ATTRIBUTE ((__noreturn__)) |
Definition at line 301 of file hdfeos.tab.cc.
| #define ATTR_OBJ | ( | arg | ) | ((AttrTable *)((parser_arg *)(arg))->_object) |
Definition at line 140 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define ERROR_OBJ | ( | arg | ) | ((parser_arg *)(arg))->_error |
Definition at line 141 of file hdfeos.tab.cc.
| #define POP (attr_tab_stack->pop_back()) |
Definition at line 203 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define PUSH | ( | x | ) | (attr_tab_stack->push_back(x)) |
Definition at line 202 of file hdfeos.tab.cc.
| #define SECOND_IN_STACK ((*attr_tab_stack)[attr_tab_stack->size()-2]) |
Definition at line 201 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define STACK_EMPTY (attr_tab_stack->empty()) |
Definition at line 205 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define STACK_LENGTH (attr_tab_stack->size()) |
Definition at line 204 of file hdfeos.tab.cc.
| #define STATUS | ( | arg | ) | ((parser_arg *)(arg))->_status |
Definition at line 142 of file hdfeos.tab.cc.
| #define TOP_OF_STACK (attr_tab_stack->back()) |
Definition at line 200 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define TYPE_NAME_VALUE | ( | x | ) | type << " " << name << " " << (x) |
Definition at line 207 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YY_ | ( | Msgid | ) | Msgid |
Definition at line 274 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YY_ATTRIBUTE | ( | Spec | ) | /* empty */ |
Definition at line 284 of file hdfeos.tab.cc.
| #define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) |
Definition at line 289 of file hdfeos.tab.cc.
| #define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) |
Definition at line 293 of file hdfeos.tab.cc.
| #define YY_HDFEOS_HDFEOS_TAB_HH_INCLUDED |
Definition at line 95 of file hdfeos.tab.cc.
| #define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
Definition at line 324 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YY_IGNORE_MAYBE_UNINITIALIZED_END |
Definition at line 325 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YY_INITIAL_VALUE | ( | Value | ) | Value |
Definition at line 321 of file hdfeos.tab.cc.
| #define YY_LOCATION_PRINT | ( | File, | |
| Loc | |||
| ) | ((void) 0) |
Definition at line 707 of file hdfeos.tab.cc.
| #define YY_NULLPTR 0 |
Definition at line 80 of file hdfeos.tab.cc.
| #define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 805 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YY_STACK_PRINT | ( | Bottom, | |
| Top | |||
| ) |
Definition at line 774 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YY_SYMBOL_PRINT | ( | Title, | |
| Type, | |||
| Value, | |||
| Location | |||
| ) |
| #define YYABORT goto yyabortlab |
Definition at line 662 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YYACCEPT goto yyacceptlab |
Definition at line 661 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YYBACKUP | ( | Token, | |
| Value | |||
| ) |
Definition at line 668 of file hdfeos.tab.cc.
| #define YYBISON 1 |
Definition at line 44 of file hdfeos.tab.cc.
| #define YYBISON_VERSION "3.0.1" |
Definition at line 47 of file hdfeos.tab.cc.
| #define yychar hdfeoschar |
Definition at line 70 of file hdfeos.tab.cc.
Definition at line 657 of file hdfeos.tab.cc.
| #define YYCOPY | ( | Dst, | |
| Src, | |||
| Count | |||
| ) |
| #define YYCOPY_NEEDED 1 |
Definition at line 420 of file hdfeos.tab.cc.
| #define yydebug hdfeosdebug |
Definition at line 66 of file hdfeos.tab.cc.
| #define YYDEBUG 1 |
Definition at line 108 of file hdfeos.tab.cc.
| #define YYDEBUG 1 |
Definition at line 108 of file hdfeos.tab.cc.
| #define YYDPRINTF | ( | Args | ) |
Definition at line 699 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YYEMPTY (-2) |
Definition at line 658 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YYEOF 0 |
Definition at line 659 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YYERRCODE 256 |
Definition at line 687 of file hdfeos.tab.cc.
| #define yyerrok (yyerrstatus = 0) |
Definition at line 656 of file hdfeos.tab.cc.
| #define yyerror hdfeoserror |
Definition at line 65 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YYERROR goto yyerrorlab |
Definition at line 663 of file hdfeos.tab.cc.
| #define YYERROR_VERBOSE 0 |
Definition at line 89 of file hdfeos.tab.cc.
| #define YYFINAL 3 |
Definition at line 461 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YYFPRINTF fprintf |
Definition at line 696 of file hdfeos.tab.cc.
| #define YYFREE free |
Definition at line 391 of file hdfeos.tab.cc.
| #define YYINITDEPTH 200 |
Definition at line 824 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YYLAST 71 |
Definition at line 463 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define yylex hdfeoslex |
Definition at line 64 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define yylval hdfeoslval |
Definition at line 69 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YYMALLOC malloc |
Definition at line 385 of file hdfeos.tab.cc.
| #define YYMAXDEPTH 10000 |
Definition at line 835 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YYMAXUTOK 266 |
Definition at line 477 of file hdfeos.tab.cc.
| #define yynerrs hdfeosnerrs |
Definition at line 67 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YYNNTS 17 |
Definition at line 468 of file hdfeos.tab.cc.
| #define YYNRULES 33 |
Definition at line 470 of file hdfeos.tab.cc.
| #define YYNSTATES 54 |
Definition at line 472 of file hdfeos.tab.cc.
| #define YYNTOKENS 16 |
Definition at line 466 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YYPACT_NINF -9 |
Definition at line 549 of file hdfeos.tab.cc.
| #define yypact_value_is_default | ( | Yystate | ) | (!!((Yystate) == (-9))) |
Definition at line 551 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define yyparse hdfeosparse |
Definition at line 63 of file hdfeos.tab.cc.
| #define YYPOPSTACK | ( | N | ) | (yyvsp -= (N), yyssp -= (N)) |
Referenced by yyparse().
| #define YYPULL 1 |
Definition at line 59 of file hdfeos.tab.cc.
| #define YYPURE 0 |
Definition at line 53 of file hdfeos.tab.cc.
| #define YYPUSH 0 |
Definition at line 56 of file hdfeos.tab.cc.
| #define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 666 of file hdfeos.tab.cc.
| #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
Definition at line 264 of file hdfeos.tab.cc.
| #define YYSIZE_T size_t |
Definition at line 258 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YYSKELETON_NAME "yacc.c" |
Definition at line 50 of file hdfeos.tab.cc.
| #define YYSTACK_ALLOC YYMALLOC |
Definition at line 371 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 374 of file hdfeos.tab.cc.
| #define YYSTACK_BYTES | ( | N | ) |
| #define YYSTACK_FREE YYFREE |
Definition at line 372 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
Definition at line 412 of file hdfeos.tab.cc.
| #define YYSTACK_RELOCATE | ( | Stack_alloc, | |
| Stack | |||
| ) |
Definition at line 427 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YYSTYPE char * |
Definition at line 107 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YYTABLE_NINF -16 |
Definition at line 554 of file hdfeos.tab.cc.
| #define yytable_value_is_error | ( | Yytable_value | ) | 0 |
Definition at line 556 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YYTERROR 1 |
Definition at line 686 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YYTOKENTYPE |
Definition at line 153 of file hdfeos.tab.cc.
| #define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
Definition at line 479 of file hdfeos.tab.cc.
Referenced by yyparse().
| #define YYUNDEFTOK 2 |
Definition at line 476 of file hdfeos.tab.cc.
| #define YYUSE | ( | E | ) | ((void) (E)) |
Definition at line 307 of file hdfeos.tab.cc.
| typedef short int yytype_int16 |
Definition at line 248 of file hdfeos.tab.cc.
| typedef signed char yytype_int8 |
Definition at line 236 of file hdfeos.tab.cc.
| typedef unsigned short int yytype_uint16 |
Definition at line 242 of file hdfeos.tab.cc.
| typedef unsigned char yytype_uint8 |
Definition at line 230 of file hdfeos.tab.cc.
| enum yytokentype |
Definition at line 154 of file hdfeos.tab.cc.
| void free | ( | void * | ) |
| void hdfeoserror | ( | parser_arg * | arg, |
| const char * | s | ||
| ) |
Definition at line 1850 of file hdfeos.tab.cc.
| int hdfeoslex | ( | void | ) |
| int hdfeosparse | ( | parser_arg * | arg | ) |
| void* malloc | ( | YYSIZE_T | ) |
| void mem_list_report | ( | ) |
| int yyparse | ( | parser_arg * | arg | ) |
Definition at line 1096 of file hdfeos.tab.cc.
References ATTR_OBJ, BESDEBUG, comment, FALSE, POP, SECOND_IN_STACK, STACK_EMPTY, TOP_OF_STACK, TYPE_NAME_VALUE, YY_, YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, yyalloc, YYDPRINTF, YYEMPTY, YYEOF, yyerror, YYFINAL, YYINITDEPTH, YYLAST, yylex, yylval, YYMAXDEPTH, yynerrs, YYNTOKENS, yypact_value_is_default, YYPOPSTACK, YYSIZE_T, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, YYSTYPE, yytable_value_is_error, YYTERROR, and YYTRANSLATE.
| int hdfeos_line_num |
Definition at line 597 of file lex.hdfeos.cc.
Referenced by while().
| int hdfeosdebug |
| int yychar |
Definition at line 1083 of file hdfeos.tab.cc.
| int yydebug |
Definition at line 813 of file hdfeos.tab.cc.
| YYSTYPE yylval |
Definition at line 1086 of file hdfeos.tab.cc.
| int yynerrs |
Definition at line 1088 of file hdfeos.tab.cc.