summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/fe/idl.tab.hpp
blob: fbe1e9b75cc267b0d4f15943a68892c6178dbcc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
/* A Bison parser, made by GNU Bison 3.6.2.  */

/* Bison interface for Yacc-like parsers in C

   Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation,
   Inc.

   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */

/* As a special exception, you may create a larger work that contains
   part or all of the Bison parser skeleton and distribute that work
   under terms of your choice, so long as that work isn't itself a
   parser generator using the skeleton or a modified version thereof
   as a parser skeleton.  Alternatively, if you modify or redistribute
   the parser skeleton itself, you may (at your option) remove this
   special exception, which will cause the skeleton and the resulting
   Bison output files to be licensed under the GNU General Public
   License without this special exception.

   This special exception was added by the Free Software Foundation in
   version 2.2 of Bison.  */

/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
   especially those whose name start with YY_ or yy_.  They are
   private implementation details that can be changed or removed.  */

#ifndef YY_TAO_YY_FE_IDL_TAB_HPP_INCLUDED
# define YY_TAO_YY_FE_IDL_TAB_HPP_INCLUDED
/* Debug traces.  */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
#if YYDEBUG
extern int tao_yydebug;
#endif

/* Token kinds.  */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
  enum yytokentype
  {
    YYEMPTY = -2,
    YYEOF = 0,                     /* "end of file"  */
    YYerror = 256,                 /* error  */
    YYUNDEF = 257,                 /* "invalid token"  */
    IDENTIFIER = 258,              /* IDENTIFIER  */
    IDL_CONST = 259,               /* IDL_CONST  */
    IDL_MODULE = 260,              /* IDL_MODULE  */
    IDL_INTERFACE = 261,           /* IDL_INTERFACE  */
    IDL_TYPEDEF = 262,             /* IDL_TYPEDEF  */
    IDL_LONG = 263,                /* IDL_LONG  */
    IDL_SHORT = 264,               /* IDL_SHORT  */
    IDL_UNSIGNED = 265,            /* IDL_UNSIGNED  */
    IDL_DOUBLE = 266,              /* IDL_DOUBLE  */
    IDL_FLOAT = 267,               /* IDL_FLOAT  */
    IDL_CHAR = 268,                /* IDL_CHAR  */
    IDL_WCHAR = 269,               /* IDL_WCHAR  */
    IDL_OCTET = 270,               /* IDL_OCTET  */
    IDL_BOOLEAN = 271,             /* IDL_BOOLEAN  */
    IDL_FIXED = 272,               /* IDL_FIXED  */
    IDL_ANY = 273,                 /* IDL_ANY  */
    IDL_OBJECT = 274,              /* IDL_OBJECT  */
    IDL_STRUCT = 275,              /* IDL_STRUCT  */
    IDL_UNION = 276,               /* IDL_UNION  */
    IDL_SWITCH = 277,              /* IDL_SWITCH  */
    IDL_ENUM = 278,                /* IDL_ENUM  */
    IDL_SEQUENCE = 279,            /* IDL_SEQUENCE  */
    IDL_STRING = 280,              /* IDL_STRING  */
    IDL_WSTRING = 281,             /* IDL_WSTRING  */
    IDL_EXCEPTION = 282,           /* IDL_EXCEPTION  */
    IDL_CASE = 283,                /* IDL_CASE  */
    IDL_DEFAULT = 284,             /* IDL_DEFAULT  */
    IDL_READONLY = 285,            /* IDL_READONLY  */
    IDL_ATTRIBUTE = 286,           /* IDL_ATTRIBUTE  */
    IDL_ONEWAY = 287,              /* IDL_ONEWAY  */
    IDL_IDEMPOTENT = 288,          /* IDL_IDEMPOTENT  */
    IDL_VOID = 289,                /* IDL_VOID  */
    IDL_IN = 290,                  /* IDL_IN  */
    IDL_OUT = 291,                 /* IDL_OUT  */
    IDL_INOUT = 292,               /* IDL_INOUT  */
    IDL_RAISES = 293,              /* IDL_RAISES  */
    IDL_CONTEXT = 294,             /* IDL_CONTEXT  */
    IDL_NATIVE = 295,              /* IDL_NATIVE  */
    IDL_LOCAL = 296,               /* IDL_LOCAL  */
    IDL_ABSTRACT = 297,            /* IDL_ABSTRACT  */
    IDL_CUSTOM = 298,              /* IDL_CUSTOM  */
    IDL_FACTORY = 299,             /* IDL_FACTORY  */
    IDL_PRIVATE = 300,             /* IDL_PRIVATE  */
    IDL_PUBLIC = 301,              /* IDL_PUBLIC  */
    IDL_SUPPORTS = 302,            /* IDL_SUPPORTS  */
    IDL_TRUNCATABLE = 303,         /* IDL_TRUNCATABLE  */
    IDL_VALUETYPE = 304,           /* IDL_VALUETYPE  */
    IDL_COMPONENT = 305,           /* IDL_COMPONENT  */
    IDL_CONSUMES = 306,            /* IDL_CONSUMES  */
    IDL_EMITS = 307,               /* IDL_EMITS  */
    IDL_EVENTTYPE = 308,           /* IDL_EVENTTYPE  */
    IDL_FINDER = 309,              /* IDL_FINDER  */
    IDL_GETRAISES = 310,           /* IDL_GETRAISES  */
    IDL_HOME = 311,                /* IDL_HOME  */
    IDL_IMPORT = 312,              /* IDL_IMPORT  */
    IDL_MULTIPLE = 313,            /* IDL_MULTIPLE  */
    IDL_PRIMARYKEY = 314,          /* IDL_PRIMARYKEY  */
    IDL_PROVIDES = 315,            /* IDL_PROVIDES  */
    IDL_PUBLISHES = 316,           /* IDL_PUBLISHES  */
    IDL_SETRAISES = 317,           /* IDL_SETRAISES  */
    IDL_TYPEID = 318,              /* IDL_TYPEID  */
    IDL_TYPEPREFIX = 319,          /* IDL_TYPEPREFIX  */
    IDL_USES = 320,                /* IDL_USES  */
    IDL_MANAGES = 321,             /* IDL_MANAGES  */
    IDL_TYPENAME = 322,            /* IDL_TYPENAME  */
    IDL_PORT = 323,                /* IDL_PORT  */
    IDL_MIRRORPORT = 324,          /* IDL_MIRRORPORT  */
    IDL_PORTTYPE = 325,            /* IDL_PORTTYPE  */
    IDL_CONNECTOR = 326,           /* IDL_CONNECTOR  */
    IDL_ALIAS = 327,               /* IDL_ALIAS  */
    IDL_INTEGER_LITERAL = 328,     /* IDL_INTEGER_LITERAL  */
    IDL_UINTEGER_LITERAL = 329,    /* IDL_UINTEGER_LITERAL  */
    IDL_STRING_LITERAL = 330,      /* IDL_STRING_LITERAL  */
    IDL_CHARACTER_LITERAL = 331,   /* IDL_CHARACTER_LITERAL  */
    IDL_FLOATING_PT_LITERAL = 332, /* IDL_FLOATING_PT_LITERAL  */
    IDL_FIXED_PT_LITERAL = 333,    /* IDL_FIXED_PT_LITERAL  */
    IDL_TRUETOK = 334,             /* IDL_TRUETOK  */
    IDL_FALSETOK = 335,            /* IDL_FALSETOK  */
    IDL_SCOPE_DELIMITOR = 336,     /* IDL_SCOPE_DELIMITOR  */
    IDL_LEFT_SHIFT = 337,          /* IDL_LEFT_SHIFT  */
    IDL_RIGHT_SHIFT = 338,         /* IDL_RIGHT_SHIFT  */
    IDL_WCHAR_LITERAL = 339,       /* IDL_WCHAR_LITERAL  */
    IDL_WSTRING_LITERAL = 340,     /* IDL_WSTRING_LITERAL  */
    IDL_ANNOTATION_DECL = 341,     /* IDL_ANNOTATION_DECL  */
    IDL_ANNOTATION_SYMBOL = 342    /* IDL_ANNOTATION_SYMBOL  */
  };
  typedef enum yytokentype yytoken_kind_t;
