1 /* A Bison parser, made by GNU Bison 3.8.2. */
3 /* Bison interface for Yacc-like parsers in C
5 Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation,
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
45 extern int tao_yydebug
;
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_MAP
= 280, /* IDL_MAP */
80 IDL_STRING
= 281, /* IDL_STRING */
81 IDL_WSTRING
= 282, /* IDL_WSTRING */
82 IDL_EXCEPTION
= 283, /* IDL_EXCEPTION */
83 IDL_CASE
= 284, /* IDL_CASE */
84 IDL_DEFAULT
= 285, /* IDL_DEFAULT */
85 IDL_READONLY
= 286, /* IDL_READONLY */
86 IDL_ATTRIBUTE
= 287, /* IDL_ATTRIBUTE */
87 IDL_ONEWAY
= 288, /* IDL_ONEWAY */
88 IDL_IDEMPOTENT
= 289, /* IDL_IDEMPOTENT */
89 IDL_VOID
= 290, /* IDL_VOID */
90 IDL_IN
= 291, /* IDL_IN */
91 IDL_OUT
= 292, /* IDL_OUT */
92 IDL_INOUT
= 293, /* IDL_INOUT */
93 IDL_RAISES
= 294, /* IDL_RAISES */
94 IDL_CONTEXT
= 295, /* IDL_CONTEXT */
95 IDL_NATIVE
= 296, /* IDL_NATIVE */
96 IDL_LOCAL
= 297, /* IDL_LOCAL */
97 IDL_ABSTRACT
= 298, /* IDL_ABSTRACT */
98 IDL_CUSTOM
= 299, /* IDL_CUSTOM */
99 IDL_FACTORY
= 300, /* IDL_FACTORY */
100 IDL_PRIVATE
= 301, /* IDL_PRIVATE */
101 IDL_PUBLIC
= 302, /* IDL_PUBLIC */
102 IDL_SUPPORTS
= 303, /* IDL_SUPPORTS */
103 IDL_TRUNCATABLE
= 304, /* IDL_TRUNCATABLE */
104 IDL_VALUETYPE
= 305, /* IDL_VALUETYPE */
105 IDL_COMPONENT
= 306, /* IDL_COMPONENT */
106 IDL_CONSUMES
= 307, /* IDL_CONSUMES */
107 IDL_EMITS
= 308, /* IDL_EMITS */
108 IDL_EVENTTYPE
= 309, /* IDL_EVENTTYPE */
109 IDL_FINDER
= 310, /* IDL_FINDER */
110 IDL_GETRAISES
= 311, /* IDL_GETRAISES */
111 IDL_HOME
= 312, /* IDL_HOME */
112 IDL_IMPORT
= 313, /* IDL_IMPORT */
113 IDL_MULTIPLE
= 314, /* IDL_MULTIPLE */
114 IDL_PRIMARYKEY
= 315, /* IDL_PRIMARYKEY */
115 IDL_PROVIDES
= 316, /* IDL_PROVIDES */
116 IDL_PUBLISHES
= 317, /* IDL_PUBLISHES */
117 IDL_SETRAISES
= 318, /* IDL_SETRAISES */
118 IDL_TYPEID
= 319, /* IDL_TYPEID */
119 IDL_TYPEPREFIX
= 320, /* IDL_TYPEPREFIX */
120 IDL_USES
= 321, /* IDL_USES */
121 IDL_MANAGES
= 322, /* IDL_MANAGES */
122 IDL_TYPENAME
= 323, /* IDL_TYPENAME */
123 IDL_PORT
= 324, /* IDL_PORT */
124 IDL_MIRRORPORT
= 325, /* IDL_MIRRORPORT */
125 IDL_PORTTYPE
= 326, /* IDL_PORTTYPE */
126 IDL_CONNECTOR
= 327, /* IDL_CONNECTOR */
127 IDL_ALIAS
= 328, /* IDL_ALIAS */
128 IDL_INTEGER_LITERAL
= 329, /* IDL_INTEGER_LITERAL */
129 IDL_UINTEGER_LITERAL
= 330, /* IDL_UINTEGER_LITERAL */
130 IDL_STRING_LITERAL
= 331, /* IDL_STRING_LITERAL */
131 IDL_CHARACTER_LITERAL
= 332, /* IDL_CHARACTER_LITERAL */
132 IDL_FLOATING_PT_LITERAL
= 333, /* IDL_FLOATING_PT_LITERAL */
133 IDL_FIXED_PT_LITERAL
= 334, /* IDL_FIXED_PT_LITERAL */
134 IDL_TRUETOK
= 335, /* IDL_TRUETOK */
135 IDL_FALSETOK
= 336, /* IDL_FALSETOK */
136 IDL_INT8
= 337, /* IDL_INT8 */
137 IDL_UINT8
= 338, /* IDL_UINT8 */
138 IDL_INT16
= 339, /* IDL_INT16 */
139 IDL_UINT16
= 340, /* IDL_UINT16 */
140 IDL_INT32
= 341, /* IDL_INT32 */
141 IDL_UINT32
= 342, /* IDL_UINT32 */
142 IDL_INT64
= 343, /* IDL_INT64 */
143 IDL_UINT64
= 344, /* IDL_UINT64 */
144 IDL_SCOPE_DELIMITOR
= 345, /* IDL_SCOPE_DELIMITOR */
145 IDL_LEFT_SHIFT
= 346, /* IDL_LEFT_SHIFT */
146 IDL_RIGHT_SHIFT
= 347, /* IDL_RIGHT_SHIFT */
147 IDL_WCHAR_LITERAL
= 348, /* IDL_WCHAR_LITERAL */
148 IDL_WSTRING_LITERAL
= 349, /* IDL_WSTRING_LITERAL */
149 IDL_ANNOTATION_DECL
= 350, /* IDL_ANNOTATION_DECL */
150 IDL_ANNOTATION_SYMBOL
= 351 /* IDL_ANNOTATION_SYMBOL */
152 typedef enum yytokentype yytoken_kind_t
;
156 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
159 #line 164 "fe/idl.ypp"
161 AST_Decl
*dcval
; /* Decl value */
162 UTL_StrList
*slval
; /* String list */
163 UTL_NameList
*nlval
; /* Name list */
164 UTL_ExprList
*elval
; /* Expression list */
165 UTL_LabelList
*llval
; /* Label list */
166 UTL_DeclList
*dlval
; /* Declaration list */
167 FE_InterfaceHeader
*ihval
; /* Interface header */
168 FE_OBVHeader
*vhval
; /* Valuetype header */
169 FE_ComponentHeader
*chval
; /* Component header */
170 FE_HomeHeader
*hhval
; /* Home header */
171 AST_Expression
*exval
; /* Expression value */
172 AST_UnionLabel
*ulval
; /* Union label */
173 AST_Field
*ffval
; /* Field value */
174 AST_Field::Visibility vival
; /* N/A, pub or priv */
175 AST_Expression::ExprType etval
; /* Expression type */
176 AST_Argument::Direction dival
; /* Argument direction */
177 AST_Operation::Flags ofval
; /* Operation flags */
178 FE_Declarator
*deval
; /* Declarator value */
179 ACE_CDR::Boolean bval
; /* Boolean value */
180 ACE_CDR::LongLong ival
; /* Long Long value */
181 ACE_CDR::ULongLong uival
; /* Unsigned long long */
182 ACE_CDR::Double dval
; /* Double value */
183 ACE_CDR::Float fval
; /* Float value */
184 ACE_CDR::Char cval
; /* Char value */
185 ACE_CDR::WChar wcval
; /* WChar value */
186 ACE_CDR::Fixed fixval
; /* Fixed point value */
187 UTL_String
*sval
; /* String value */
188 char *wsval
; /* WString value */
189 char *strval
; /* char * value */
190 Identifier
*idval
; /* Identifier */
191 UTL_IdList
*idlist
; /* Identifier list */
192 AST_Decl::NodeType ntval
; /* Node type value */
193 FE_Utils::T_Param_Info
*pival
; /* Template interface param */
194 FE_Utils::T_PARAMLIST_INFO
*plval
; /* List of template params */
195 FE_Utils::T_ARGLIST
*alval
; /* List of template args */
196 AST_Annotation_Appl
*annotation_val
;
197 AST_Annotation_Appls
*annotations_val
;
198 AST_Annotation_Appl::Param
*annotation_param_val
;
199 AST_Annotation_Appl::Params
*annotation_params_val
;
200 AST_Annotation_Decl
*annotation_decl_val
;
201 AST_Decls
*decls_val
;
202 Decl_Annotations_Pair
*decl_annotations_pair_val
;
203 Decl_Annotations_Pair_Pair
* decl_annotations_pair_val_pair
;
205 #line 206 "fe/idl.tab.hpp"
208 typedef union YYSTYPE YYSTYPE
;
209 # define YYSTYPE_IS_TRIVIAL 1
210 # define YYSTYPE_IS_DECLARED 1
214 extern YYSTYPE tao_yylval
;
217 int tao_yyparse (void);
220 #endif /* !YY_TAO_YY_FE_IDL_TAB_HPP_INCLUDED */