OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
he5dds.tab.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <iostream>
#include <assert.h>
#include <vector>
#include <map>
#include <sstream>
#include "HE5Parser.h"
#include <stddef.h>
Include dependency graph for he5dds.tab.cc:

Go to the source code of this file.

Macros

#define _Noreturn   YY_ATTRIBUTE ((__noreturn__))
 
#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_HE5DDS_HE5DDS_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   he5ddschar
 
#define yyclearin   (yychar = YYEMPTY)
 
#define YYCOPY(Dst, Src, Count)
 
#define YYCOPY_NEEDED   1
 
#define yydebug   he5ddsdebug
 
#define YYDEBUG   1
 
#define YYDEBUG   1
 
#define YYDPRINTF(Args)
 
#define YYEMPTY   (-2)
 
#define YYEOF   0
 
#define YYERRCODE   256
 
#define yyerrok   (yyerrstatus = 0)
 
#define yyerror   he5ddserror
 
#define YYERROR   goto yyerrorlab
 
#define YYERROR_VERBOSE   0
 
#define YYFINAL   2
 
#define YYFPRINTF   fprintf
 
#define YYFREE   free
 
#define YYINITDEPTH   200
 
#define YYLAST   122
 
#define yylex   he5ddslex
 
#define yylval   he5ddslval
 
#define YYMALLOC   malloc
 
#define YYMAXDEPTH   10000
 
#define YYMAXUTOK   282
 
#define yynerrs   he5ddsnerrs
 
#define YYNNTS   26
 
#define YYNRULES   56
 
#define YYNSTATES   108
 
#define YYNTOKENS   33
 
#define YYPACT_NINF   -32
 
#define yypact_value_is_default(Yystate)   (!!((Yystate) == (-32)))
 
#define yyparse   he5ddsparse
 
#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   -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 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 he5ddserror (HE5Parser *he5parser, char *s)
 
int he5ddslex (void)
 
int he5ddsparse (HE5Parser *he5parser)
 
void * malloc (YYSIZE_T)
 
int yyparse (HE5Parser *he5parser)
 

Variables

string dimension_name = ""
 
int he5ddsdebug
 
YYSTYPE he5ddslval
 
bool swath_is_geo_field = false
 
int yychar
 
int yydebug
 
YYSTYPE yylval
 
int yynerrs
 

Macro Definition Documentation

#define _Noreturn   YY_ATTRIBUTE ((__noreturn__))

Definition at line 276 of file he5dds.tab.cc.

#define YY_ (   Msgid)    Msgid

Definition at line 249 of file he5dds.tab.cc.

Referenced by yyparse().

#define YY_ATTRIBUTE (   Spec)    /* empty */

Definition at line 259 of file he5dds.tab.cc.

#define YY_ATTRIBUTE_PURE   YY_ATTRIBUTE ((__pure__))

Definition at line 264 of file he5dds.tab.cc.

#define YY_ATTRIBUTE_UNUSED   YY_ATTRIBUTE ((__unused__))

Definition at line 268 of file he5dds.tab.cc.

#define YY_HE5DDS_HE5DDS_TAB_HH_INCLUDED

Definition at line 95 of file he5dds.tab.cc.

#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

Definition at line 299 of file he5dds.tab.cc.

Referenced by yyparse().

#define YY_IGNORE_MAYBE_UNINITIALIZED_END

Definition at line 300 of file he5dds.tab.cc.

Referenced by yyparse().

#define YY_INITIAL_VALUE (   Value)    Value

Definition at line 296 of file he5dds.tab.cc.

#define YY_LOCATION_PRINT (   File,
  Loc 
)    ((void) 0)

Definition at line 727 of file he5dds.tab.cc.

#define YY_NULLPTR   0

Definition at line 80 of file he5dds.tab.cc.

#define YY_REDUCE_PRINT (   Rule)
Value:
do { \
yy_reduce_print (yyssp, yyvsp, Rule, he5parser); \
} while (0)
if(!(yy_init))
Definition: lex.gse.cc:752
#define yydebug
Definition: he5dds.tab.cc:66

Definition at line 825 of file he5dds.tab.cc.

Referenced by yyparse().

#define YY_STACK_PRINT (   Bottom,
  Top 
)
Value:
do { \
yy_stack_print ((Bottom), (Top)); \
} while (0)
if(!(yy_init))
Definition: lex.gse.cc:752
#define yydebug
Definition: he5dds.tab.cc:66

