Block-Structured AMR Software Framework
 
Loading...
Searching...
No Matches
amrex_iparser.tab.nolint.H File Reference
#include <AMReX_IParser_Y.H>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "amrex_iparser.tab.h"
#include <limits.h>

Go to the source code of this file.

Classes

union  yyalloc
 

Macros

#define YYBISON   30802
 
#define YYBISON_VERSION   "3.8.2"
 
#define YYSKELETON_NAME   "yacc.c"
 
#define YYPURE   0
 
#define YYPUSH   0
 
#define YYPULL   1
 
#define YYSTYPE   AMREX_IPARSERSTYPE
 
#define yyparse   amrex_iparserparse
 
#define yylex   amrex_iparserlex
 
#define yyerror   amrex_iparsererror
 
#define yydebug   amrex_iparserdebug
 
#define yynerrs   amrex_iparsernerrs
 
#define yylval   amrex_iparserlval
 
#define yychar   amrex_iparserchar
 
#define yyalloc   amrex_iparseralloc
 
#define yysymbol_kind_t   amrex_iparsersymbol_kind_t
 
#define YY_CAST(Type, Val)   ((Type) (Val))
 
#define YY_REINTERPRET_CAST(Type, Val)   ((Type) (Val))
 
#define YY_NULLPTR   ((void*)0)
 
#define YYPTRDIFF_T   long
 
#define YYPTRDIFF_MAXIMUM   LONG_MAX
 
#define YYSIZE_T   unsigned
 
#define YYSIZE_MAXIMUM
 
#define YYSIZEOF(X)   YY_CAST (YYPTRDIFF_T, sizeof (X))
 
#define YY_(Msgid)   Msgid
 
#define YY_ATTRIBUTE_PURE
 
#define YY_ATTRIBUTE_UNUSED
 
#define YY_USE(E)   ((void) (E))
 
#define YY_INITIAL_VALUE(Value)   Value
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_END
 
#define YY_IGNORE_USELESS_CAST_BEGIN
 
#define YY_IGNORE_USELESS_CAST_END
 
#define YY_ASSERT(E)   ((void) (0 && (E)))
 
#define YYSTACK_ALLOC   YYMALLOC
 
#define YYSTACK_FREE   YYFREE
 
#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM
 
#define YYMALLOC   malloc
 
#define YYFREE   free
 
#define YYSTACK_GAP_MAXIMUM   (YYSIZEOF (union yyalloc) - 1)
 
#define YYSTACK_BYTES(N)
 
#define YYCOPY_NEEDED   1
 
#define YYSTACK_RELOCATE(Stack_alloc, Stack)
 
#define YYCOPY(Dst, Src, Count)
 
#define YYFINAL   2
 
#define YYLAST   86
 
#define YYNTOKENS   32
 
#define YYNNTS   12
 
#define YYNRULES   37
 
#define YYNSTATES   74
 
#define YYMAXUTOK   274
 
#define YYTRANSLATE(YYX)
 
#define YY_ACCESSING_SYMBOL(State)   YY_CAST (yysymbol_kind_t, yystos[State])
 
#define YYPACT_NINF   (-20)
 
#define yypact_value_is_default(Yyn)    ((Yyn) == YYPACT_NINF)
 
#define YYTABLE_NINF   (-1)
 
#define yytable_value_is_error(Yyn)    0
 
#define yyerrok   (yyerrstatus = 0)
 
#define yyclearin   (yychar = AMREX_IPARSEREMPTY)
 
#define YYACCEPT   goto yyacceptlab
 
#define YYABORT   goto yyabortlab
 
#define YYERROR   goto yyerrorlab
 
#define YYNOMEM   goto yyexhaustedlab
 
#define YYRECOVERING()   (!!yyerrstatus)
 
#define YYBACKUP(Token, Value)
 
#define YYERRCODE   AMREX_IPARSERUNDEF
 
#define YYDPRINTF(Args)   ((void) 0)
 
#define YY_SYMBOL_PRINT(Title, Kind, Value, Location)
 
#define YY_STACK_PRINT(Bottom, Top)
 
#define YY_REDUCE_PRINT(Rule)
 
#define YYINITDEPTH   200
 
#define YYMAXDEPTH   10000
 
#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
 

Typedefs

typedef enum yysymbol_kind_t yysymbol_kind_t
 
typedef signed char yytype_int8
 
typedef short yytype_int16
 
typedef unsigned char yytype_uint8
 
typedef unsigned short yytype_uint16
 
typedef yytype_int8 yy_state_t
 
typedef int yy_state_fast_t
 

Enumerations

