📄 psdl_y.cpp
字号:
// PSDL_y.cpp,v 1.1 2002/07/25 15:25:51 pgontla Exp
/* A Bison parser, made from PSDL.yy
by GNU bison 1.35. */
#define YYBISON 1 /* Identify Bison output. */
#define yyparse TAO_PSDL_yyparse
#define yylex TAO_PSDL_yylex
#define yyerror TAO_PSDL_yyerror
#define yylval TAO_PSDL_yylval
#define yychar TAO_PSDL_yychar
#define yydebug TAO_PSDL_yydebug
#define yynerrs TAO_PSDL_yynerrs
# define TAO_PSDL_SEMI 257
# define TAO_PSDL_MODULE 258
# define TAO_PSDL_COLON 259
# define TAO_PSDL_OPEN_CURLY_BRACE 260
# define TAO_PSDL_CLOSE_CURLY_BRACE 261
# define TAO_PSDL_OPEN_BRACE 262
# define TAO_PSDL_CLOSE_BRACE 263
# define TAO_PSDL_ABSTRACT 264
# define TAO_PSDL_STORAGETYPE 265
# define TAO_PSDL_STORAGEHOME 266
# define TAO_PSDL_CATALOG 267
# define TAO_PSDL_PROVIDES 268
# define TAO_PSDL_IMPLEMENTS 269
# define TAO_PSDL_SCOPE 270
# define TAO_PSDL_STORES 271
# define TAO_PSDL_STATE 272
# define TAO_PSDL_AS 273
# define TAO_PSDL_PRIMARY 274
# define TAO_PSDL_STRONG 275
# define TAO_PSDL_REF 276
# define TAO_PSDL_OF 277
# define TAO_PSDL_OPEN_ANGULAR_BRACE 278
# define TAO_PSDL_CLOSE_ANGULAR_BRACE 279
# define TAO_PSDL_COMMA 280
# define TAO_PSDL_KEY 281
# define TAO_PSDL_READONLY 282
# define TAO_PSDL_UNION 283
# define TAO_PSDL_SWITCH 284
# define TAO_PSDL_CASE 285
# define TAO_PSDL_WCHAR 286
# define TAO_PSDL_BOOLEAN 287
# define TAO_PSDL_OCTET 288
# define TAO_PSDL_ANY 289
# define TAO_PSDL_OBJECT 290
# define TAO_PSDL_STRUCT 291
# define TAO_PSDL_DEFAULT 292
# define TAO_PSDL_FLOAT 293
# define TAO_PSDL_DOUBLE 294
# define TAO_PSDL_LONG 295
# define TAO_PSDL_SHORT 296
# define TAO_PSDL_UNSIGNED 297
# define TAO_PSDL_CHAR 298
# define TAO_PSDL_IDENT 299
# define TAO_PSDL_TYPEDEF 300
# define TAO_PSDL_NATIVE 301
# define TAO_PSDL_PLUS 302
# define TAO_PSDL_MINUS 303
# define TAO_PSDL_XOR 304
# define TAO_PSDL_AND 305
# define TAO_PSDL_MULT 306
# define TAO_PSDL_RIGHT_SHIFT 307
# define TAO_PSDL_LEFT_SHIFT 308
# define TAO_PSDL_DIV 309
# define TAO_PSDL_PERCENT 310
# define TAO_PSDL_TILDA 311
# define TAO_PSDL_ONEWAY 312
# define TAO_PSDL_CONST 313
# define TAO_PSDL_EQUAL 314
# define TAO_PSDL_OR 315
# define TAO_PSDL_VOID 316
# define TAO_PSDL_IN 317
# define TAO_PSDL_OUT 318
# define TAO_PSDL_INOUT 319
# define TAO_PSDL_RAISES 320
# define TAO_PSDL_CONTEXT 321
# define TAO_PSDL_FIXED 322
# define TAO_PSDL_VALUEBASE 323
# define TAO_PSDL_EXCEPTION 324
# define TAO_PSDL_INTERFACE 325
# define TAO_PSDL_LOCAL 326
# define TAO_PSDL_DOUBLE_COLON 327
# define TAO_PSDL_VALUETYPE 328
# define TAO_PSDL_CUSTOM 329
# define TAO_PSDL_TRUNCATABLE 330
# define TAO_PSDL_SUPPORTS 331
# define TAO_PSDL_STRING 332
# define TAO_PSDL_WSTRING 333
# define TAO_PSDL_ATTRIBUTE 334
# define TAO_PSDL_OPEN_SQUARE_BRACE 335
# define TAO_PSDL_CLOSE_SQUARE_BRACE 336
# define TAO_PSDL_ENUM 337
# define TAO_PSDL_SEQUENCE 338
# define TAO_PSDL_TRUE 339
# define TAO_PSDL_FALSE 340
# define TAO_PSDL_INTEGER 341
# define TAO_PSDL_FLOATING 342
# define TAO_PSDL_PRIVATE 343
# define TAO_PSDL_PUBLIC 344
# define TAO_PSDL_FACTORY 345
# define TAO_PSDL_FLOATING_PT 346
# define TAO_PSDL_CHAR_LITERAL 347
# define TAO_PSDL_FIXED_PT 348
#line 1 "PSDL.yy"
// PSDL_y.cpp,v 1.1 2002/07/25 15:25:51 pgontla Exp
// ========================================================================
//
// = LIBRARY
// orbsvcs / Persistent State Definition Language parser.
//
// = FILENAME
// PSDL.yy
//
// = AUTHOR
// Priyanka Gontla <pgontla@doc.ece.uci.edu>
//
// ========================================================================
#include "PSDL_y.h"
#include "PSDL_Node.h"
#include "PSDL_Interpreter.h"
#include "PSDL_Scope.h"
#include "PSDL_Module_Scope.h"
#define YYPARSE_PARAM lex_state
#define YYLEX_PARAM lex_state
//extern int yylex (TAO_PSDL_Node **, void *);
extern int yylex (void);
static void yyerror (const char *error)
{
printf ("Error %s\n", error);
}
#ifndef YYSTYPE
# define YYSTYPE int
# define YYSTYPE_IS_TRIVIAL 1
#endif
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
#define YYFINAL 593
#define YYFLAG -32768
#define YYNTBASE 95
/* YYTRANSLATE(YYLEX) -- Bison token number corresponding to YYLEX. */
#define YYTRANSLATE(x) ((unsigned)(x) <= 348 ? yytranslate[x] : 262)
/* YYTRANSLATE[YYLEX] -- Bison token number corresponding to YYLEX. */
static const char yytranslate[] =
{
0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 1, 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
};
#if YYDEBUG
static const short yyprhs[] =
{
0, 0, 2, 5, 8, 11, 14, 17, 20, 23,
26, 29, 32, 35, 38, 39, 46, 48, 50, 55,
59, 63, 66, 70, 73, 75, 78, 81, 84, 87,
89, 93, 98, 102, 104, 106, 108, 110, 112, 118,
123, 125, 127, 131, 136, 140, 147, 153, 155, 158,
161, 164, 167, 170, 172, 176, 181, 185, 191, 194,
201, 207, 212, 218, 221, 223, 227, 229, 232, 235,
238, 242, 244, 246, 251, 255, 258, 263, 267, 271,
273, 276, 279, 282, 285, 288, 290, 293, 298, 301,
307, 312, 314, 316, 321, 326, 330, 337, 343, 349,
354, 356, 359, 362, 365, 368, 370, 373, 377, 381,
383, 386, 388, 390, 392, 395, 397, 400, 402, 404,
406, 408, 410, 412, 414, 416, 418, 420, 422, 424,
426, 428, 430, 432, 434, 436, 438, 440, 442, 444,
448, 450, 452, 454, 456, 460, 462, 464, 466, 469,
471, 473, 475, 477, 479, 481, 483, 486, 488, 490,
492, 495, 498, 502, 504, 506, 508, 510, 512, 514,
515, 522, 524, 527, 531, 541, 543, 545, 547, 549,
551, 553, 556, 560, 564, 567, 572, 576, 579, 585,
587, 589, 591, 593, 595, 597, 599, 601, 603, 605,
607, 609, 613, 615, 619, 621, 625, 627, 631, 635,
637, 641, 645, 647, 651, 655, 659, 662, 664, 666,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -