Block-Structured AMR Software Framework
amrex_iparser.tab.h
Go to the documentation of this file.
1 /* A Bison parser, made by GNU Bison 3.8.2. */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation,
6  Inc.
7 
8  This program is free software: you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation, either version 3 of the License, or
11  (at your option) any later version.
12 
13  This program is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with this program. If not, see <https://www.gnu.org/licenses/>. */
20 
21 /* As a special exception, you may create a larger work that contains
22  part or all of the Bison parser skeleton and distribute that work
23  under terms of your choice, so long as that work isn't itself a
24  parser generator using the skeleton or a modified version thereof
25  as a parser skeleton. Alternatively, if you modify or redistribute
26  the parser skeleton itself, you may (at your option) remove this
27  special exception, which will cause the skeleton and the resulting
28  Bison output files to be licensed under the GNU General Public
29  License without this special exception.
30 
31  This special exception was added by the Free Software Foundation in
32  version 2.2 of Bison. */
33 
34 /* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
35  especially those whose name start with YY_ or yy_. They are
36  private implementation details that can be changed or removed. */
37 
38 #ifndef YY_AMREX_IPARSER_AMREX_IPARSER_TAB_H_INCLUDED
39 # define YY_AMREX_IPARSER_AMREX_IPARSER_TAB_H_INCLUDED
40 /* Debug traces. */
41 #ifndef AMREX_IPARSERDEBUG
42 # if defined YYDEBUG
43 #if YYDEBUG
44 # define AMREX_IPARSERDEBUG 1
45 # else
46 # define AMREX_IPARSERDEBUG 0
47 # endif
48 # else /* ! defined YYDEBUG */
49 # define AMREX_IPARSERDEBUG 0
50 # endif /* ! defined YYDEBUG */
51 #endif /* ! defined AMREX_IPARSERDEBUG */
52 #if AMREX_IPARSERDEBUG
53 extern int amrex_iparserdebug;
54 #endif
55 
56 /* Token kinds. */
57 #ifndef AMREX_IPARSERTOKENTYPE
58 # define AMREX_IPARSERTOKENTYPE
60  {
62  AMREX_IPARSEREOF = 0, /* "end of file" */
63  AMREX_IPARSERerror = 256, /* error */
64  AMREX_IPARSERUNDEF = 257, /* "invalid token" */
65  NODE = 258, /* NODE */
66  NUMBER = 259, /* NUMBER */
67  SYMBOL = 260, /* SYMBOL */
68  F1 = 261, /* F1 */
69  F2 = 262, /* F2 */
70  F3 = 263, /* F3 */
71  EOL = 264, /* EOL */
72  FLRDIV = 265, /* "//" */
73  POW = 266, /* "**" */
74  GEQ = 267, /* ">=" */
75  LEQ = 268, /* "<=" */
76  EQ = 269, /* "==" */
77  NEQ = 270, /* "!=" */
78  AND = 271, /* "and" */
79  OR = 272, /* "or" */
80  NEG = 273, /* NEG */
81  UPLUS = 274 /* UPLUS */
82  };
84 #endif
85 
86 /* Value type. */
87 #if ! defined AMREX_IPARSERSTYPE && ! defined AMREX_IPARSERSTYPE_IS_DECLARED
89 {
90 
92  long long d;
97 
98 
99 };
101 # define AMREX_IPARSERSTYPE_IS_TRIVIAL 1
102 # define AMREX_IPARSERSTYPE_IS_DECLARED 1
103 #endif
104 
105 
107 
108 
110 
111 
112 #endif /* !YY_AMREX_IPARSER_AMREX_IPARSER_TAB_H_INCLUDED */
int amrex_iparserparse(void)
enum amrex_iparsertokentype amrex_iparsertoken_kind_t
Definition: amrex_iparser.tab.h:83
AMREX_IPARSERSTYPE amrex_iparserlval
amrex_iparsertokentype
Definition: amrex_iparser.tab.h:60
@ F3
Definition: amrex_iparser.tab.h:70
@ NUMBER
Definition: amrex_iparser.tab.h:66
@ POW
Definition: amrex_iparser.tab.h:73
@ EOL
Definition: amrex_iparser.tab.h:71
@ FLRDIV
Definition: amrex_iparser.tab.h:72
@ AMREX_IPARSERUNDEF
Definition: amrex_iparser.tab.h:64
@ AMREX_IPARSEREOF
Definition: amrex_iparser.tab.h:62
@ NODE
Definition: amrex_iparser.tab.h:65
@ F1
Definition: amrex_iparser.tab.h:68
@ LEQ
Definition: amrex_iparser.tab.h:75
@ AND
Definition: amrex_iparser.tab.h:78
@ OR
Definition: amrex_iparser.tab.h:79
@ AMREX_IPARSERerror
Definition: amrex_iparser.tab.h:63
@ GEQ
Definition: amrex_iparser.tab.h:74
@ EQ
Definition: amrex_iparser.tab.h:76
@ F2
Definition: amrex_iparser.tab.h:69
@ NEQ
Definition: amrex_iparser.tab.h:77
@ AMREX_IPARSEREMPTY
Definition: amrex_iparser.tab.h:61
@ SYMBOL
Definition: amrex_iparser.tab.h:67
@ NEG
Definition: amrex_iparser.tab.h:80
@ UPLUS
Definition: amrex_iparser.tab.h:81
iparser_f1_t
Definition: AMReX_IParser_Y.H:22
iparser_f2_t
Definition: AMReX_IParser_Y.H:26
iparser_f3_t
Definition: AMReX_IParser_Y.H:41
Definition: AMReX_IParser_Y.H:82
Definition: AMReX_IParser_Y.H:95
Definition: amrex_iparser.tab.h:89
enum amrex::iparser_f3_t f3
Definition: amrex_iparser.tab.h:96
struct amrex::iparser_symbol * s
Definition: amrex_iparser.tab.h:93
enum amrex::iparser_f1_t f1
Definition: amrex_iparser.tab.h:94
enum amrex::iparser_f2_t f2
Definition: amrex_iparser.tab.h:95
struct amrex::iparser_node * n
Definition: amrex_iparser.tab.h:91
long long d
Definition: amrex_iparser.tab.h:92