enum  yysymbol_kind_t {
  YYSYMBOL_YYEMPTY = -2 , YYSYMBOL_YYEOF = 0 , YYSYMBOL_YYerror = 1 , YYSYMBOL_YYUNDEF = 2 ,
  YYSYMBOL_NODE = 3 , YYSYMBOL_NUMBER = 4 , YYSYMBOL_SYMBOL = 5 , YYSYMBOL_F1 = 6 ,
  YYSYMBOL_F2 = 7 , YYSYMBOL_F3 = 8 , YYSYMBOL_EOL = 9 , YYSYMBOL_FLRDIV = 10 ,
  YYSYMBOL_POW = 11 , YYSYMBOL_12_ = 12 , YYSYMBOL_GEQ = 13 , YYSYMBOL_LEQ = 14 ,
  YYSYMBOL_EQ = 15 , YYSYMBOL_NEQ = 16 , YYSYMBOL_AND = 17 , YYSYMBOL_OR = 18 ,
  YYSYMBOL_19_ = 19 , YYSYMBOL_20_ = 20 , YYSYMBOL_21_ = 21 , YYSYMBOL_22_ = 22 ,
  YYSYMBOL_23_ = 23 , YYSYMBOL_24_ = 24 , YYSYMBOL_25_ = 25 , YYSYMBOL_26_ = 26 ,
  YYSYMBOL_NEG = 27 , YYSYMBOL_UPLUS = 28 , YYSYMBOL_29_ = 29 , YYSYMBOL_30_ = 30 ,
  YYSYMBOL_31_ = 31 , YYSYMBOL_YYACCEPT = 32 , YYSYMBOL_input = 33 , YYSYMBOL_exp = 34 ,
  YYSYMBOL_stmt = 35 , YYSYMBOL_or_exp = 36 , YYSYMBOL_and_exp = 37 , YYSYMBOL_cmp_exp = 38 ,
  YYSYMBOL_add_exp = 39 , YYSYMBOL_mul_exp = 40 , YYSYMBOL_unary_exp = 41 , YYSYMBOL_pow_exp = 42 ,
  YYSYMBOL_primary_exp = 43
}
 
enum  { YYENOMEM = -2 }
 

Functions

int amrex_iparserlex (void)
 
void * malloc (YYSIZE_T)
 
void free (void *)
 
static void yydestruct (const char *yymsg, yysymbol_kind_t yykind, YYSTYPE *yyvaluep)
 

Variables

static const yytype_int8 yytranslate []
 
static const yytype_int8 yypact []
 
static const yytype_int8 yydefact []
 
static const yytype_int8 yypgoto []
 
static const yytype_int8 yydefgoto []
 
static const yytype_int8 yytable []
 
static const yytype_int8 yycheck []
 
static const yytype_int8 yystos []
 
static const yytype_int8 yyr1 []
 
static const yytype_int8 yyr2 []
 
int yychar
 
YYSTYPE yylval
 
int yynerrs
 

Macro Definition Documentation

◆ YY_

#define YY_ (   Msgid)    Msgid

◆ YY_ACCESSING_SYMBOL

#define YY_ACCESSING_SYMBOL (   State)    YY_CAST (yysymbol_kind_t, yystos[State])

Accessing symbol of state STATE.

◆ YY_ASSERT

#define YY_ASSERT (   E)    ((void) (0 && (E)))

◆ YY_ATTRIBUTE_PURE

#define YY_ATTRIBUTE_PURE

◆ YY_ATTRIBUTE_UNUSED

#define YY_ATTRIBUTE_UNUSED

◆ YY_CAST

#define YY_CAST (   Type,
  Val 
)    ((Type) (Val))

◆ YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

◆ YY_IGNORE_MAYBE_UNINITIALIZED_END

#define YY_IGNORE_MAYBE_UNINITIALIZED_END

◆ YY_IGNORE_USELESS_CAST_BEGIN

#define YY_IGNORE_USELESS_CAST_BEGIN

◆ YY_IGNORE_USELESS_CAST_END

#define YY_IGNORE_USELESS_CAST_END

◆ YY_INITIAL_VALUE

#define YY_INITIAL_VALUE (   Value)    Value

◆ YY_NULLPTR

#define YY_NULLPTR   ((void*)0)

◆ YY_REDUCE_PRINT

#define YY_REDUCE_PRINT (   Rule)

◆ YY_REINTERPRET_CAST

#define YY_REINTERPRET_CAST (   Type,
  Val 
)    ((Type) (Val))

◆ YY_STACK_PRINT

#define YY_STACK_PRINT (   Bottom,
  Top 
)

