Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / TAO_IDL / fe / idl.tab.hpp
blob000f4c974d252eeb7129b7c0f7b81d30a125c3ec
1 /* A Bison parser, made by GNU Bison 3.7.6. */
3 /* Bison interface for Yacc-like parsers in C
5 Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation,
6 Inc.
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.
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.
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/>. */
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.
31 This special exception was added by the Free Software Foundation in
32 version 2.2 of Bison. */
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. */
38 #ifndef YY_TAO_YY_FE_IDL_TAB_HPP_INCLUDED
39 # define YY_TAO_YY_FE_IDL_TAB_HPP_INCLUDED
40 /* Debug traces. */
41 #ifndef YYDEBUG
42 # define YYDEBUG 0
43 #endif
44 #if YYDEBUG
45 extern int tao_yydebug;
46 #endif
48 /* Token kinds. */
49 #ifndef YYTOKENTYPE
50 # define YYTOKENTYPE
51 enum yytokentype
53 YYEMPTY = -2,
54 YYEOF = 0, /* "end of file" */
55 YYerror = 256, /* error */
56 YYUNDEF = 257, /* "invalid token" */
57 IDENTIFIER = 258, /* IDENTIFIER */
58 IDL_CONST = 259, /* IDL_CONST */
59 IDL_MODULE = 260, /* IDL_MODULE */
60 IDL_INTERFACE = 261, /* IDL_INTERFACE */
61 IDL_TYPEDEF = 262, /* IDL_TYPEDEF */
62 IDL_LONG = 263, /* IDL_LONG */
63 IDL_SHORT = 264, /* IDL_SHORT */
64 IDL_UNSIGNED = 265, /* IDL_UNSIGNED */
65 IDL_DOUBLE = 266, /* IDL_DOUBLE */
66 IDL_FLOAT = 267, /* IDL_FLOAT */
67 IDL_CHAR = 268, /* IDL_CHAR */
68 IDL_WCHAR = 269, /* IDL_WCHAR */
69 IDL_OCTET = 270, /* IDL_OCTET */
70 IDL_BOOLEAN = 271, /* IDL_BOOLEAN */
71 IDL_FIXED = 272, /* IDL_FIXED */
72 IDL_ANY = 273, /* IDL_ANY */
73 IDL_OBJECT = 274, /* IDL_OBJECT */
74 IDL_STRUCT = 275, /* IDL_STRUCT */
75 IDL_UNION = 276, /* IDL_UNION */
76 IDL_SWITCH = 277, /* IDL_SWITCH */
77 IDL_ENUM = 278, /* IDL_ENUM */
78 IDL_SEQUENCE = 279, /* IDL_SEQUENCE */
79 IDL_STRING = 280, /* IDL_STRING */
80 IDL_WSTRING = 281, /* IDL_WSTRING */
81 IDL_EXCEPTION = 282, /* IDL_EXCEPTION */
82 IDL_CASE = 283, /* IDL_CASE */
83 IDL_DEFAULT = 284, /* IDL_DEFAULT */
84 IDL_READONLY = 285, /* IDL_READONLY */
85 IDL_ATTRIBUTE = 286, /* IDL_ATTRIBUTE */
86 IDL_ONEWAY = 287, /* IDL_ONEWAY */
87 IDL_IDEMPOTENT = 288, /* IDL_IDEMPOTENT */
88 IDL_VOID = 289, /* IDL_VOID */
89 IDL_IN = 290, /* IDL_IN */
90 IDL_OUT = 291, /* IDL_OUT */
91 IDL_INOUT = 292, /* IDL_INOUT */
92 IDL_RAISES = 293, /* IDL_RAISES */
93 IDL_CONTEXT = 294, /* IDL_CONTEXT */
94 IDL_NATIVE = 295, /* IDL_NATIVE */
95 IDL_LOCAL = 296, /* IDL_LOCAL */
96 IDL_ABSTRACT = 297, /* IDL_ABSTRACT */
97 IDL_CUSTOM = 298, /* IDL_CUSTOM */
98 IDL_FACTORY = 299, /* IDL_FACTORY */
99 IDL_PRIVATE = 300, /* IDL_PRIVATE */
100 IDL_PUBLIC = 301, /* IDL_PUBLIC */
101 IDL_SUPPORTS = 302, /* IDL_SUPPORTS */
102 IDL_TRUNCATABLE = 303, /* IDL_TRUNCATABLE */
103 IDL_VALUETYPE = 304, /* IDL_VALUETYPE */
104 IDL_COMPONENT = 305, /* IDL_COMPONENT */
105 IDL_CONSUMES = 306, /* IDL_CONSUMES */
106 IDL_EMITS = 307, /* IDL_EMITS */
107 IDL_EVENTTYPE = 308, /* IDL_EVENTTYPE */
108 IDL_FINDER = 309, /* IDL_FINDER */
109 IDL_GETRAISES = 310, /* IDL_GETRAISES */
110 IDL_HOME = 311, /* IDL_HOME */
111 IDL_IMPORT = 312, /* IDL_IMPORT */
112 IDL_MULTIPLE = 313, /* IDL_MULTIPLE */
113 IDL_PRIMARYKEY = 314, /* IDL_PRIMARYKEY */
114 IDL_PROVIDES = 315, /* IDL_PROVIDES */
115 IDL_PUBLISHES = 316, /* IDL_PUBLISHES */
116 IDL_SETRAISES = 317, /* IDL_SETRAISES */
117 IDL_TYPEID = 318, /* IDL_TYPEID */
118 IDL_TYPEPREFIX = 319, /* IDL_TYPEPREFIX */
119 IDL_USES = 320, /* IDL_USES */
120 IDL_MANAGES = 321, /* IDL_MANAGES */
121 IDL_TYPENAME = 322, /* IDL_TYPENAME */
122 IDL_PORT = 323, /* IDL_PORT */
123 IDL_MIRRORPORT = 324, /* IDL_MIRRORPORT */
124 IDL_PORTTYPE = 325, /* IDL_PORTTYPE */
125 IDL_CONNECTOR = 326, /* IDL_CONNECTOR */
126 IDL_ALIAS = 327, /* IDL_ALIAS */
127 IDL_INTEGER_LITERAL = 328, /* IDL_INTEGER_LITERAL */
128 IDL_UINTEGER_LITERAL = 329, /* IDL_UINTEGER_LITERAL */
129 IDL_STRING_LITERAL = 330, /* IDL_STRING_LITERAL */
130 IDL_CHARACTER_LITERAL = 331, /* IDL_CHARACTER_LITERAL */
131 IDL_FLOATING_PT_LITERAL = 332, /* IDL_FLOATING_PT_LITERAL */
132 IDL_FIXED_PT_LITERAL = 333, /* IDL_FIXED_PT_LITERAL */
133 IDL_TRUETOK = 334, /* IDL_TRUETOK */
134 IDL_FALSETOK = 335, /* IDL_FALSETOK */
135 IDL_INT8 = 336, /* IDL_INT8 */
136 IDL_UINT8 = 337, /* IDL_UINT8 */
137 IDL_INT16 = 338, /* IDL_INT16 */
138 IDL_UINT16 = 339, /* IDL_UINT16 */
139 IDL_INT32 = 340, /* IDL_INT32 */
140 IDL_UINT32 = 341, /* IDL_UINT32 */
141 IDL_INT64 = 342, /* IDL_INT64 */
142 IDL_UINT64 = 343, /* IDL_UINT64 */
143 IDL_SCOPE_DELIMITOR = 344, /* IDL_SCOPE_DELIMITOR */
144 IDL_LEFT_SHIFT = 345, /* IDL_LEFT_SHIFT */
145 IDL_RIGHT_SHIFT = 346, /* IDL_RIGHT_SHIFT */
146 IDL_WCHAR_LITERAL = 347, /* IDL_WCHAR_LITERAL */
147 IDL_WSTRING_LITERAL = 348, /* IDL_WSTRING_LITERAL */
148 IDL_ANNOTATION_DECL = 349, /* IDL_ANNOTATION_DECL */
149 IDL_ANNOTATION_SYMBOL = 350 /* IDL_ANNOTATION_SYMBOL */
151 typedef enum yytokentype yytoken_kind_t;
152 #endif
154 /* Value type. */
155 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
156 union YYSTYPE
158 #line 163 "fe/idl.ypp"
160 AST_Decl *dcval; /* Decl value */
161 UTL_StrList *slval; /* String list */
162 UTL_NameList *nlval; /* Name list */
163 UTL_ExprList *elval; /* Expression list */
164 UTL_LabelList *llval; /* Label list */
165 UTL_DeclList *dlval; /* Declaration list */
166 FE_InterfaceHeader *ihval; /* Interface header */
167 FE_OBVHeader *vhval; /* Valuetype header */
168 FE_ComponentHeader *chval; /* Component header */
169 FE_HomeHeader *hhval; /* Home header */
170 AST_Expression *exval; /* Expression value */
171 AST_UnionLabel *ulval; /* Union label */
172 AST_Field *ffval; /* Field value */
173 AST_Field::Visibility vival; /* N/A, pub or priv */
174 AST_Expression::ExprType etval; /* Expression type */
175 AST_Argument::Direction dival; /* Argument direction */
176 AST_Operation::Flags ofval; /* Operation flags */
177 FE_Declarator *deval; /* Declarator value */
178 ACE_CDR::Boolean bval; /* Boolean value */
179 ACE_CDR::LongLong ival; /* Long Long value */
180 ACE_CDR::ULongLong uival; /* Unsigned long long */
181 ACE_CDR::Double dval; /* Double value */
182 ACE_CDR::Float fval; /* Float value */
183 ACE_CDR::Char cval; /* Char value */
184 ACE_CDR::WChar wcval; /* WChar value */
185 ACE_CDR::Fixed fixval; /* Fixed point value */
186 UTL_String *sval; /* String value */
187 char *wsval; /* WString value */
188 char *strval; /* char * value */
189 Identifier *idval; /* Identifier */
190 UTL_IdList *idlist; /* Identifier list */
191 AST_Decl::NodeType ntval; /* Node type value */
192 FE_Utils::T_Param_Info *pival; /* Template interface param */
193 FE_Utils::T_PARAMLIST_INFO *plval; /* List of template params */
194 FE_Utils::T_ARGLIST *alval; /* List of template args */
195 AST_Annotation_Appl *annotation_val;
196 AST_Annotation_Appls *annotations_val;
197 AST_Annotation_Appl::Param *annotation_param_val;
198 AST_Annotation_Appl::Params *annotation_params_val;
199 AST_Annotation_Decl *annotation_decl_val;
200 AST_Decls *decls_val;
201 Decl_Annotations_Pair *decl_annotations_pair_val;
203 #line 204 "fe/idl.tab.hpp"
206 typedef union YYSTYPE YYSTYPE;
207 # define YYSTYPE_IS_TRIVIAL 1
208 # define YYSTYPE_IS_DECLARED 1
209 #endif
212 extern YYSTYPE tao_yylval;
214 int tao_yyparse (void);
216 #endif /* !YY_TAO_YY_FE_IDL_TAB_HPP_INCLUDED */