Definition at line 794 of file he5dds.tab.cc.

Referenced by yyparse().

#define YY_SYMBOL_PRINT (   Title,
  Type,
  Value,
  Location 
)
Value:
do { \
{ \
YYFPRINTF (stderr, "%s ", Title); \
yy_symbol_print (stderr, \
Type, Value, he5parser); \
YYFPRINTF (stderr, "\n"); \
} \
} while (0)
if(!(yy_init))
Definition: lex.gse.cc:752
#define yydebug
Definition: he5dds.tab.cc:66
#define YYFPRINTF
Definition: he5dds.tab.cc:716

Definition at line 731 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYABORT   goto yyabortlab

Definition at line 682 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYACCEPT   goto yyacceptlab

Definition at line 681 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYBACKUP (   Token,
  Value 
)
Value:
{ \
yychar = (Token); \
yylval = (Value); \
YYPOPSTACK (yylen); \
yystate = *yyssp; \
goto yybackup; \
} \
else \
{ \
yyerror (he5parser, YY_("syntax error: cannot back up")); \
} \
while (0)
#define YY_(Msgid)
Definition: he5dds.tab.cc:249
if(!(yy_init))
Definition: lex.gse.cc:752
#define YYPOPSTACK(N)
#define YYERROR
Definition: he5dds.tab.cc:683
while(1)
Definition: lex.gse.cc:778
#define yyerror
Definition: he5dds.tab.cc:65
#define yylval
Definition: he5dds.tab.cc:69
#define yychar
Definition: he5dds.tab.cc:70
#define YYEMPTY
Definition: he5dds.tab.cc:678

Definition at line 688 of file he5dds.tab.cc.

#define YYBISON   1

Definition at line 44 of file he5dds.tab.cc.

#define YYBISON_VERSION   "3.0.1"

Definition at line 47 of file he5dds.tab.cc.

#define yychar   he5ddschar

Definition at line 70 of file he5dds.tab.cc.

#define yyclearin   (yychar = YYEMPTY)

Definition at line 677 of file he5dds.tab.cc.

#define YYCOPY (   Dst,
  Src,
  Count 
)
Value:
do \
{ \
YYSIZE_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(Dst)[yyi] = (Src)[yyi]; \
} \
while (0)
while(1)
Definition: lex.gse.cc:778
#define YYSIZE_T
Definition: he5dds.tab.cc:233

Definition at line 423 of file he5dds.tab.cc.

#define YYCOPY_NEEDED   1

Definition at line 395 of file he5dds.tab.cc.

#define yydebug   he5ddsdebug

Definition at line 66 of file he5dds.tab.cc.

#define YYDEBUG   1

Definition at line 108 of file he5dds.tab.cc.

#define YYDEBUG   1

Definition at line 108 of file he5dds.tab.cc.

#define YYDPRINTF (   Args)
Value:
do { \
YYFPRINTF Args; \
} while (0)
if(!(yy_init))
Definition: lex.gse.cc:752
#define yydebug
Definition: he5dds.tab.cc:66
#define YYFPRINTF
Definition: he5dds.tab.cc:716

Definition at line 719 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYEMPTY   (-2)

Definition at line 678 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYEOF   0

Definition at line 679 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYERRCODE   256

Definition at line 707 of file he5dds.tab.cc.

#define yyerrok   (yyerrstatus = 0)

Definition at line 676 of file he5dds.tab.cc.

#define yyerror   he5ddserror

Definition at line 65 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYERROR   goto yyerrorlab

Definition at line 683 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYERROR_VERBOSE   0

Definition at line 89 of file he5dds.tab.cc.

#define YYFINAL   2

Definition at line 436 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYFPRINTF   fprintf

Definition at line 716 of file he5dds.tab.cc.

#define YYFREE   free

Definition at line 366 of file he5dds.tab.cc.

#define YYINITDEPTH   200

Definition at line 844 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYLAST   122

Definition at line 438 of file he5dds.tab.cc.

Referenced by yyparse().

#define yylex   he5ddslex

Definition at line 64 of file he5dds.tab.cc.

Referenced by yyparse().

#define yylval   he5ddslval

Definition at line 69 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYMALLOC   malloc

