|
OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
#include "config.h"#include <iostream>#include "Error.h"#include "GSEClause.h"#include "gse_parser.h"#include <stddef.h>#include <stdio.h>
Go to the source code of this file.
Macros | |
| #define | _Noreturn YY_ATTRIBUTE ((__noreturn__)) |
| #define | gse_arg(arg) ((gse_arg *)(arg)) |
| #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_GSE_GSE_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 gse_char |
| #define | yyclearin (yychar = YYEMPTY) |
| #define | YYCOPY(Dst, Src, Count) |
| #define | YYCOPY_NEEDED 1 |
| #define | yydebug gse_debug |
| #define | YYDEBUG 1 |
| #define | YYDPRINTF(Args) |
| #define | YYEMPTY (-2) |
| #define | YYEOF 0 |
| #define | YYERRCODE 256 |
| #define | yyerrok (yyerrstatus = 0) |
| #define | yyerror gse_error |
| #define | YYERROR goto yyerrorlab |
| #define | YYERROR_VERBOSE 0 |
| #define | YYFINAL 7 |
| #define | YYFPRINTF fprintf |
| #define | YYFREE free |
| #define | YYINITDEPTH 200 |
| #define | YYLAST 17 |
| #define | yylex gse_lex |
| #define | yylval gse_lval |
| #define | YYMALLOC malloc |
| #define | YYMAXDEPTH 10000 |
| #define | YYMAXUTOK 267 |
| #define | yynerrs gse_nerrs |
| #define | YYNNTS 5 |
| #define | YYNRULES 13 |
| #define | YYNSTATES 20 |
| #define | YYNTOKENS 13 |
| #define | YYPACT_NINF -7 |
| #define | yypact_value_is_default(Yystate) (!!((Yystate) == (-7))) |
| #define | yyparse gse_parse |
| #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_IS_DECLARED 1 |
| #define | YYSTYPE_IS_TRIVIAL 1 |
| #define | YYTABLE_NINF -1 |
| #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 union YYSTYPE | YYSTYPE |
| 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 | |
| GSEClause * | build_dual_gse_clause (gse_arg *arg, char id[ID_MAX], int op1, double val1, int op2, double val2) |
| GSEClause * | build_gse_clause (gse_arg *arg, char id[ID_MAX], int op, double val) |
| GSEClause * | build_rev_gse_clause (gse_arg *arg, char id[ID_MAX], int op, double val) |
| void | free (void *) |
| void | gse_error (gse_arg *arg, const char *str) |
| int | gse_lex (void) |
| int | gse_parse (gse_arg *arg) |
| void * | malloc (YYSIZE_T) |
| int | yyparse (gse_arg *arg) |
Variables | |
| int | gse_debug |
| YYSTYPE | gse_lval |
| int | yychar |
| int | yydebug |
| YYSTYPE | yylval |
| int | yynerrs |
| #define _Noreturn YY_ATTRIBUTE ((__noreturn__)) |
Definition at line 271 of file gse.tab.cc.
Definition at line 122 of file gse.tab.cc.
Referenced by libdap::function_geogrid(), and libdap::function_grid().
| #define YY_ | ( | Msgid | ) | Msgid |
Definition at line 244 of file gse.tab.cc.
Referenced by yyparse().
| #define YY_ATTRIBUTE | ( | Spec | ) | /* empty */ |
Definition at line 254 of file gse.tab.cc.
| #define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) |
Definition at line 259 of file gse.tab.cc.
| #define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) |
Definition at line 263 of file gse.tab.cc.
| #define YY_GSE_GSE_TAB_HH_INCLUDED |
Definition at line 95 of file gse.tab.cc.
| #define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
Definition at line 294 of file gse.tab.cc.
Referenced by yyparse().
| #define YY_IGNORE_MAYBE_UNINITIALIZED_END |
Definition at line 295 of file gse.tab.cc.
Referenced by yyparse().
| #define YY_INITIAL_VALUE | ( | Value | ) | Value |
Definition at line 291 of file gse.tab.cc.
| #define YY_LOCATION_PRINT | ( | File, | |
| Loc | |||
| ) | ((void) 0) |
Definition at line 644 of file gse.tab.cc.
| #define YY_NULLPTR 0 |
Definition at line 80 of file gse.tab.cc.
| #define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 742 of file gse.tab.cc.
Referenced by yyparse().
| #define YY_STACK_PRINT | ( | Bottom, | |
| Top | |||
| ) |
Definition at line 711 of file gse.tab.cc.
Referenced by yyparse().
| #define YY_SYMBOL_PRINT | ( | Title, | |
| Type, | |||
| Value, | |||
| Location | |||
| ) |
| #define YYABORT goto yyabortlab |
Definition at line 599 of file gse.tab.cc.
Referenced by yyparse().
| #define YYACCEPT goto yyacceptlab |
Definition at line 598 of file gse.tab.cc.
Referenced by yyparse().
| #define YYBACKUP | ( | Token, | |
| Value | |||
| ) |
Definition at line 605 of file gse.tab.cc.
| #define YYBISON 1 |
Definition at line 44 of file gse.tab.cc.
| #define YYBISON_VERSION "3.0.1" |
Definition at line 47 of file gse.tab.cc.
| #define yychar gse_char |
Definition at line 70 of file gse.tab.cc.
Definition at line 594 of file gse.tab.cc.
| #define YYCOPY | ( | Dst, | |
| Src, | |||
| Count | |||
| ) |
| #define YYCOPY_NEEDED 1 |
Definition at line 390 of file gse.tab.cc.
| #define yydebug gse_debug |
Definition at line 66 of file gse.tab.cc.
| #define YYDEBUG 1 |
Definition at line 98 of file gse.tab.cc.
| #define YYDPRINTF | ( | Args | ) |
Definition at line 636 of file gse.tab.cc.
Referenced by yyparse().
| #define YYEMPTY (-2) |
Definition at line 595 of file gse.tab.cc.
Referenced by yyparse().
| #define YYEOF 0 |
Definition at line 596 of file gse.tab.cc.
Referenced by yyparse().
| #define YYERRCODE 256 |
Definition at line 624 of file gse.tab.cc.
| #define yyerrok (yyerrstatus = 0) |
Definition at line 593 of file gse.tab.cc.
| #define yyerror gse_error |
Definition at line 65 of file gse.tab.cc.
Referenced by yyparse().
| #define YYERROR goto yyerrorlab |
Definition at line 600 of file gse.tab.cc.
| #define YYERROR_VERBOSE 0 |
Definition at line 89 of file gse.tab.cc.
| #define YYFINAL 7 |
Definition at line 431 of file gse.tab.cc.
Referenced by yyparse().
| #define YYFPRINTF fprintf |
Definition at line 633 of file gse.tab.cc.
| #define YYFREE free |
Definition at line 361 of file gse.tab.cc.
| #define YYINITDEPTH 200 |
Definition at line 761 of file gse.tab.cc.
Referenced by yyparse().
| #define YYLAST 17 |
Definition at line 433 of file gse.tab.cc.
Referenced by yyparse().
| #define yylex gse_lex |
Definition at line 64 of file gse.tab.cc.
Referenced by yyparse().
| #define yylval gse_lval |
Definition at line 69 of file gse.tab.cc.
Referenced by yyparse().
| #define YYMALLOC malloc |
Definition at line 355 of file gse.tab.cc.
| #define YYMAXDEPTH 10000 |
Definition at line 772 of file gse.tab.cc.
Referenced by yyparse().
| #define YYMAXUTOK 267 |
Definition at line 447 of file gse.tab.cc.
| #define yynerrs gse_nerrs |
Definition at line 67 of file gse.tab.cc.
Referenced by yyparse().
| #define YYNNTS 5 |
Definition at line 438 of file gse.tab.cc.
| #define YYNRULES 13 |
Definition at line 440 of file gse.tab.cc.
| #define YYNSTATES 20 |
Definition at line 442 of file gse.tab.cc.
| #define YYNTOKENS 13 |
Definition at line 436 of file gse.tab.cc.
Referenced by yyparse().
| #define YYPACT_NINF -7 |
Definition at line 516 of file gse.tab.cc.
| #define yypact_value_is_default | ( | Yystate | ) | (!!((Yystate) == (-7))) |
Definition at line 518 of file gse.tab.cc.
Referenced by yyparse().
| #define yyparse gse_parse |
Definition at line 63 of file gse.tab.cc.
| #define YYPOPSTACK | ( | N | ) | (yyvsp -= (N), yyssp -= (N)) |
Referenced by yyparse().
| #define YYPULL 1 |
Definition at line 59 of file gse.tab.cc.
| #define YYPURE 0 |
Definition at line 53 of file gse.tab.cc.
| #define YYPUSH 0 |
Definition at line 56 of file gse.tab.cc.
| #define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 603 of file gse.tab.cc.
| #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
Definition at line 234 of file gse.tab.cc.
| #define YYSIZE_T size_t |
Definition at line 228 of file gse.tab.cc.
Referenced by yyparse().
| #define YYSKELETON_NAME "yacc.c" |
Definition at line 50 of file gse.tab.cc.
| #define YYSTACK_ALLOC YYMALLOC |
Definition at line 341 of file gse.tab.cc.
Referenced by yyparse().
| #define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 344 of file gse.tab.cc.
| #define YYSTACK_BYTES | ( | N | ) |
| #define YYSTACK_FREE YYFREE |
Definition at line 342 of file gse.tab.cc.
Referenced by yyparse().
| #define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
Definition at line 382 of file gse.tab.cc.
| #define YYSTACK_RELOCATE | ( | Stack_alloc, | |
| Stack | |||
| ) |
Definition at line 397 of file gse.tab.cc.
Referenced by yyparse().
| #define YYSTYPE_IS_DECLARED 1 |
Definition at line 164 of file gse.tab.cc.
| #define YYSTYPE_IS_TRIVIAL 1 |
Definition at line 163 of file gse.tab.cc.
| #define YYTABLE_NINF -1 |
Definition at line 521 of file gse.tab.cc.
| #define yytable_value_is_error | ( | Yytable_value | ) | 0 |
Definition at line 523 of file gse.tab.cc.
Referenced by yyparse().
| #define YYTERROR 1 |
Definition at line 623 of file gse.tab.cc.
Referenced by yyparse().
| #define YYTOKENTYPE |
Definition at line 132 of file gse.tab.cc.
| #define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
Definition at line 449 of file gse.tab.cc.
Referenced by yyparse().
| #define YYUNDEFTOK 2 |
Definition at line 446 of file gse.tab.cc.
| #define YYUSE | ( | E | ) | ((void) (E)) |
Definition at line 277 of file gse.tab.cc.
| typedef union YYSTYPE YYSTYPE |
Definition at line 150 of file gse.tab.cc.
| typedef short int yytype_int16 |
Definition at line 218 of file gse.tab.cc.
| typedef signed char yytype_int8 |
Definition at line 206 of file gse.tab.cc.
| typedef unsigned short int yytype_uint16 |
Definition at line 212 of file gse.tab.cc.
| typedef unsigned char yytype_uint8 |
Definition at line 200 of file gse.tab.cc.
| enum yytokentype |
Definition at line 133 of file gse.tab.cc.
| GSEClause * build_dual_gse_clause | ( | gse_arg * | arg, |
| char | id[ID_MAX], | ||
| int | op1, | ||
| double | val1, | ||
| int | op2, | ||
| double | val2 | ||
| ) |
Definition at line 1593 of file gse.tab.cc.
References libdap::dods_equal_op, libdap::dods_greater_equal_op, libdap::dods_greater_op, libdap::dods_less_equal_op, libdap::dods_less_op, and libdap::gse_arg::get_grid().
Referenced by yyparse().