◆ YY_SYMBOL_PRINT

#define YY_SYMBOL_PRINT (   Title,
  Kind,
  Value,
  Location 
)

◆ YY_USE

#define YY_USE (   E)    ((void) (E))

◆ YYABORT

#define YYABORT   goto yyabortlab

◆ YYACCEPT

#define YYACCEPT   goto yyacceptlab

◆ yyalloc

#define yyalloc   amrex_iparseralloc

◆ YYBACKUP

#define YYBACKUP (   Token,
  Value 
)
Value:
do \
{ \
yychar = (Token); \
yylval = (Value); \
YYPOPSTACK (yylen); \
yystate = *yyssp; \
goto yybackup; \
} \
else \
{ \
yyerror (YY_("syntax error: cannot back up")); \
} \
while (0)
@ AMREX_IPARSEREMPTY
Definition amrex_iparser.tab.h:61
#define YY_(Msgid)
Definition amrex_iparser.tab.nolint.H:292
#define yychar
Definition amrex_iparser.tab.nolint.H:75
#define yylval
Definition amrex_iparser.tab.nolint.H:74
#define YYERROR
Definition amrex_iparser.tab.nolint.H:706

◆ YYBISON

#define YYBISON   30802

◆ YYBISON_VERSION

#define YYBISON_VERSION   "3.8.2"

◆ yychar

#define yychar   amrex_iparserchar

◆ yyclearin

#define yyclearin   (yychar = AMREX_IPARSEREMPTY)

◆ YYCOPY

#define YYCOPY (   Dst,
  Src,
  Count 
)
Value:
do \
{ \
YYPTRDIFF_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(Dst)[yyi] = (Src)[yyi]; \
} \
while (0)
#define YYPTRDIFF_T
Definition amrex_iparser.tab.nolint.H:251

◆ YYCOPY_NEEDED

#define YYCOPY_NEEDED   1

◆ yydebug

#define yydebug   amrex_iparserdebug

◆ YYDPRINTF

#define YYDPRINTF (   Args)    ((void) 0)

◆ YYERRCODE

#define YYERRCODE   AMREX_IPARSERUNDEF

◆ yyerrok

#define yyerrok   (yyerrstatus = 0)

◆ yyerror

#define yyerror   amrex_iparsererror

◆ YYERROR

#define YYERROR   goto yyerrorlab

◆ YYFINAL

#define YYFINAL   2

◆ YYFREE

#define YYFREE   free

◆ YYINITDEPTH

#define YYINITDEPTH   200

◆ YYLAST

#define YYLAST   86

◆ yylex

#define yylex (   void)    amrex_iparserlex

◆ yylval

#define yylval   amrex_iparserlval

◆ YYMALLOC

#define YYMALLOC   malloc

◆ YYMAXDEPTH

#define YYMAXDEPTH   10000

◆ YYMAXUTOK

#define YYMAXUTOK   274

◆ yynerrs

#define yynerrs   amrex_iparsernerrs

◆ YYNNTS

#define YYNNTS   12

◆ YYNOMEM

#define YYNOMEM   goto yyexhaustedlab

◆ YYNRULES

#define YYNRULES   37

◆ YYNSTATES

#define YYNSTATES   74

◆ YYNTOKENS

#define YYNTOKENS   32

◆ YYPACT_NINF

#define YYPACT_NINF   (-20)

◆ yypact_value_is_default

#define yypact_value_is_default (   Yyn)     ((Yyn) == YYPACT_NINF)

◆ yyparse

int yyparse (   void)    amrex_iparserparse

◆ YYPOPSTACK

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

◆ YYPTRDIFF_MAXIMUM

#define YYPTRDIFF_MAXIMUM   LONG_MAX

◆ YYPTRDIFF_T

#define YYPTRDIFF_T   long

◆ YYPULL

#define YYPULL   1

◆ YYPURE

#define YYPURE   0

◆ YYPUSH

#define YYPUSH   0

◆ YYRECOVERING

#define YYRECOVERING ( )    (!!yyerrstatus)

◆ YYSIZE_MAXIMUM

#define YYSIZE_MAXIMUM
Value:
: YY_CAST (YYSIZE_T, -1)))
#define YYPTRDIFF_MAXIMUM
Definition amrex_iparser.tab.nolint.H:252
#define YY_CAST(Type, Val)
Definition amrex_iparser.tab.nolint.H:98
#define YYSIZE_T
Definition amrex_iparser.tab.nolint.H:265

◆ YYSIZE_T

#define YYSIZE_T   unsigned

◆ YYSIZEOF

#define YYSIZEOF (   X)    YY_CAST (YYPTRDIFF_T, sizeof (X))