Definition at line 360 of file he5dds.tab.cc.

#define YYMAXDEPTH   10000

Definition at line 855 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYMAXUTOK   282

Definition at line 452 of file he5dds.tab.cc.

#define yynerrs   he5ddsnerrs

Definition at line 67 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYNNTS   26

Definition at line 443 of file he5dds.tab.cc.

#define YYNRULES   56

Definition at line 445 of file he5dds.tab.cc.

#define YYNSTATES   108

Definition at line 447 of file he5dds.tab.cc.

#define YYNTOKENS   33

Definition at line 441 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYPACT_NINF   -32

Definition at line 538 of file he5dds.tab.cc.

#define yypact_value_is_default (   Yystate)    (!!((Yystate) == (-32)))

Definition at line 540 of file he5dds.tab.cc.

Referenced by yyparse().

#define yyparse   he5ddsparse

Definition at line 63 of file he5dds.tab.cc.

#define YYPOPSTACK (   N)    (yyvsp -= (N), yyssp -= (N))

Referenced by yyparse().

#define YYPULL   1

Definition at line 59 of file he5dds.tab.cc.

#define YYPURE   0

Definition at line 53 of file he5dds.tab.cc.

#define YYPUSH   0

Definition at line 56 of file he5dds.tab.cc.

#define YYRECOVERING ( )    (!!yyerrstatus)

Definition at line 686 of file he5dds.tab.cc.

#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)

Definition at line 239 of file he5dds.tab.cc.

#define YYSIZE_T   size_t

Definition at line 233 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYSKELETON_NAME   "yacc.c"

Definition at line 50 of file he5dds.tab.cc.

#define YYSTACK_ALLOC   YYMALLOC

Definition at line 346 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

Definition at line 349 of file he5dds.tab.cc.

#define YYSTACK_BYTES (   N)
Value:
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
#define YYSTACK_GAP_MAXIMUM
Definition: he5dds.tab.cc:387
short int yytype_int16
Definition: gse.tab.cc:218
#define YYSTYPE
Definition: he5dds.tab.cc:107

Definition at line 391 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYSTACK_FREE   YYFREE

Definition at line 347 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)

Definition at line 387 of file he5dds.tab.cc.

#define YYSTACK_RELOCATE (   Stack_alloc,
  Stack 
)
Value:
do \
{ \
YYSIZE_T yynewbytes; \
YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
Stack = &yyptr->Stack_alloc; \
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / sizeof (*yyptr); \
} \
while (0)
#define YYSTACK_GAP_MAXIMUM
Definition: he5dds.tab.cc:387
while(1)
Definition: lex.gse.cc:778
#define YYCOPY(Dst, Src, Count)
Definition: he5dds.tab.cc:423
#define YYSIZE_T
Definition: he5dds.tab.cc:233

Definition at line 402 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYSTYPE   char *

Definition at line 107 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYTABLE_NINF   -1

Definition at line 543 of file he5dds.tab.cc.

#define yytable_value_is_error (   Yytable_value)    0

Definition at line 545 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYTERROR   1

Definition at line 706 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYTOKENTYPE

Definition at line 135 of file he5dds.tab.cc.

#define YYTRANSLATE (   YYX)    ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)

Definition at line 454 of file he5dds.tab.cc.

Referenced by yyparse().

#define YYUNDEFTOK   2

Definition at line 451 of file he5dds.tab.cc.

#define YYUSE (   E)    ((void) (E))

Definition at line 282 of file he5dds.tab.cc.

Typedef Documentation

typedef short int yytype_int16

Definition at line 223 of file he5dds.tab.cc.

typedef signed char yytype_int8

Definition at line 211 of file he5dds.tab.cc.

typedef unsigned short int yytype_uint16

Definition at line 217 of file he5dds.tab.cc.

typedef unsigned char yytype_uint8

Definition at line 205 of file he5dds.tab.cc.

Enumeration Type Documentation

