|
OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
#include <stdio.h>#include <stdlib.h>#include <assert.h>#include <string>#include <sstream>#include <iostream>#include <vector>#include "DAS.h"#include "Error.h"#include "debug.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 | POP (attr_tab_stack->pop_back()) |
| #define | PUSH(x) (attr_tab_stack->push_back(x)) |
| #define | STACK_EMPTY (attr_tab_stack->empty()) |
| #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_HE5DAS_HE5DAS_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 he5daschar |
| #define | yyclearin (yychar = YYEMPTY) |
| #define | YYCOPY(Dst, Src, Count) |
| #define | YYCOPY_NEEDED 1 |
| #define | yydebug he5dasdebug |
| #define | YYDEBUG 1 |
| #define | YYDEBUG 1 |
| #define | YYDPRINTF(Args) |
| #define | YYEMPTY (-2) |
| #define | YYEOF 0 |
| #define | YYERRCODE 256 |
| #define | yyerrok (yyerrstatus = 0) |
| #define | yyerror he5daserror |
| #define | YYERROR goto yyerrorlab |
| #define | YYERROR_VERBOSE 0 |
| #define | YYFINAL 3 |
| #define | YYFPRINTF fprintf |
| #define | YYFREE free |
| #define | YYINITDEPTH 200 |
| #define | YYLAST 72 |
| #define | yylex he5daslex |
| #define | yylval he5daslval |
| #define | YYMALLOC malloc |
| #define | YYMAXDEPTH 10000 |
| #define | YYMAXUTOK 265 |
| #define | yynerrs he5dasnerrs |
| #define | YYNNTS 17 |
| #define | YYNRULES 33 |
| #define | YYNSTATES 54 |
| #define | YYNTOKENS 15 |
| #define | YYPACT_NINF -8 |
| #define | yypact_value_is_default(Yystate) (!!((Yystate) == (-8))) |
| #define | yyparse he5dasparse |
| #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 | he5daserror (parser_arg *arg, char *s) |
| int | he5daslex (void) |
| int | he5dasparse (parser_arg *arg) |
| void * | malloc (YYSIZE_T) |
| int | yyparse (parser_arg *arg) |
Variables | |
| int | he5dasdebug |
| YYSTYPE | he5daslval |
| int | yychar |
| int | yydebug |
| YYSTYPE | yylval |
| int | yynerrs |
| #define _Noreturn YY_ATTRIBUTE ((__noreturn__)) |
Definition at line 274 of file he5das.tab.cc.
| #define ATTR_OBJ | ( | arg | ) | ((AttrTable *)((parser_arg *)(arg))->_object) |
Definition at line 115 of file he5das.tab.cc.
Referenced by yyparse().
| #define POP (attr_tab_stack->pop_back()) |
Definition at line 116 of file he5das.tab.cc.
Referenced by yyparse().
| #define PUSH | ( | x | ) | (attr_tab_stack->push_back(x)) |
Definition at line 117 of file he5das.tab.cc.
| #define STACK_EMPTY (attr_tab_stack->empty()) |
Definition at line 118 of file he5das.tab.cc.
Referenced by yyparse().
| #define TOP_OF_STACK (attr_tab_stack->back()) |
Definition at line 120 of file he5das.tab.cc.
Referenced by yyparse().
| #define TYPE_NAME_VALUE | ( | x | ) | type << " " << name << " " << (x) |
Definition at line 119 of file he5das.tab.cc.
Referenced by yyparse().
| #define YY_ | ( | Msgid | ) | Msgid |
Definition at line 247 of file he5das.tab.cc.
Referenced by yyparse().
| #define YY_ATTRIBUTE | ( | Spec | ) | /* empty */ |
Definition at line 257 of file he5das.tab.cc.
| #define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) |
Definition at line 262 of file he5das.tab.cc.
| #define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) |
Definition at line 266 of file he5das.tab.cc.
| #define YY_HE5DAS_HE5DAS_TAB_HH_INCLUDED |
Definition at line 95 of file he5das.tab.cc.
| #define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
Definition at line 297 of file he5das.tab.cc.
Referenced by yyparse().
| #define YY_IGNORE_MAYBE_UNINITIALIZED_END |
Definition at line 298 of file he5das.tab.cc.
Referenced by yyparse().
| #define YY_INITIAL_VALUE | ( | Value | ) | Value |
Definition at line 294 of file he5das.tab.cc.
| #define YY_LOCATION_PRINT | ( | File, | |
| Loc | |||
| ) | ((void) 0) |
Definition at line 680 of file he5das.tab.cc.
| #define YY_NULLPTR 0 |
Definition at line 80 of file he5das.tab.cc.
| #define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 778 of file he5das.tab.cc.
Referenced by yyparse().
| #define YY_STACK_PRINT | ( | Bottom, | |
| Top | |||
| ) |
Definition at line 747 of file he5das.tab.cc.
Referenced by yyparse().
| #define YY_SYMBOL_PRINT | ( | Title, | |
| Type, | |||
| Value, | |||
| Location | |||
| ) |
| #define YYABORT goto yyabortlab |
Definition at line 635 of file he5das.tab.cc.
Referenced by yyparse().
| #define YYACCEPT goto yyacceptlab |
Definition at line 634 of file he5das.tab.cc.
Referenced by yyparse().
| #define YYBACKUP | ( | Token, | |
| Value | |||
| ) |
Definition at line 641 of file he5das.tab.cc.
| #define YYBISON 1 |
Definition at line 44 of file he5das.tab.cc.
| #define YYBISON_VERSION "3.0.1" |
Definition at line 47 of file he5das.tab.cc.
| #define yychar he5daschar |
Definition at line 70 of file he5das.tab.cc.
Definition at line 630 of file he5das.tab.cc.
| #define YYCOPY | ( | Dst, | |
| Src, | |||
| Count | |||
| ) |
| #define YYCOPY_NEEDED 1 |
Definition at line 393 of file he5das.tab.cc.
| #define yydebug he5dasdebug |
Definition at line 66 of file he5das.tab.cc.
| #define YYDEBUG 1 |
Definition at line 107 of file he5das.tab.cc.
| #define YYDEBUG 1 |
Definition at line 107 of file he5das.tab.cc.
| #define YYDPRINTF | ( | Args | ) |
Definition at line 672 of file he5das.tab.cc.
Referenced by yyparse().
| #define YYEMPTY (-2) |
Definition at line 631 of file he5das.tab.cc.
Referenced by yyparse().
| #define YYEOF 0 |
Definition at line 632 of file he5das.tab.cc.
Referenced by yyparse().
| #define YYERRCODE 256 |
Definition at line 660 of file he5das.tab.cc.
| #define yyerrok (yyerrstatus = 0) |
Definition at line 629 of file he5das.tab.cc.
| #define yyerror he5daserror |
Definition at line 65 of file he5das.tab.cc.
Referenced by yyparse().
| #define YYERROR goto yyerrorlab |
Definition at line 636 of file he5das.tab.cc.
| #define YYERROR_VERBOSE 0 |
Definition at line 89 of file he5das.tab.cc.
| #define YYFINAL 3 |
Definition at line 434 of file he5das.tab.cc.
Referenced by yyparse().
| #define YYFPRINTF fprintf |
Definition at line 669 of file he5das.tab.cc.
| #define YYFREE free |
Definition at line 364 of file he5das.tab.cc.
| #define YYINITDEPTH 200 |
Definition at line 797 of file he5das.tab.cc.
Referenced by yyparse().
| #define YYLAST 72 |
Definition at line 436 of file he5das.tab.cc.
Referenced by yyparse().
| #define yylex he5daslex |
Definition at line 64 of file he5das.tab.cc.
Referenced by yyparse().
| #define yylval he5daslval |
Definition at line 69 of file he5das.tab.cc.
Referenced by yyparse().
| #define YYMALLOC malloc |
Definition at line 358 of file he5das.tab.cc.
| #define YYMAXDEPTH 10000 |
Definition at line 808 of file he5das.tab.cc.
Referenced by yyparse().
| #define YYMAXUTOK 265 |
Definition at line 450 of file he5das.tab.cc.
| #define yynerrs he5dasnerrs |
Definition at line 67 of file he5das.tab.cc.
Referenced by yyparse().
| #define YYNNTS 17 |
Definition at line 441 of file he5das.tab.cc.
| #define YYNRULES 33 |
Definition at line 443 of file he5das.tab.cc.
| #define YYNSTATES 54 |
Definition at line 445 of file he5das.tab.cc.
| #define YYNTOKENS 15 |
Definition at line 439 of file he5das.tab.cc.
Referenced by yyparse().
| #define YYPACT_NINF -8 |
Definition at line 522 of file he5das.tab.cc.
| #define yypact_value_is_default | ( | Yystate | ) | (!!((Yystate) == (-8))) |
Definition at line 524 of file he5das.tab.cc.
Referenced by yyparse().
| #define yyparse he5dasparse |
Definition at line 63 of file he5das.tab.cc.
| #define YYPOPSTACK | ( | N | ) | (yyvsp -= (N), yyssp -= (N)) |
Referenced by yyparse().
| #define YYPULL 1 |
Definition at line 59 of file he5das.tab.cc.
| #define YYPURE 0 |
Definition at line 53 of file he5das.tab.cc.
| #define YYPUSH 0 |
Definition at line 56 of file he5das.tab.cc.
| #define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 639 of file he5das.tab.cc.
| #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
Definition at line 237 of file he5das.tab.cc.
| #define YYSIZE_T size_t |
Definition at line 231 of file he5das.tab.cc.
Referenced by yyparse().
| #define YYSKELETON_NAME "yacc.c" |
Definition at line 50 of file he5das.tab.cc.
| #define YYSTACK_ALLOC YYMALLOC |
Definition at line 344 of file he5das.tab.cc.
Referenced by yyparse().
| #define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 347 of file he5das.tab.cc.
| #define YYSTACK_BYTES | ( | N | ) |
| #define YYSTACK_FREE YYFREE |
Definition at line 345 of file he5das.tab.cc.
Referenced by yyparse().
| #define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
Definition at line 385 of file he5das.tab.cc.
| #define YYSTACK_RELOCATE | ( | Stack_alloc, | |
| Stack | |||
| ) |
Definition at line 400 of file he5das.tab.cc.
Referenced by yyparse().
| #define YYSTYPE char * |
Definition at line 106 of file he5das.tab.cc.
Referenced by yyparse().
| #define YYTABLE_NINF -16 |
Definition at line 527 of file he5das.tab.cc.
| #define yytable_value_is_error | ( | Yytable_value | ) | 0 |
Definition at line 529 of file he5das.tab.cc.
Referenced by yyparse().
| #define YYTERROR 1 |
Definition at line 659 of file he5das.tab.cc.
Referenced by yyparse().
| #define YYTOKENTYPE |
Definition at line 145 of file he5das.tab.cc.
| #define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
Definition at line 452 of file he5das.tab.cc.
Referenced by yyparse().
| #define YYUNDEFTOK 2 |
Definition at line 449 of file he5das.tab.cc.
| #define YYUSE | ( | E | ) | ((void) (E)) |
Definition at line 280 of file he5das.tab.cc.
| typedef short int yytype_int16 |
Definition at line 221 of file he5das.tab.cc.
| typedef signed char yytype_int8 |
Definition at line 209 of file he5das.tab.cc.
| typedef unsigned short int yytype_uint16 |
Definition at line 215 of file he5das.tab.cc.
| typedef unsigned char yytype_uint8 |
Definition at line 203 of file he5das.tab.cc.
| enum yytokentype |
Definition at line 146 of file he5das.tab.cc.
| void free | ( | void * | ) |
| void he5daserror | ( | parser_arg * | arg, |
| char * | s | ||
| ) |
Definition at line 1799 of file he5das.tab.cc.
| int he5daslex | ( | void | ) |
| int he5dasparse | ( | parser_arg * | arg | ) |
| void* malloc | ( | YYSIZE_T | ) |
| int yyparse | ( | parser_arg * | arg | ) |
Definition at line 1069 of file he5das.tab.cc.
References ATTR_OBJ, POP, 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 he5dasdebug |
| int yychar |
Definition at line 1056 of file he5das.tab.cc.
| int yydebug |
Definition at line 786 of file he5das.tab.cc.
| YYSTYPE yylval |
Definition at line 1059 of file he5das.tab.cc.
| int yynerrs |
Definition at line 1061 of file he5das.tab.cc.