Block-Structured AMR Software Framework
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
amrex_parser.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_PARSER_AMREX_PARSER_TAB_H_INCLUDED
39# define YY_AMREX_PARSER_AMREX_PARSER_TAB_H_INCLUDED
40/* Debug traces. */
41#ifndef AMREX_PARSERDEBUG
42# if defined YYDEBUG
43#if YYDEBUG
44# define AMREX_PARSERDEBUG 1
45# else
46# define AMREX_PARSERDEBUG 0
47# endif
48# else /* ! defined YYDEBUG */
49# define AMREX_PARSERDEBUG 0
50# endif /* ! defined YYDEBUG */
51#endif /* ! defined AMREX_PARSERDEBUG */
52#if AMREX_PARSERDEBUG
53extern int amrex_parserdebug;
54#endif
55
56/* Token kinds. */
57#ifndef AMREX_PARSERTOKENTYPE
58# define AMREX_PARSERTOKENTYPE
60 {
62 AMREX_PARSEREOF = 0, /* "end of file" */
63 AMREX_PARSERerror = 256, /* error */
64 AMREX_PARSERUNDEF = 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 POW = 265, /* "**" */
73 GEQ = 266, /* ">=" */
74 LEQ = 267, /* "<=" */
75 EQ = 268, /* "==" */
76 NEQ = 269, /* "!=" */
77 AND = 270, /* "and" */
78 OR = 271, /* "or" */
79 NEG = 272, /* NEG */
80 UPLUS = 273 /* UPLUS */
81 };
83#endif
84
85/* Value type. */
86#if ! defined AMREX_PARSERSTYPE && ! defined AMREX_PARSERSTYPE_IS_DECLARED
100# define AMREX_PARSERSTYPE_IS_TRIVIAL 1
101# define AMREX_PARSERSTYPE_IS_DECLARED 1
102#endif
103
104
106
107
109
110
111#endif /* !YY_AMREX_PARSER_AMREX_PARSER_TAB_H_INCLUDED */
enum amrex_parsertokentype amrex_parsertoken_kind_t
Definition amrex_parser.tab.h:82
amrex_parsertokentype
Definition amrex_parser.tab.h:60
@ AMREX_PARSERerror
Definition amrex_parser.tab.h:63
@ F3
Definition amrex_parser.tab.h:70
@ NUMBER
Definition amrex_parser.tab.h:66
@ AMREX_PARSEREOF
Definition amrex_parser.tab.h:62
@ POW
Definition amrex_parser.tab.h:72
@ EOL
Definition amrex_parser.tab.h:71
@ NODE
Definition amrex_parser.tab.h:65
@ F1
Definition amrex_parser.tab.h:68
@ LEQ
Definition amrex_parser.tab.h:74
@ AND
Definition amrex_parser.tab.h:77
@ OR
Definition amrex_parser.tab.h:78
@ GEQ
Definition amrex_parser.tab.h:73
@ EQ
Definition amrex_parser.tab.h:75
@ F2
Definition amrex_parser.tab.h:69
@ NEQ
Definition amrex_parser.tab.h:76
@ SYMBOL
Definition amrex_parser.tab.h:67
@ AMREX_PARSEREMPTY
Definition amrex_parser.tab.h:61
@ AMREX_PARSERUNDEF
Definition amrex_parser.tab.h:64
@ NEG
Definition amrex_parser.tab.h:79
@ UPLUS
Definition amrex_parser.tab.h:80
int amrex_parserparse(void)
AMREX_PARSERSTYPE amrex_parserlval
parser_f2_t
Definition AMReX_Parser_Y.H:81
parser_f3_t
Definition AMReX_Parser_Y.H:126
parser_f1_t
Definition AMReX_Parser_Y.H:24
Definition AMReX_Parser_Y.H:182
Definition AMReX_Parser_Y.H:195
Definition amrex_parser.tab.h:88
struct amrex::parser_symbol * s
Definition amrex_parser.tab.h:92
enum amrex::parser_f3_t f3
Definition amrex_parser.tab.h:95
double d
Definition amrex_parser.tab.h:91
struct amrex::parser_node * n
Definition amrex_parser.tab.h:90
enum amrex::parser_f2_t f2
Definition amrex_parser.tab.h:94
enum amrex::parser_f1_t f1
Definition amrex_parser.tab.h:93