Enumerator
SCAN_INT 
SCAN_FLOAT 
SCAN_WORD 
SCAN_FIELD 
SCAN_EQUAL 
SCAN_NOT_EQUAL 
SCAN_GREATER 
SCAN_GREATER_EQL 
SCAN_LESS 
SCAN_LESS_EQL 
GROUP 
END_GROUP 
OBJECT 
END_OBJECT 
END 
INT 
FLOAT 
STR 
COMMENT 
DAS_GROUP 
DAS_END_GROUP 
DAS_OBJECT 
DAS_END_OBJECT 
DAS_INT 
DAS_FLOAT 
DAS_STR 
DAS_COMMENT 
GROUP 
END_GROUP 
OBJECT 
END_OBJECT 
GRID_NAME 
SWATH_NAME 
ZA_NAME 
DEFAULT 
XDIM 
YDIM 
UPPERLEFTPT 
LOWERRIGHTPT 
PIXELREGISTRATION 
PROJECTION 
GRIDORIGIN 
DIMENSION_NAME 
DIMENSION_SIZE 
DATA_FIELD_NAME 
GEO_FIELD_NAME 
DATA_TYPE 
DIMENSION_LIST 
COMPRESSION_TYPE 
INT 
FLOAT 
STR 

Definition at line 136 of file he5dds.tab.cc.

Function Documentation

void free ( void *  )
void he5ddserror ( HE5Parser he5parser,
char *  s 
)

Definition at line 2167 of file he5dds.tab.cc.

int he5ddslex ( void  )
int he5ddsparse ( HE5Parser he5parser)
void* malloc ( YYSIZE_T  )
int yyparse ( HE5Parser he5parser)

Definition at line 1116 of file he5dds.tab.cc.

References dimension_name, HE5Parser::err_msg, HE5Parser::GRID, HE5Parser::grid_list, HE5Grid::gridorigin, HE5_GCTP_ALASKA, HE5_GCTP_ALBERS, HE5_GCTP_AZMEQD, HE5_GCTP_BCEA, HE5_GCTP_CEA, HE5_GCTP_EQRECT, HE5_GCTP_EQUIDC, HE5_GCTP_GEO, HE5_GCTP_GNOMON, HE5_GCTP_GOOD, HE5_GCTP_GVNSP, HE5_GCTP_HAMMER, HE5_GCTP_HOM, HE5_GCTP_IMOLL, HE5_GCTP_ISINUS, HE5_GCTP_LAMAZ, HE5_GCTP_LAMCC, HE5_GCTP_MERCAT, HE5_GCTP_MILLER, HE5_GCTP_MISSING, HE5_GCTP_MOLL, HE5_GCTP_OBLEQA, HE5_GCTP_ORTHO, HE5_GCTP_POLYC, HE5_GCTP_PS, HE5_GCTP_ROBIN, HE5_GCTP_SNSOID, HE5_GCTP_SOM, HE5_GCTP_SPCS, HE5_GCTP_STEREO, HE5_GCTP_TM, HE5_GCTP_UNKNOWN, HE5_GCTP_UTM, HE5_GCTP_VGRINT, HE5_GCTP_WAGIV, HE5_GCTP_WAGVII, HE5_HDFE_CENTER, HE5_HDFE_CORNER, HE5_HDFE_GD_LL, HE5_HDFE_GD_LR, HE5_HDFE_GD_MISSING, HE5_HDFE_GD_UL, HE5_HDFE_GD_UNKNOWN, HE5_HDFE_GD_UR, HE5_HDFE_MISSING, HE5_HDFE_UNKNOWN, HE5Za::name, HE5Dim::name, HE5Swath::name, HE5Var::name, HE5Grid::name, HE5Parser::parser_state, HE5Grid::pixelregistration, HE5Grid::point_left, HE5Grid::point_lower, HE5Grid::point_right, HE5Grid::point_upper, HE5Grid::projection, HE5Dim::size, HE5Parser::structure_state, HE5Parser::SWATH, swath_is_geo_field, HE5Parser::swath_list, 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, 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, YYTRANSLATE, HE5Parser::ZA, and HE5Parser::za_list.

Variable Documentation

string dimension_name = ""

Definition at line 190 of file he5dds.tab.cc.

Referenced by yyparse().

int he5ddsdebug
YYSTYPE he5ddslval

Referenced by while().

bool swath_is_geo_field = false

Definition at line 189 of file he5dds.tab.cc.

Referenced by yyparse().

int yychar

Definition at line 1103 of file he5dds.tab.cc.

int yydebug

Definition at line 833 of file he5dds.tab.cc.

YYSTYPE yylval

Definition at line 1106 of file he5dds.tab.cc.

int yynerrs

Definition at line 1108 of file he5dds.tab.cc.