◆ YYSKELETON_NAME

#define YYSKELETON_NAME   "yacc.c"

◆ YYSTACK_ALLOC

#define YYSTACK_ALLOC   YYMALLOC

◆ YYSTACK_ALLOC_MAXIMUM

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

◆ YYSTACK_BYTES

#define YYSTACK_BYTES (   N)
Value:
#define YYSTYPE
Definition amrex_iparser.tab.nolint.H:67
#define YYSIZEOF(X)
Definition amrex_iparser.tab.nolint.H:275
yytype_int8 yy_state_t
Definition amrex_iparser.tab.nolint.H:279
#define YYSTACK_GAP_MAXIMUM
Definition amrex_iparser.tab.nolint.H:439

◆ YYSTACK_FREE

#define YYSTACK_FREE   YYFREE

◆ YYSTACK_GAP_MAXIMUM

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

◆ YYSTACK_RELOCATE

#define YYSTACK_RELOCATE (   Stack_alloc,
  Stack 
)
Value:
do \
{ \
YYPTRDIFF_T yynewbytes; \
YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
Stack = &yyptr->Stack_alloc; \
yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / YYSIZEOF (*yyptr); \
} \
while (0)

◆ YYSTYPE

#define YYSTYPE   AMREX_IPARSERSTYPE

◆ yysymbol_kind_t

#define yysymbol_kind_t   amrex_iparsersymbol_kind_t

◆ YYTABLE_NINF

#define YYTABLE_NINF   (-1)

◆ yytable_value_is_error

#define yytable_value_is_error (   Yyn)     0

◆ YYTRANSLATE