#endif

/* Value type.  */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
union YYSTYPE
{
#line 163 "fe/idl.ypp"

  AST_Decl                      *dcval;         /* Decl value           */
  UTL_StrList                   *slval;         /* String list          */
  UTL_NameList                  *nlval;         /* Name list            */
  UTL_ExprList                  *elval;         /* Expression list      */
  UTL_LabelList                 *llval;         /* Label list           */
  UTL_DeclList                  *dlval;         /* Declaration list     */
  FE_InterfaceHeader            *ihval;         /* Interface header     */
  FE_OBVHeader                  *vhval;         /* Valuetype header     */
  FE_ComponentHeader            *chval;         /* Component header     */
  FE_HomeHeader                 *hhval;         /* Home header          */
  AST_Expression                *exval;         /* Expression value     */
  AST_UnionLabel                *ulval;         /* Union label          */
  AST_Field                     *ffval;         /* Field value          */
  AST_Field::Visibility         vival;          /* N/A, pub or priv     */
  AST_Expression::ExprType      etval;          /* Expression type      */
  AST_Argument::Direction       dival;          /* Argument direction   */
  AST_Operation::Flags          ofval;          /* Operation flags      */
  FE_Declarator                 *deval;         /* Declarator value     */
  ACE_CDR::Boolean              bval;           /* Boolean value        */
  ACE_CDR::LongLong             ival;           /* Long Long value      */
  ACE_CDR::ULongLong            uival;          /* Unsigned long long   */
  ACE_CDR::Double               dval;           /* Double value         */
  ACE_CDR::Float                fval;           /* Float value          */
  ACE_CDR::Char                 cval;           /* Char value           */
  ACE_CDR::WChar                wcval;          /* WChar value          */
  ACE_CDR::Fixed                fixval;         /* Fixed point value    */
  UTL_String                    *sval;          /* String value         */
  char                          *wsval;         /* WString value        */
  char                          *strval;        /* char * value         */
  Identifier                    *idval;         /* Identifier           */
  UTL_IdList                    *idlist;        /* Identifier list      */
  AST_Decl::NodeType            ntval;          /* Node type value      */
  FE_Utils::T_Param_Info        *pival;         /* Template interface param */
  FE_Utils::T_PARAMLIST_INFO    *plval;         /* List of template params */
  FE_Utils::T_ARGLIST           *alval;         /* List of template args */
  AST_Annotation_Appl *annotation_val;
  AST_Annotation_Appls *annotations_val;
  AST_Annotation_Appl::Param *annotation_param_val;
  AST_Annotation_Appl::Params *annotation_params_val;
  AST_Annotation_Decl *annotation_decl_val;
  AST_Decls *decls_val;
  Decl_Annotations_Pair *decl_annotations_pair_val;

#line 196 "fe/idl.tab.hpp"

};
typedef union YYSTYPE YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define YYSTYPE_IS_DECLARED 1
#endif


extern YYSTYPE tao_yylval;

int tao_yyparse (void);

#endif /* !YY_TAO_YY_FE_IDL_TAB_HPP_INCLUDED  */