Definition at line 1578 of file gse.tab.cc.
References libdap::gse_arg::get_grid().
Referenced by yyparse().

Definition at line 1586 of file gse.tab.cc.
References libdap::gse_arg::get_grid().
Referenced by yyparse().

| void free | ( | void * | ) |
Referenced by BESMemoryGlobalArea::BESMemoryGlobalArea(), free_ff_char_vector(), gse_free(), hdfeosfree(), he5dasfree(), he5ddsfree(), HDFSP::File::InsertOrigFieldPath_ReadVgVdata(), HDFSP::SD::obtain_noneos2_sds_path(), HDFSP::File::obtain_path(), HDFSP::File::obtain_vdata_path(), HDFSP::SD::Read_Hybrid(), HDFSP::File::ReadHybridNonLoneVdatas(), HDFSP::File::ReadLoneVdatas(), BESMemoryGlobalArea::release_memory(), and BESMemoryGlobalArea::~BESMemoryGlobalArea().
| void gse_error | ( | gse_arg * | arg, |
| const char * | str | ||
| ) |
Definition at line 1531 of file gse.tab.cc.
| int gse_lex | ( | void | ) |
| int gse_parse | ( | gse_arg * | arg | ) |
| void* malloc | ( | YYSIZE_T | ) |
Referenced by BESMemoryGlobalArea::BESMemoryGlobalArea(), gse_alloc(), hdfeosalloc(), he5dasalloc(), he5ddsalloc(), HDFSP::File::InsertOrigFieldPath_ReadVgVdata(), HDFSP::SD::obtain_noneos2_sds_path(), HDFSP::File::obtain_path(), HDFSP::File::obtain_vdata_path(), HDFSP::SD::Read_Hybrid(), HDFSP::File::ReadHybridNonLoneVdatas(), HDFSP::File::ReadLoneVdatas(), and BESMemoryGlobalArea::reclaim_memory().
| int yyparse | ( | gse_arg * | arg | ) |
Definition at line 1033 of file gse.tab.cc.
References build_dual_gse_clause(), build_gse_clause(), build_rev_gse_clause(), 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, yytable_value_is_error, YYTERROR, and YYTRANSLATE.

| int gse_debug |
| YYSTYPE gse_lval |
| int yychar |
Definition at line 1020 of file gse.tab.cc.
| int yydebug |
Definition at line 750 of file gse.tab.cc.
| YYSTYPE yylval |
Definition at line 1023 of file gse.tab.cc.
| int yynerrs |
Definition at line 1025 of file gse.tab.cc.