#define YYTRANSLATE (   YYX)
Value:
(0 <= (YYX) && (YYX) <= YYMAXUTOK \
static const yytype_int8 yytranslate[]
Definition amrex_iparser.tab.nolint.H:514
yysymbol_kind_t
Definition amrex_iparser.tab.nolint.H:117
@ YYSYMBOL_YYUNDEF
Definition amrex_iparser.tab.nolint.H:121
#define YYMAXUTOK
Definition amrex_iparser.tab.nolint.H:502

Typedef Documentation

◆ yy_state_fast_t

typedef int yy_state_fast_t

◆ yy_state_t

◆ yysymbol_kind_t

◆ yytype_int16

typedef short yytype_int16

◆ yytype_int8

typedef signed char yytype_int8

◆ yytype_uint16

typedef unsigned short yytype_uint16

◆ yytype_uint8

typedef unsigned char yytype_uint8

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
YYENOMEM 

◆ yysymbol_kind_t

Enumerator
YYSYMBOL_YYEMPTY 
YYSYMBOL_YYEOF 
YYSYMBOL_YYerror 
YYSYMBOL_YYUNDEF 
YYSYMBOL_NODE 
YYSYMBOL_NUMBER 
YYSYMBOL_SYMBOL 
YYSYMBOL_F1 
YYSYMBOL_F2 
YYSYMBOL_F3 
YYSYMBOL_EOL 
YYSYMBOL_FLRDIV 
YYSYMBOL_POW 
YYSYMBOL_12_ 
YYSYMBOL_GEQ 
YYSYMBOL_LEQ 
YYSYMBOL_EQ 
YYSYMBOL_NEQ 
YYSYMBOL_AND 
YYSYMBOL_OR 
YYSYMBOL_19_ 
YYSYMBOL_20_ 
YYSYMBOL_21_ 
YYSYMBOL_22_ 
YYSYMBOL_23_ 
YYSYMBOL_24_ 
YYSYMBOL_25_ 
YYSYMBOL_26_ 
YYSYMBOL_NEG 
YYSYMBOL_UPLUS 
YYSYMBOL_29_ 
YYSYMBOL_30_ 
YYSYMBOL_31_ 
YYSYMBOL_YYACCEPT 
YYSYMBOL_input 
YYSYMBOL_exp 
YYSYMBOL_stmt 
YYSYMBOL_or_exp 
YYSYMBOL_and_exp 
YYSYMBOL_cmp_exp 
YYSYMBOL_add_exp 
YYSYMBOL_mul_exp 
YYSYMBOL_unary_exp 
YYSYMBOL_pow_exp 
YYSYMBOL_primary_exp 

Function Documentation

◆ amrex_iparserlex()

int amrex_iparserlex ( void  )

◆ free()

void free ( void *  )

◆ malloc()

void * malloc ( YYSIZE_T  )

◆ yydestruct()

static void yydestruct ( const char *  yymsg,
yysymbol_kind_t  yykind,
YYSTYPE yyvaluep 
)
static

Variable Documentation

◆ yychar

int yychar

◆ yycheck

const yytype_int8 yycheck[]
static
Initial value:
=
{
10, 8, 9, 20, 18, 4, 5, 6, 7, 8,
29, 21, 22, 23, 24, 0, 10, 31, 29, 4,
5, 6, 7, 8, 23, 24, 29, 18, 18, 18,
29, 25, 26, 17, 41, 42, 43, 44, 23, 24,
31, 31, 18, 18, 29, 4, 5, 6, 7, 8,
18, 18, 23, 24, 30, 30, 66, 67, 9, 39,
40, 71, 30, 30, 23, 24, 11, 30, 19, 31,
29, 13, 14, 15, 16, 32, -1, -1, -1, 21,
22, 33, 34, 35, 36, 37, 38
}

◆ yydefact

const yytype_int8 yydefact[]
static
Initial value:
=
{
2, 0, 1, 32, 33, 0, 0, 0, 0, 0,
0, 0, 4, 7, 9, 11, 13, 20, 23, 27,
30, 0, 0, 0, 0, 33, 29, 28, 0, 3,
6, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 8, 0, 0, 0, 34,
5, 10, 12, 17, 16, 18, 19, 14, 15, 21,
22, 26, 24, 25, 31, 35, 0, 0, 0, 0,
36, 0, 0, 37
}

◆ yydefgoto

const yytype_int8 yydefgoto[]
static
Initial value:
=
{
0, 1, 11, 12, 13, 14, 15, 16, 17, 18,
19, 20
}

◆ yylval

YYSTYPE yylval

◆ yynerrs

int yynerrs

◆ yypact

const yytype_int8 yypact[]
static
Initial value:
=
{
-20, 15, -20, -20, -17, -19, -11, -3, 1, 1,
1, 49, -20, 11, 16, 58, 29, 6, -20, -20,
55, 1, 1, 1, 1, -20, -20, -20, 24, -20,
41, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 11, 25, -14, 9, -20,
-20, 16, 58, 29, 29, 29, 29, 29, 29, 6,
6, -20, -20, -20, -20, -20, 1, 1, 32, 10,
-20, 1, 33, -20
}

◆ yypgoto

const yytype_int8 yypgoto[]
static
Initial value:
=
{
-20, -20, -20, 37, -10, 38, 43, 48, 20, -7,
-20, -20
}

◆ yyr1

const yytype_int8 yyr1[]
static
Initial value:
=
{
0, 32, 33, 33, 34, 34, 34, 35, 35, 36,
36, 37, 37, 38, 38, 38, 38, 38, 38, 38,
39, 39, 39, 40, 40, 40, 40, 41, 41, 41,
42, 42, 43, 43, 43, 43, 43, 43
}

◆ yyr2

const yytype_int8 yyr2[]
static
Initial value:
=
{
0, 2, 0, 3, 1, 3, 2, 1, 3, 1,
3, 1, 3, 1, 3, 3, 3, 3, 3, 3,
1, 3, 3, 1, 3, 3, 3, 1, 2, 2,
1, 3, 1, 1, 3, 4, 6, 8
}

◆ yystos

const yytype_int8 yystos[]
static
Initial value:
=
{
0, 33, 0, 4, 5, 6, 7, 8, 23, 24,
29, 34, 35, 36, 37, 38, 39, 40, 41, 42,
43, 20, 29, 29, 29, 5, 41, 41, 36, 9,
19, 18, 17, 13, 14, 15, 16, 21, 22, 23,
24, 10, 25, 26, 11, 36, 36, 36, 36, 30,
35, 37, 38, 39, 39, 39, 39, 39, 39, 40,
40, 41, 41, 41, 41, 30, 31, 31, 36, 36,
30, 31, 36, 30
}

◆ yytable

const yytype_int8 yytable[]
static
Initial value:
=
{
28, 26, 27, 21, 31, 3, 25, 5, 6, 7,
22, 45, 46, 47, 48, 2, 41, 66, 23, 3,
4, 5, 6, 7, 8, 9, 24, 31, 31, 31,
10, 42, 43, 32, 61, 62, 63, 64, 8, 9,
67, 71, 31, 31, 10, 3, 4, 5, 6, 7,
31, 31, 39, 40, 49, 65, 68, 69, 29, 59,
60, 72, 70, 73, 8, 9, 44, 50, 30, 51,
10, 33, 34, 35, 36, 52, 0, 0, 0, 37,
38, 53, 54, 55, 56, 57, 58
}

◆ yytranslate

const yytype_int8 yytranslate[]
static