| 1 | #################################################################### | ||
| 2 | # | ||
| 3 | # This file was generated using Parse::Yapp version 1.05. | ||
| 4 | # | ||
| 5 | # Don't edit this file, use source file instead. | ||
| 6 | # | ||
| 7 | # ANY CHANGE MADE HERE WILL BE LOST ! | ||
| 8 | # | ||
| 9 | #################################################################### | ||
| 10 | package CORBA::IDL::Parser; | ||
| 11 | use vars qw ( @ISA ); | ||
| 12 | use strict; | ||
| 13 | |||
| 14 | @ISA= qw ( Parse::Yapp::Driver ); | ||
| 15 | use Parse::Yapp::Driver; | ||
| 16 | |||
| 17 | |||
| 18 | |||
| 19 | sub new { | ||
| 20 | my($class)=shift; | ||
| 21 | ref($class) | ||
| 22 | and $class=ref($class); | ||
| 23 | |||
| 24 | my($self)=$class->SUPER::new( yyversion => '1.05', | ||
| 25 | yystates => | ||
| 26 | [ | ||
| 27 | {#State 0 | ||
| 28 | ACTIONS => { | ||
| 29 | '' => -3, | ||
| 30 | 'ENUM' => -394, | ||
| 31 | 'INTERFACE' => -394, | ||
| 32 | 'VALUETYPE' => -394, | ||
| 33 | 'CUSTOM' => -394, | ||
| 34 | 'IMPORT' => 21, | ||
| 35 | 'UNION' => -394, | ||
| 36 | 'NATIVE' => -394, | ||
| 37 | 'CODE_FRAGMENT' => -394, | ||
| 38 | 'TYPEDEF' => -394, | ||
| 39 | 'EXCEPTION' => -394, | ||
| 40 | 'error' => 23, | ||
| 41 | "[" => -394, | ||
| 42 | 'LOCAL' => -394, | ||
| 43 | 'IDENTIFIER' => 12, | ||
| 44 | 'TYPEID' => 25, | ||
| 45 | 'MODULE' => -394, | ||
| 46 | 'STRUCT' => -394, | ||
| 47 | 'CONST' => -394, | ||
| 48 | 'ABSTRACT' => -394, | ||
| 49 | 'DECLSPEC' => 29, | ||
| 50 | 'TYPEPREFIX' => 31 | ||
| 51 | }, | ||
| 52 | GOTOS => { | ||
| 53 | 'value_dcl' => 1, | ||
| 54 | 'code_frag' => 2, | ||
| 55 | 'value_box_dcl' => 3, | ||
| 56 | 'definitions' => 18, | ||
| 57 | 'module_header' => 20, | ||
| 58 | 'definition' => 19, | ||
| 59 | 'value_box_header' => 4, | ||
| 60 | 'specification' => 22, | ||
| 61 | 'declspec' => 5, | ||
| 62 | 'except_dcl' => 6, | ||
| 63 | 'value_header' => 7, | ||
| 64 | 'interface' => 8, | ||
| 65 | 'type_dcl' => 9, | ||
| 66 | 'module' => 24, | ||
| 67 | 'interface_header' => 11, | ||
| 68 | 'value_forward_dcl' => 10, | ||
| 69 | 'imports' => 26, | ||
| 70 | 'value' => 13, | ||
| 71 | 'value_abs_dcl' => 27, | ||
| 72 | 'import' => 28, | ||
| 73 | 'value_abs_header' => 14, | ||
| 74 | 'forward_dcl' => 30, | ||
| 75 | 'exception_header' => 15, | ||
| 76 | 'const_dcl' => 16, | ||
| 77 | 'type_prefix_dcl' => 32, | ||
| 78 | 'interface_dcl' => 17, | ||
| 79 | 'type_id_dcl' => 33 | ||
| 80 | } | ||
| 81 | }, | ||
| 82 | {#State 1 | ||
| 83 | DEFAULT => -65 | ||
| 84 | }, | ||
| 85 | {#State 2 | ||
| 86 | DEFAULT => -18 | ||
| 87 | }, | ||
| 88 | {#State 3 | ||
| 89 | DEFAULT => -67 | ||
| 90 | }, | ||
| 91 | {#State 4 | ||
| 92 | ACTIONS => { | ||
| 93 | "::" => 63, | ||
| 94 | 'CHAR' => 64, | ||
| 95 | 'OBJECT' => 68, | ||
| 96 | 'STRING' => 71, | ||
| 97 | 'OCTET' => 37, | ||
| 98 | 'WSTRING' => 73, | ||
| 99 | 'UNSIGNED' => 41, | ||
| 100 | "[" => 42, | ||
| 101 | 'ANY' => 43, | ||
| 102 | 'FLOAT' => 76, | ||
| 103 | 'LONG' => 44, | ||
| 104 | 'SEQUENCE' => 78, | ||
| 105 | 'DOUBLE' => 79, | ||
| 106 | 'IDENTIFIER' => 49, | ||
| 107 | 'SHORT' => 80, | ||
| 108 | 'BOOLEAN' => 82, | ||
| 109 | 'VOID' => 55, | ||
| 110 | 'FIXED' => 85, | ||
| 111 | 'VALUEBASE' => 87, | ||
| 112 | 'WCHAR' => 60 | ||
| 113 | }, | ||
| 114 | DEFAULT => -396, | ||
| 115 | GOTOS => { | ||
| 116 | 'union_type' => 34, | ||
| 117 | 'enum_header' => 35, | ||
| 118 | 'unsigned_short_int' => 36, | ||
| 119 | 'struct_type' => 38, | ||
| 120 | 'union_header' => 39, | ||
| 121 | 'struct_header' => 40, | ||
| 122 | 'signed_longlong_int' => 45, | ||
| 123 | 'enum_type' => 46, | ||
| 124 | 'any_type' => 47, | ||
| 125 | 'template_type_spec' => 48, | ||
| 126 | 'unsigned_long_int' => 50, | ||
| 127 | 'scoped_name' => 51, | ||
| 128 | 'string_type' => 52, | ||
| 129 | 'props' => 53, | ||
| 130 | 'char_type' => 54, | ||
| 131 | 'fixed_pt_type' => 58, | ||
| 132 | 'signed_short_int' => 57, | ||
| 133 | 'signed_long_int' => 56, | ||
| 134 | 'wide_char_type' => 59, | ||
| 135 | 'octet_type' => 61, | ||
| 136 | 'wide_string_type' => 62, | ||
| 137 | 'object_type' => 65, | ||
| 138 | 'type_spec' => 66, | ||
| 139 | 'integer_type' => 67, | ||
| 140 | 'unsigned_int' => 69, | ||
| 141 | 'sequence_type' => 70, | ||
| 142 | 'unsigned_longlong_int' => 72, | ||
| 143 | 'constr_type_spec' => 74, | ||
| 144 | 'floating_pt_type' => 75, | ||
| 145 | 'value_base_type' => 77, | ||
| 146 | 'base_type_spec' => 81, | ||
| 147 | 'signed_int' => 83, | ||
| 148 | 'simple_type_spec' => 84, | ||
| 149 | 'boolean_type' => 86 | ||
| 150 | } | ||
| 151 | }, | ||
| 152 | {#State 5 | ||
| 153 | ACTIONS => { | ||
| 154 | 'MODULE' => 96, | ||
| 155 | 'CONST' => 97, | ||
| 156 | 'CODE_FRAGMENT' => 90, | ||
| 157 | 'EXCEPTION' => 91, | ||
| 158 | "[" => 42 | ||
| 159 | }, | ||
| 160 | DEFAULT => -396, | ||
| 161 | GOTOS => { | ||
| 162 | 'union_type' => 88, | ||
| 163 | 'enum_type' => 92, | ||
| 164 | 'enum_header' => 35, | ||
| 165 | 'type_dcl_def' => 93, | ||
| 166 | 'struct_type' => 89, | ||
| 167 | 'union_header' => 39, | ||
| 168 | 'props' => 94, | ||
| 169 | 'struct_header' => 40, | ||
| 170 | 'constr_forward_decl' => 95 | ||
| 171 | } | ||
| 172 | }, | ||
| 173 | {#State 6 | ||
| 174 | ACTIONS => { | ||
| 175 | ";" => 99, | ||
| 176 | 'error' => 100 | ||
| 177 | }, | ||
| 178 | GOTOS => { | ||
| 179 | 'check_semicolon' => 98 | ||
| 180 | } | ||
| 181 | }, | ||
| 182 | {#State 7 | ||
| 183 | ACTIONS => { | ||
| 184 | "{" => 101 | ||
| 185 | } | ||
| 186 | }, | ||
| 187 | {#State 8 | ||
| 188 | ACTIONS => { | ||
| 189 | ";" => 99, | ||
| 190 | 'error' => 100 | ||
| 191 | }, | ||
| 192 | GOTOS => { | ||
| 193 | 'check_semicolon' => 102 | ||
| 194 | } | ||
| 195 | }, | ||
| 196 | {#State 9 | ||
| 197 | ACTIONS => { | ||
| 198 | ";" => 99, | ||
| 199 | 'error' => 100 | ||
| 200 | }, | ||
| 201 | GOTOS => { | ||
| 202 | 'check_semicolon' => 103 | ||
| 203 | } | ||
| 204 | }, | ||
| 205 | {#State 10 | ||
| 206 | DEFAULT => -68 | ||
| 207 | }, | ||
| 208 | {#State 11 | ||
| 209 | ACTIONS => { | ||
| 210 | "{" => 104 | ||
| 211 | } | ||
| 212 | }, | ||
| 213 | {#State 12 | ||
| 214 | ACTIONS => { | ||
| 215 | 'error' => 105 | ||
| 216 | } | ||
| 217 | }, | ||
| 218 | {#State 13 | ||
| 219 | ACTIONS => { | ||
| 220 | ";" => 99, | ||
| 221 | 'error' => 100 | ||
| 222 | }, | ||
| 223 | GOTOS => { | ||
| 224 | 'check_semicolon' => 106 | ||
| 225 | } | ||
| 226 | }, | ||
| 227 | {#State 14 | ||
| 228 | ACTIONS => { | ||
| 229 | "{" => 107 | ||
| 230 | } | ||
| 231 | }, | ||
| 232 | {#State 15 | ||
| 233 | ACTIONS => { | ||
| 234 | "{" => 109, | ||
| 235 | 'error' => 108 | ||
| 236 | } | ||
| 237 | }, | ||
| 238 | {#State 16 | ||
| 239 | ACTIONS => { | ||
| 240 | ";" => 99, | ||
| 241 | 'error' => 100 | ||
| 242 | }, | ||
| 243 | GOTOS => { | ||
| 244 | 'check_semicolon' => 110 | ||
| 245 | } | ||
| 246 | }, | ||
| 247 | {#State 17 | ||
| 248 | DEFAULT => -28 | ||
| 249 | }, | ||
| 250 | {#State 18 | ||
| 251 | DEFAULT => -1 | ||
| 252 | }, | ||
| 253 | {#State 19 | ||
| 254 | ACTIONS => { | ||
| 255 | '' => -7, | ||
| 256 | "}" => -7, | ||
| 257 | 'IMPORT' => 21, | ||
| 258 | 'IDENTIFIER' => 12, | ||
| 259 | 'TYPEID' => 25, | ||
| 260 | 'DECLSPEC' => 29, | ||
| 261 | 'TYPEPREFIX' => 31 | ||
| 262 | }, | ||
| 263 | DEFAULT => -394, | ||
| 264 | GOTOS => { | ||
| 265 | 'value_dcl' => 1, | ||
| 266 | 'code_frag' => 2, | ||
| 267 | 'value_box_dcl' => 3, | ||
| 268 | 'definitions' => 111, | ||
| 269 | 'definition' => 19, | ||
| 270 | 'module_header' => 20, | ||
| 271 | 'value_box_header' => 4, | ||
| 272 | 'declspec' => 5, | ||
| 273 | 'except_dcl' => 6, | ||
| 274 | 'value_header' => 7, | ||
| 275 | 'interface' => 8, | ||
| 276 | 'type_dcl' => 9, | ||
| 277 | 'module' => 24, | ||
| 278 | 'interface_header' => 11, | ||
| 279 | 'value_forward_dcl' => 10, | ||
| 280 | 'imports' => 112, | ||
| 281 | 'value' => 13, | ||
| 282 | 'value_abs_dcl' => 27, | ||
| 283 | 'import' => 28, | ||
| 284 | 'value_abs_header' => 14, | ||
| 285 | 'forward_dcl' => 30, | ||
| 286 | 'exception_header' => 15, | ||
| 287 | 'const_dcl' => 16, | ||
| 288 | 'type_prefix_dcl' => 32, | ||
| 289 | 'interface_dcl' => 17, | ||
| 290 | 'type_id_dcl' => 33 | ||
| 291 | } | ||
| 292 | }, | ||
| 293 | {#State 20 | ||
| 294 | ACTIONS => { | ||
| 295 | "{" => 114, | ||
| 296 | 'error' => 113 | ||
| 297 | } | ||
| 298 | }, | ||
| 299 | {#State 21 | ||
| 300 | ACTIONS => { | ||
| 301 | "::" => 63, | ||
| 302 | 'IDENTIFIER' => 49, | ||
| 303 | 'STRING_LITERAL' => 119, | ||
| 304 | 'error' => 118 | ||
| 305 | }, | ||
| 306 | GOTOS => { | ||
| 307 | 'imported_scope' => 117, | ||
| 308 | 'scoped_name' => 116, | ||
| 309 | 'string_literal' => 115 | ||
| 310 | } | ||
| 311 | }, | ||
| 312 | {#State 22 | ||
| 313 | ACTIONS => { | ||
| 314 | '' => 120 | ||
| 315 | } | ||
| 316 | }, | ||
| 317 | {#State 23 | ||
| 318 | DEFAULT => -4 | ||
| 319 | }, | ||
| 320 | {#State 24 | ||
| 321 | ACTIONS => { | ||
| 322 | ";" => 99, | ||
| 323 | 'error' => 100 | ||
| 324 | }, | ||
| 325 | GOTOS => { | ||
| 326 | 'check_semicolon' => 121 | ||
| 327 | } | ||
| 328 | }, | ||
| 329 | {#State 25 | ||
| 330 | ACTIONS => { | ||
| 331 | "::" => 63, | ||
| 332 | 'IDENTIFIER' => 49, | ||
| 333 | 'error' => 123 | ||
| 334 | }, | ||
| 335 | GOTOS => { | ||
| 336 | 'scoped_name' => 122 | ||
| 337 | } | ||
| 338 | }, | ||
| 339 | {#State 26 | ||
| 340 | ACTIONS => { | ||
| 341 | 'IDENTIFIER' => 12, | ||
| 342 | 'TYPEID' => 25, | ||
| 343 | 'DECLSPEC' => 29, | ||
| 344 | 'TYPEPREFIX' => 31 | ||
| 345 | }, | ||
| 346 | DEFAULT => -394, | ||
| 347 | GOTOS => { | ||
| 348 | 'value_dcl' => 1, | ||
| 349 | 'code_frag' => 2, | ||
| 350 | 'value_box_dcl' => 3, | ||
| 351 | 'definitions' => 124, | ||
| 352 | 'definition' => 19, | ||
| 353 | 'module_header' => 20, | ||
| 354 | 'value_box_header' => 4, | ||
| 355 | 'declspec' => 5, | ||
| 356 | 'except_dcl' => 6, | ||
| 357 | 'value_header' => 7, | ||
| 358 | 'interface' => 8, | ||
| 359 | 'type_dcl' => 9, | ||
| 360 | 'module' => 24, | ||
| 361 | 'interface_header' => 11, | ||
| 362 | 'value_forward_dcl' => 10, | ||
| 363 | 'value' => 13, | ||
| 364 | 'value_abs_dcl' => 27, | ||
| 365 | 'value_abs_header' => 14, | ||
| 366 | 'forward_dcl' => 30, | ||
| 367 | 'exception_header' => 15, | ||
| 368 | 'const_dcl' => 16, | ||
| 369 | 'type_prefix_dcl' => 32, | ||
| 370 | 'interface_dcl' => 17, | ||
| 371 | 'type_id_dcl' => 33 | ||
| 372 | } | ||
| 373 | }, | ||
| 374 | {#State 27 | ||
| 375 | DEFAULT => -66 | ||
| 376 | }, | ||
| 377 | {#State 28 | ||
| 378 | ACTIONS => { | ||
| 379 | 'IMPORT' => 21 | ||
| 380 | }, | ||
| 381 | DEFAULT => -5, | ||
| 382 | GOTOS => { | ||
| 383 | 'imports' => 125, | ||
| 384 | 'import' => 28 | ||
| 385 | } | ||
| 386 | }, | ||
| 387 | {#State 29 | ||
| 388 | DEFAULT => -395 | ||
| 389 | }, | ||
| 390 | {#State 30 | ||
| 391 | DEFAULT => -29 | ||
| 392 | }, | ||
| 393 | {#State 31 | ||
| 394 | ACTIONS => { | ||
| 395 | "::" => 127, | ||
| 396 | 'IDENTIFIER' => 49, | ||
| 397 | 'error' => 128 | ||
| 398 | }, | ||
| 399 | GOTOS => { | ||
| 400 | 'scoped_name' => 126 | ||
| 401 | } | ||
| 402 | }, | ||
| 403 | {#State 32 | ||
| 404 | ACTIONS => { | ||
| 405 | ";" => 99, | ||
| 406 | 'error' => 100 | ||
| 407 | }, | ||
| 408 | GOTOS => { | ||
| 409 | 'check_semicolon' => 129 | ||
| 410 | } | ||
| 411 | }, | ||
| 412 | {#State 33 | ||
| 413 | ACTIONS => { | ||
| 414 | ";" => 99, | ||
| 415 | 'error' => 100 | ||
| 416 | }, | ||
| 417 | GOTOS => { | ||
| 418 | 'check_semicolon' => 130 | ||
| 419 | } | ||
| 420 | }, | ||
| 421 | {#State 34 | ||
| 422 | DEFAULT => -206 | ||
| 423 | }, | ||
| 424 | {#State 35 | ||
| 425 | ACTIONS => { | ||
| 426 | "{" => 132, | ||
| 427 | 'error' => 131 | ||
| 428 | } | ||
| 429 | }, | ||
| 430 | {#State 36 | ||
| 431 | DEFAULT => -227 | ||
| 432 | }, | ||
| 433 | {#State 37 | ||
| 434 | DEFAULT => -236 | ||
| 435 | }, | ||
| 436 | {#State 38 | ||
| 437 | DEFAULT => -205 | ||
| 438 | }, | ||
| 439 | {#State 39 | ||
| 440 | ACTIONS => { | ||
| 441 | 'SWITCH' => 133 | ||
| 442 | } | ||
| 443 | }, | ||
| 444 | {#State 40 | ||
| 445 | ACTIONS => { | ||
| 446 | "{" => 134 | ||
| 447 | } | ||
| 448 | }, | ||
| 449 | {#State 41 | ||
| 450 | ACTIONS => { | ||
| 451 | 'SHORT' => 136, | ||
| 452 | 'LONG' => 135 | ||
| 453 | } | ||
| 454 | }, | ||
| 455 | {#State 42 | ||
| 456 | DEFAULT => -397, | ||
| 457 | GOTOS => { | ||
| 458 | '@2-1' => 137 | ||
| 459 | } | ||
| 460 | }, | ||
| 461 | {#State 43 | ||
| 462 | DEFAULT => -237 | ||
| 463 | }, | ||
| 464 | {#State 44 | ||
| 465 | ACTIONS => { | ||
| 466 | 'DOUBLE' => 139, | ||
| 467 | 'LONG' => 138 | ||
| 468 | }, | ||
| 469 | DEFAULT => -225 | ||
| 470 | }, | ||
| 471 | {#State 45 | ||
| 472 | DEFAULT => -223 | ||
| 473 | }, | ||
| 474 | {#State 46 | ||
| 475 | DEFAULT => -207 | ||
| 476 | }, | ||
| 477 | {#State 47 | ||
| 478 | DEFAULT => -198 | ||
| 479 | }, | ||
| 480 | {#State 48 | ||
| 481 | DEFAULT => -189 | ||
| 482 | }, | ||
| 483 | {#State 49 | ||
| 484 | DEFAULT => -60 | ||
| 485 | }, | ||
| 486 | {#State 50 | ||
| 487 | DEFAULT => -228 | ||
| 488 | }, | ||
| 489 | {#State 51 | ||
| 490 | ACTIONS => { | ||
| 491 | "::" => 140 | ||
| 492 | }, | ||
| 493 | DEFAULT => -190 | ||
| 494 | }, | ||
| 495 | {#State 52 | ||
| 496 | DEFAULT => -202 | ||
| 497 | }, | ||
| 498 | {#State 53 | ||
| 499 | ACTIONS => { | ||
| 500 | 'UNION' => 143, | ||
| 501 | 'ENUM' => 142, | ||
| 502 | 'STRUCT' => 141 | ||
| 503 | } | ||
| 504 | }, | ||
| 505 | {#State 54 | ||
| 506 | DEFAULT => -194 | ||
| 507 | }, | ||
| 508 | {#State 55 | ||
| 509 | DEFAULT => -191 | ||
| 510 | }, | ||
| 511 | {#State 56 | ||
| 512 | DEFAULT => -222 | ||
| 513 | }, | ||
| 514 | {#State 57 | ||
| 515 | DEFAULT => -221 | ||
| 516 | }, | ||
| 517 | {#State 58 | ||
| 518 | DEFAULT => -204 | ||
| 519 | }, | ||
| 520 | {#State 59 | ||
| 521 | DEFAULT => -195 | ||
| 522 | }, | ||
| 523 | {#State 60 | ||
| 524 | DEFAULT => -234 | ||
| 525 | }, | ||
| 526 | {#State 61 | ||
| 527 | DEFAULT => -197 | ||
| 528 | }, | ||
| 529 | {#State 62 | ||
| 530 | DEFAULT => -203 | ||
| 531 | }, | ||
| 532 | {#State 63 | ||
| 533 | ACTIONS => { | ||
| 534 | 'IDENTIFIER' => 144, | ||
| 535 | 'error' => 145 | ||
| 536 | } | ||
| 537 | }, | ||
| 538 | {#State 64 | ||
| 539 | DEFAULT => -233 | ||
| 540 | }, | ||
| 541 | {#State 65 | ||
| 542 | DEFAULT => -199 | ||
| 543 | }, | ||
| 544 | {#State 66 | ||
| 545 | DEFAULT => -71 | ||
| 546 | }, | ||
| 547 | {#State 67 | ||
| 548 | DEFAULT => -193 | ||
| 549 | }, | ||
| 550 | {#State 68 | ||
| 551 | DEFAULT => -238 | ||
| 552 | }, | ||
| 553 | {#State 69 | ||
| 554 | DEFAULT => -220 | ||
| 555 | }, | ||
| 556 | {#State 70 | ||
| 557 | DEFAULT => -201 | ||
| 558 | }, | ||
| 559 | {#State 71 | ||
| 560 | ACTIONS => { | ||
| 561 | "<" => 146 | ||
| 562 | }, | ||
| 563 | DEFAULT => -287 | ||
| 564 | }, | ||
| 565 | {#State 72 | ||
| 566 | DEFAULT => -229 | ||
| 567 | }, | ||
| 568 | {#State 73 | ||
| 569 | ACTIONS => { | ||
| 570 | "<" => 147 | ||
| 571 | }, | ||
| 572 | DEFAULT => -290 | ||
| 573 | }, | ||
| 574 | {#State 74 | ||
| 575 | DEFAULT => -187 | ||
| 576 | }, | ||
| 577 | {#State 75 | ||
| 578 | DEFAULT => -192 | ||
| 579 | }, | ||
| 580 | {#State 76 | ||
| 581 | DEFAULT => -216 | ||
| 582 | }, | ||
| 583 | {#State 77 | ||
| 584 | DEFAULT => -200 | ||
| 585 | }, | ||
| 586 | {#State 78 | ||
| 587 | ACTIONS => { | ||
| 588 | "<" => 148, | ||
| 589 | 'error' => 149 | ||
| 590 | } | ||
| 591 | }, | ||
| 592 | {#State 79 | ||
| 593 | DEFAULT => -217 | ||
| 594 | }, | ||
| 595 | {#State 80 | ||
| 596 | DEFAULT => -224 | ||
| 597 | }, | ||
| 598 | {#State 81 | ||
| 599 | DEFAULT => -188 | ||
| 600 | }, | ||
| 601 | {#State 82 | ||
| 602 | DEFAULT => -235 | ||
| 603 | }, | ||
| 604 | {#State 83 | ||
| 605 | DEFAULT => -219 | ||
| 606 | }, | ||
| 607 | {#State 84 | ||
| 608 | DEFAULT => -186 | ||
| 609 | }, | ||
| 610 | {#State 85 | ||
| 611 | ACTIONS => { | ||
| 612 | "<" => 150, | ||
| 613 | 'error' => 151 | ||
| 614 | } | ||
| 615 | }, | ||
| 616 | {#State 86 | ||
| 617 | DEFAULT => -196 | ||
| 618 | }, | ||
| 619 | {#State 87 | ||
| 620 | DEFAULT => -356 | ||
| 621 | }, | ||
| 622 | {#State 88 | ||
| 623 | DEFAULT => -178 | ||
| 624 | }, | ||
| 625 | {#State 89 | ||
| 626 | DEFAULT => -177 | ||
| 627 | }, | ||
| 628 | {#State 90 | ||
| 629 | DEFAULT => -393 | ||
| 630 | }, | ||
| 631 | {#State 91 | ||
| 632 | ACTIONS => { | ||
| 633 | 'IDENTIFIER' => 152, | ||
| 634 | 'error' => 153 | ||
| 635 | } | ||
| 636 | }, | ||
| 637 | {#State 92 | ||
| 638 | DEFAULT => -179 | ||
| 639 | }, | ||
| 640 | {#State 93 | ||
| 641 | DEFAULT => -175 | ||
| 642 | }, | ||
| 643 | {#State 94 | ||
| 644 | ACTIONS => { | ||
| 645 | 'ENUM' => 142, | ||
| 646 | 'VALUETYPE' => -87, | ||
| 647 | 'CUSTOM' => 154, | ||
| 648 | 'STRUCT' => 159, | ||
| 649 | 'ABSTRACT' => 160, | ||
| 650 | 'UNION' => 161, | ||
| 651 | 'NATIVE' => 155, | ||
| 652 | 'TYPEDEF' => 156, | ||
| 653 | 'LOCAL' => 162 | ||
| 654 | }, | ||
| 655 | DEFAULT => -37, | ||
| 656 | GOTOS => { | ||
| 657 | 'value_mod' => 158, | ||
| 658 | 'interface_mod' => 157 | ||
| 659 | } | ||
| 660 | }, | ||
| 661 | {#State 95 | ||
| 662 | DEFAULT => -183 | ||
| 663 | }, | ||
| 664 | {#State 96 | ||
| 665 | ACTIONS => { | ||
| 666 | 'IDENTIFIER' => 163, | ||
| 667 | 'error' => 164 | ||
| 668 | } | ||
| 669 | }, | ||
| 670 | {#State 97 | ||
| 671 | ACTIONS => { | ||
| 672 | 'DOUBLE' => 79, | ||
| 673 | "::" => 63, | ||
| 674 | 'IDENTIFIER' => 49, | ||
| 675 | 'SHORT' => 80, | ||
| 676 | 'CHAR' => 64, | ||
| 677 | 'BOOLEAN' => 82, | ||
| 678 | 'STRING' => 71, | ||
| 679 | 'OCTET' => 37, | ||
| 680 | 'WSTRING' => 73, | ||
| 681 | 'UNSIGNED' => 41, | ||
| 682 | 'FIXED' => 176, | ||
| 683 | 'error' => 173, | ||
| 684 | 'FLOAT' => 76, | ||
| 685 | 'LONG' => 44, | ||
| 686 | 'WCHAR' => 60 | ||
| 687 | }, | ||
| 688 | GOTOS => { | ||
| 689 | 'wide_string_type' => 170, | ||
| 690 | 'integer_type' => 171, | ||
| 691 | 'unsigned_int' => 69, | ||
| 692 | 'unsigned_short_int' => 36, | ||
| 693 | 'unsigned_longlong_int' => 72, | ||
| 694 | 'floating_pt_type' => 172, | ||
| 695 | 'const_type' => 174, | ||
| 696 | 'signed_longlong_int' => 45, | ||
| 697 | 'unsigned_long_int' => 50, | ||
| 698 | 'scoped_name' => 165, | ||
| 699 | 'string_type' => 166, | ||
| 700 | 'signed_int' => 83, | ||
| 701 | 'fixed_pt_const_type' => 175, | ||
| 702 | 'char_type' => 167, | ||
| 703 | 'signed_short_int' => 57, | ||
| 704 | 'signed_long_int' => 56, | ||
| 705 | 'boolean_type' => 177, | ||
| 706 | 'wide_char_type' => 168, | ||
| 707 | 'octet_type' => 169 | ||
| 708 | } | ||
| 709 | }, | ||
| 710 | {#State 98 | ||
| 711 | DEFAULT => -12 | ||
| 712 | }, | ||
| 713 | {#State 99 | ||
| 714 | DEFAULT => -20 | ||
| 715 | }, | ||
| 716 | {#State 100 | ||
| 717 | DEFAULT => -21 | ||
| 718 | }, | ||
| 719 | {#State 101 | ||
| 720 | ACTIONS => { | ||
| 721 | "}" => 178, | ||
| 722 | 'OCTET' => -394, | ||
| 723 | 'NATIVE' => -394, | ||
| 724 | 'UNSIGNED' => -394, | ||
| 725 | 'CODE_FRAGMENT' => -394, | ||
| 726 | 'TYPEDEF' => -394, | ||
| 727 | 'EXCEPTION' => -394, | ||
| 728 | "[" => -394, | ||
| 729 | 'ANY' => -394, | ||
| 730 | 'LONG' => -394, | ||
| 731 | 'IDENTIFIER' => -394, | ||
| 732 | 'STRUCT' => -394, | ||
| 733 | 'VOID' => -394, | ||
| 734 | 'WCHAR' => -394, | ||
| 735 | 'FACTORY' => -394, | ||
| 736 | 'ENUM' => -394, | ||
| 737 | "::" => -394, | ||
| 738 | 'PRIVATE' => -394, | ||
| 739 | 'CHAR' => -394, | ||
| 740 | 'OBJECT' => -394, | ||
| 741 | 'ONEWAY' => -394, | ||
| 742 | 'STRING' => -394, | ||
| 743 | 'WSTRING' => -394, | ||
| 744 | 'UNION' => -394, | ||
| 745 | 'error' => 193, | ||
| 746 | 'FLOAT' => -394, | ||
| 747 | 'ATTRIBUTE' => -394, | ||
| 748 | 'PUBLIC' => -394, | ||
| 749 | 'SEQUENCE' => -394, | ||
| 750 | 'DOUBLE' => -394, | ||
| 751 | 'SHORT' => -394, | ||
| 752 | 'TYPEID' => 25, | ||
| 753 | 'BOOLEAN' => -394, | ||
| 754 | 'CONST' => -394, | ||
| 755 | 'READONLY' => -394, | ||
| 756 | 'DECLSPEC' => 29, | ||
| 757 | 'FIXED' => -394, | ||
| 758 | 'TYPEPREFIX' => 31, | ||
| 759 | 'VALUEBASE' => -394 | ||
| 760 | }, | ||
| 761 | GOTOS => { | ||
| 762 | 'op_header' => 188, | ||
| 763 | 'init_header_param' => 189, | ||
| 764 | 'code_frag' => 179, | ||
| 765 | 'readonly_attr_spec' => 180, | ||
| 766 | 'init_header' => 190, | ||
| 767 | 'op_dcl' => 191, | ||
| 768 | 'attr_dcl' => 192, | ||
| 769 | 'declspec' => 181, | ||
| 770 | 'except_dcl' => 182, | ||
| 771 | 'state_member' => 194, | ||
| 772 | 'export' => 183, | ||
| 773 | 'type_dcl' => 184, | ||
| 774 | 'value_elements' => 195, | ||
| 775 | 'value_element' => 185, | ||
| 776 | 'exception_header' => 15, | ||
| 777 | 'attr_spec' => 186, | ||
| 778 | 'const_dcl' => 187, | ||
| 779 | 'type_prefix_dcl' => 196, | ||
| 780 | 'type_id_dcl' => 198, | ||
| 781 | 'init_dcl' => 197 | ||
| 782 | } | ||
| 783 | }, | ||
| 784 | {#State 102 | ||
| 785 | DEFAULT => -13 | ||
| 786 | }, | ||
| 787 | {#State 103 | ||
| 788 | DEFAULT => -10 | ||
| 789 | }, | ||
| 790 | {#State 104 | ||
| 791 | ACTIONS => { | ||
| 792 | "}" => 199, | ||
| 793 | 'OCTET' => -394, | ||
| 794 | 'NATIVE' => -394, | ||
| 795 | 'UNSIGNED' => -394, | ||
| 796 | 'CODE_FRAGMENT' => -394, | ||
| 797 | 'TYPEDEF' => -394, | ||
| 798 | 'EXCEPTION' => -394, | ||
| 799 | "[" => -394, | ||
| 800 | 'ANY' => -394, | ||
| 801 | 'LONG' => -394, | ||
| 802 | 'IDENTIFIER' => -394, | ||
| 803 | 'STRUCT' => -394, | ||
| 804 | 'VOID' => -394, | ||
| 805 | 'WCHAR' => -394, | ||
| 806 | 'FACTORY' => -394, | ||
| 807 | 'ENUM' => -394, | ||
| 808 | "::" => -394, | ||
| 809 | 'PRIVATE' => -394, | ||
| 810 | 'CHAR' => -394, | ||
| 811 | 'OBJECT' => -394, | ||
| 812 | 'ONEWAY' => -394, | ||
| 813 | 'STRING' => -394, | ||
| 814 | 'WSTRING' => -394, | ||
| 815 | 'UNION' => -394, | ||
| 816 | 'error' => 204, | ||
| 817 | 'FLOAT' => -394, | ||
| 818 | 'ATTRIBUTE' => -394, | ||
| 819 | 'PUBLIC' => -394, | ||
| 820 | 'SEQUENCE' => -394, | ||
| 821 | 'DOUBLE' => -394, | ||
| 822 | 'SHORT' => -394, | ||
| 823 | 'TYPEID' => 25, | ||
| 824 | 'BOOLEAN' => -394, | ||
| 825 | 'CONST' => -394, | ||
| 826 | 'READONLY' => -394, | ||
| 827 | 'DECLSPEC' => 29, | ||
| 828 | 'FIXED' => -394, | ||
| 829 | 'TYPEPREFIX' => 31, | ||
| 830 | 'VALUEBASE' => -394 | ||
| 831 | }, | ||
| 832 | GOTOS => { | ||
| 833 | 'op_header' => 188, | ||
| 834 | 'interface_body' => 202, | ||
| 835 | 'init_header_param' => 189, | ||
| 836 | 'code_frag' => 179, | ||
| 837 | 'readonly_attr_spec' => 180, | ||
| 838 | 'init_header' => 190, | ||
| 839 | 'op_dcl' => 191, | ||
| 840 | 'exports' => 203, | ||
| 841 | 'attr_dcl' => 192, | ||
| 842 | 'declspec' => 181, | ||
| 843 | 'except_dcl' => 182, | ||
| 844 | 'state_member' => 205, | ||
| 845 | 'type_dcl' => 184, | ||
| 846 | 'export' => 200, | ||
| 847 | '_export' => 201, | ||
| 848 | 'exception_header' => 15, | ||
| 849 | 'attr_spec' => 186, | ||
| 850 | 'const_dcl' => 187, | ||
| 851 | 'type_prefix_dcl' => 196, | ||
| 852 | 'init_dcl' => 206, | ||
| 853 | 'type_id_dcl' => 198 | ||
| 854 | } | ||
| 855 | }, | ||
| 856 | {#State 105 | ||
| 857 | ACTIONS => { | ||
| 858 | ";" => 207 | ||
| 859 | } | ||
| 860 | }, | ||
| 861 | {#State 106 | ||
| 862 | DEFAULT => -15 | ||
| 863 | }, | ||
| 864 | {#State 107 | ||
| 865 | ACTIONS => { | ||
| 866 | "}" => 208, | ||
| 867 | 'OCTET' => -394, | ||
| 868 | 'NATIVE' => -394, | ||
| 869 | 'UNSIGNED' => -394, | ||
| 870 | 'CODE_FRAGMENT' => -394, | ||
| 871 | 'TYPEDEF' => -394, | ||
| 872 | 'EXCEPTION' => -394, | ||
| 873 | "[" => -394, | ||
| 874 | 'ANY' => -394, | ||
| 875 | 'LONG' => -394, | ||
| 876 | 'IDENTIFIER' => -394, | ||
| 877 | 'STRUCT' => -394, | ||
| 878 | 'VOID' => -394, | ||
| 879 | 'WCHAR' => -394, | ||
| 880 | 'FACTORY' => -394, | ||
| 881 | 'ENUM' => -394, | ||
| 882 | "::" => -394, | ||
| 883 | 'PRIVATE' => -394, | ||
| 884 | 'CHAR' => -394, | ||
| 885 | 'OBJECT' => -394, | ||
| 886 | 'ONEWAY' => -394, | ||
| 887 | 'STRING' => -394, | ||
| 888 | 'WSTRING' => -394, | ||
| 889 | 'UNION' => -394, | ||
| 890 | 'error' => 210, | ||
| 891 | 'FLOAT' => -394, | ||
| 892 | 'ATTRIBUTE' => -394, | ||
| 893 | 'PUBLIC' => -394, | ||
| 894 | 'SEQUENCE' => -394, | ||
| 895 | 'DOUBLE' => -394, | ||
| 896 | 'SHORT' => -394, | ||
| 897 | 'TYPEID' => 25, | ||
| 898 | 'BOOLEAN' => -394, | ||
| 899 | 'CONST' => -394, | ||
| 900 | 'READONLY' => -394, | ||
| 901 | 'DECLSPEC' => 29, | ||
| 902 | 'FIXED' => -394, | ||
| 903 | 'TYPEPREFIX' => 31, | ||
| 904 | 'VALUEBASE' => -394 | ||
| 905 | }, | ||
| 906 | GOTOS => { | ||
| 907 | 'op_header' => 188, | ||
| 908 | 'init_header_param' => 189, | ||
| 909 | 'code_frag' => 179, | ||
| 910 | 'readonly_attr_spec' => 180, | ||
| 911 | 'init_header' => 190, | ||
| 912 | 'op_dcl' => 191, | ||
| 913 | 'exports' => 209, | ||
| 914 | 'attr_dcl' => 192, | ||
| 915 | 'declspec' => 181, | ||
| 916 | 'except_dcl' => 182, | ||
| 917 | 'state_member' => 205, | ||
| 918 | 'type_dcl' => 184, | ||
| 919 | 'export' => 200, | ||
| 920 | '_export' => 201, | ||
| 921 | 'exception_header' => 15, | ||
| 922 | 'attr_spec' => 186, | ||
| 923 | 'const_dcl' => 187, | ||
| 924 | 'type_prefix_dcl' => 196, | ||
| 925 | 'init_dcl' => 206, | ||
| 926 | 'type_id_dcl' => 198 | ||
| 927 | } | ||
| 928 | }, | ||
| 929 | {#State 108 | ||
| 930 | DEFAULT => -302 | ||
| 931 | }, | ||
| 932 | {#State 109 | ||
| 933 | ACTIONS => { | ||
| 934 | "}" => 211, | ||
| 935 | "::" => -396, | ||
| 936 | 'ENUM' => -396, | ||
| 937 | 'CHAR' => -396, | ||
| 938 | 'OBJECT' => -396, | ||
| 939 | 'STRING' => -396, | ||
| 940 | 'OCTET' => -396, | ||
| 941 | 'WSTRING' => -396, | ||
| 942 | 'UNION' => -396, | ||
| 943 | 'UNSIGNED' => -396, | ||
| 944 | 'error' => 216, | ||
| 945 | "[" => 42, | ||
| 946 | 'ANY' => -396, | ||
| 947 | 'FLOAT' => -396, | ||
| 948 | 'LONG' => -396, | ||
| 949 | 'SEQUENCE' => -396, | ||
| 950 | 'DOUBLE' => -396, | ||
| 951 | 'IDENTIFIER' => -396, | ||
| 952 | 'SHORT' => -396, | ||
| 953 | 'BOOLEAN' => -396, | ||
| 954 | 'STRUCT' => -396, | ||
| 955 | 'VOID' => -396, | ||
| 956 | 'FIXED' => -396, | ||
| 957 | 'VALUEBASE' => -396, | ||
| 958 | 'WCHAR' => -396 | ||
| 959 | }, | ||
| 960 | GOTOS => { | ||
| 961 | 'union_type' => 34, | ||
| 962 | 'enum_type' => 46, | ||
| 963 | 'member' => 213, | ||
| 964 | 'enum_header' => 35, | ||
| 965 | 'struct_type' => 38, | ||
| 966 | 'union_header' => 39, | ||
| 967 | 'constr_type_spec' => 215, | ||
| 968 | 'props' => 214, | ||
| 969 | 'struct_header' => 40, | ||
| 970 | 'member_list' => 212 | ||
| 971 | } | ||
| 972 | }, | ||
| 973 | {#State 110 | ||
| 974 | DEFAULT => -11 | ||
| 975 | }, | ||
| 976 | {#State 111 | ||
| 977 | DEFAULT => -8 | ||
| 978 | }, | ||
| 979 | {#State 112 | ||
| 980 | ACTIONS => { | ||
| 981 | 'IDENTIFIER' => 12, | ||
| 982 | 'TYPEID' => 25, | ||
| 983 | 'DECLSPEC' => 29, | ||
| 984 | 'TYPEPREFIX' => 31 | ||
| 985 | }, | ||
| 986 | DEFAULT => -394, | ||
| 987 | GOTOS => { | ||
| 988 | 'value_dcl' => 1, | ||
| 989 | 'code_frag' => 2, | ||
| 990 | 'value_box_dcl' => 3, | ||
| 991 | 'definitions' => 217, | ||
| 992 | 'definition' => 19, | ||
| 993 | 'module_header' => 20, | ||
| 994 | 'value_box_header' => 4, | ||
| 995 | 'declspec' => 5, | ||
| 996 | 'except_dcl' => 6, | ||
| 997 | 'value_header' => 7, | ||
| 998 | 'interface' => 8, | ||
| 999 | 'type_dcl' => 9, | ||
| 1000 | 'module' => 24, | ||
| 1001 | 'interface_header' => 11, | ||
| 1002 | 'value_forward_dcl' => 10, | ||
| 1003 | 'value' => 13, | ||
| 1004 | 'value_abs_dcl' => 27, | ||
| 1005 | 'value_abs_header' => 14, | ||
| 1006 | 'forward_dcl' => 30, | ||
| 1007 | 'exception_header' => 15, | ||
| 1008 | 'const_dcl' => 16, | ||
| 1009 | 'type_prefix_dcl' => 32, | ||
| 1010 | 'interface_dcl' => 17, | ||
| 1011 | 'type_id_dcl' => 33 | ||
| 1012 | } | ||
| 1013 | }, | ||
| 1014 | {#State 113 | ||
| 1015 | ACTIONS => { | ||
| 1016 | "}" => 218 | ||
| 1017 | } | ||
| 1018 | }, | ||
| 1019 | {#State 114 | ||
| 1020 | ACTIONS => { | ||
| 1021 | "}" => 219, | ||
| 1022 | 'ENUM' => -394, | ||
| 1023 | 'INTERFACE' => -394, | ||
| 1024 | 'VALUETYPE' => -394, | ||
| 1025 | 'CUSTOM' => -394, | ||
| 1026 | 'UNION' => -394, | ||
| 1027 | 'NATIVE' => -394, | ||
| 1028 | 'CODE_FRAGMENT' => -394, | ||
| 1029 | 'TYPEDEF' => -394, | ||
| 1030 | 'EXCEPTION' => -394, | ||
| 1031 | 'error' => 221, | ||
| 1032 | "[" => -394, | ||
| 1033 | 'LOCAL' => -394, | ||
| 1034 | 'IDENTIFIER' => 12, | ||
| 1035 | 'TYPEID' => 25, | ||
| 1036 | 'MODULE' => -394, | ||
| 1037 | 'STRUCT' => -394, | ||
| 1038 | 'CONST' => -394, | ||
| 1039 | 'ABSTRACT' => -394, | ||
| 1040 | 'DECLSPEC' => 29, | ||
| 1041 | 'TYPEPREFIX' => 31 | ||
| 1042 | }, | ||
| 1043 | GOTOS => { | ||
| 1044 | 'value_dcl' => 1, | ||
| 1045 | 'code_frag' => 2, | ||
| 1046 | 'value_box_dcl' => 3, | ||
| 1047 | 'definitions' => 220, | ||
| 1048 | 'definition' => 19, | ||
| 1049 | 'module_header' => 20, | ||
| 1050 | 'value_box_header' => 4, | ||
| 1051 | 'declspec' => 5, | ||
| 1052 | 'except_dcl' => 6, | ||
| 1053 | 'value_header' => 7, | ||
| 1054 | 'interface' => 8, | ||
| 1055 | 'type_dcl' => 9, | ||
| 1056 | 'module' => 24, | ||
| 1057 | 'interface_header' => 11, | ||
| 1058 | 'value_forward_dcl' => 10, | ||
| 1059 | 'value' => 13, | ||
| 1060 | 'value_abs_dcl' => 27, | ||
| 1061 | 'value_abs_header' => 14, | ||
| 1062 | 'forward_dcl' => 30, | ||
| 1063 | 'exception_header' => 15, | ||
| 1064 | 'const_dcl' => 16, | ||
| 1065 | 'type_prefix_dcl' => 32, | ||
| 1066 | 'interface_dcl' => 17, | ||
| 1067 | 'type_id_dcl' => 33 | ||
| 1068 | } | ||
| 1069 | }, | ||
| 1070 | {#State 115 | ||
| 1071 | DEFAULT => -364 | ||
| 1072 | }, | ||
| 1073 | {#State 116 | ||
| 1074 | ACTIONS => { | ||
| 1075 | "::" => 140 | ||
| 1076 | }, | ||
| 1077 | DEFAULT => -363 | ||
| 1078 | }, | ||
| 1079 | {#State 117 | ||
| 1080 | ACTIONS => { | ||
| 1081 | ";" => 99, | ||
| 1082 | 'error' => 100 | ||
| 1083 | }, | ||
| 1084 | GOTOS => { | ||
| 1085 | 'check_semicolon' => 222 | ||
| 1086 | } | ||
| 1087 | }, | ||
| 1088 | {#State 118 | ||
| 1089 | DEFAULT => -362 | ||
| 1090 | }, | ||
| 1091 | {#State 119 | ||
| 1092 | ACTIONS => { | ||
| 1093 | 'STRING_LITERAL' => 119 | ||
| 1094 | }, | ||
| 1095 | DEFAULT => -168, | ||
| 1096 | GOTOS => { | ||
| 1097 | 'string_literal' => 223 | ||
| 1098 | } | ||
| 1099 | }, | ||
| 1100 | {#State 120 | ||
| 1101 | DEFAULT => 0 | ||
| 1102 | }, | ||
| 1103 | {#State 121 | ||
| 1104 | DEFAULT => -14 | ||
| 1105 | }, | ||
| 1106 | {#State 122 | ||
| 1107 | ACTIONS => { | ||
| 1108 | "::" => 140, | ||
| 1109 | 'STRING_LITERAL' => 119, | ||
| 1110 | 'error' => 225 | ||
| 1111 | }, | ||
| 1112 | GOTOS => { | ||
| 1113 | 'string_literal' => 224 | ||
| 1114 | } | ||
| 1115 | }, | ||
| 1116 | {#State 123 | ||
| 1117 | DEFAULT => -367 | ||
| 1118 | }, | ||
| 1119 | {#State 124 | ||
| 1120 | DEFAULT => -2 | ||
| 1121 | }, | ||
| 1122 | {#State 125 | ||
| 1123 | DEFAULT => -6 | ||
| 1124 | }, | ||
| 1125 | {#State 126 | ||
| 1126 | ACTIONS => { | ||
| 1127 | "::" => 140, | ||
| 1128 | 'STRING_LITERAL' => 119, | ||
| 1129 | 'error' => 227 | ||
| 1130 | }, | ||
| 1131 | GOTOS => { | ||
| 1132 | 'string_literal' => 226 | ||
| 1133 | } | ||
| 1134 | }, | ||
| 1135 | {#State 127 | ||
| 1136 | ACTIONS => { | ||
| 1137 | 'IDENTIFIER' => 144, | ||
| 1138 | 'STRING_LITERAL' => 119, | ||
| 1139 | 'error' => 145 | ||
| 1140 | }, | ||
| 1141 | GOTOS => { | ||
| 1142 | 'string_literal' => 228 | ||
| 1143 | } | ||
| 1144 | }, | ||
| 1145 | {#State 128 | ||
| 1146 | DEFAULT => -371 | ||
| 1147 | }, | ||
| 1148 | {#State 129 | ||
| 1149 | DEFAULT => -17 | ||
| 1150 | }, | ||
| 1151 | {#State 130 | ||
| 1152 | DEFAULT => -16 | ||
| 1153 | }, | ||
| 1154 | {#State 131 | ||
| 1155 | DEFAULT => -273 | ||
| 1156 | }, | ||
| 1157 | {#State 132 | ||
| 1158 | ACTIONS => { | ||
| 1159 | 'IDENTIFIER' => 229, | ||
| 1160 | 'error' => 231 | ||
| 1161 | }, | ||
| 1162 | GOTOS => { | ||
| 1163 | 'enumerators' => 232, | ||
| 1164 | 'enumerator' => 230 | ||
| 1165 | } | ||
| 1166 | }, | ||
| 1167 | {#State 133 | ||
| 1168 | ACTIONS => { | ||
| 1169 | "(" => 233, | ||
| 1170 | 'error' => 234 | ||
| 1171 | } | ||
| 1172 | }, | ||
| 1173 | {#State 134 | ||
| 1174 | ACTIONS => { | ||
| 1175 | "::" => -396, | ||
| 1176 | 'ENUM' => -396, | ||
| 1177 | 'CHAR' => -396, | ||
| 1178 | 'OBJECT' => -396, | ||
| 1179 | 'STRING' => -396, | ||
| 1180 | 'OCTET' => -396, | ||
| 1181 | 'WSTRING' => -396, | ||
| 1182 | 'UNION' => -396, | ||
| 1183 | 'UNSIGNED' => -396, | ||
| 1184 | 'error' => 236, | ||
| 1185 | "[" => 42, | ||
| 1186 | 'ANY' => -396, | ||
| 1187 | 'FLOAT' => -396, | ||
| 1188 | 'LONG' => -396, | ||
| 1189 | 'SEQUENCE' => -396, | ||
| 1190 | 'DOUBLE' => -396, | ||
| 1191 | 'IDENTIFIER' => -396, | ||
| 1192 | 'SHORT' => -396, | ||
| 1193 | 'BOOLEAN' => -396, | ||
| 1194 | 'STRUCT' => -396, | ||
| 1195 | 'VOID' => -396, | ||
| 1196 | 'FIXED' => -396, | ||
| 1197 | 'VALUEBASE' => -396, | ||
| 1198 | 'WCHAR' => -396 | ||
| 1199 | }, | ||
| 1200 | GOTOS => { | ||
| 1201 | 'union_type' => 34, | ||
| 1202 | 'enum_type' => 46, | ||
| 1203 | 'member' => 213, | ||
| 1204 | 'enum_header' => 35, | ||
| 1205 | 'struct_type' => 38, | ||
| 1206 | 'union_header' => 39, | ||
| 1207 | 'constr_type_spec' => 215, | ||
| 1208 | 'props' => 214, | ||
| 1209 | 'struct_header' => 40, | ||
| 1210 | 'member_list' => 235 | ||
| 1211 | } | ||
| 1212 | }, | ||
| 1213 | {#State 135 | ||
| 1214 | ACTIONS => { | ||
| 1215 | 'LONG' => 237 | ||
| 1216 | }, | ||
| 1217 | DEFAULT => -231 | ||
| 1218 | }, | ||
| 1219 | {#State 136 | ||
| 1220 | DEFAULT => -230 | ||
| 1221 | }, | ||
| 1222 | {#State 137 | ||
| 1223 | ACTIONS => { | ||
| 1224 | 'PROP_KEY' => 238 | ||
| 1225 | }, | ||
| 1226 | GOTOS => { | ||
| 1227 | 'prop_list' => 239 | ||
| 1228 | } | ||
| 1229 | }, | ||
| 1230 | {#State 138 | ||
| 1231 | DEFAULT => -226 | ||
| 1232 | }, | ||
| 1233 | {#State 139 | ||
| 1234 | DEFAULT => -218 | ||
| 1235 | }, | ||
| 1236 | {#State 140 | ||
| 1237 | ACTIONS => { | ||
| 1238 | 'IDENTIFIER' => 240, | ||
| 1239 | 'error' => 241 | ||
| 1240 | } | ||
| 1241 | }, | ||
| 1242 | {#State 141 | ||
| 1243 | ACTIONS => { | ||
| 1244 | 'IDENTIFIER' => 242, | ||
| 1245 | 'error' => 243 | ||
| 1246 | } | ||
| 1247 | }, | ||
| 1248 | {#State 142 | ||
| 1249 | ACTIONS => { | ||
| 1250 | 'IDENTIFIER' => 244, | ||
| 1251 | 'error' => 245 | ||
| 1252 | } | ||
| 1253 | }, | ||
| 1254 | {#State 143 | ||
| 1255 | ACTIONS => { | ||
| 1256 | 'IDENTIFIER' => 246, | ||
| 1257 | 'error' => 247 | ||
| 1258 | } | ||
| 1259 | }, | ||
| 1260 | {#State 144 | ||
| 1261 | DEFAULT => -61 | ||
| 1262 | }, | ||
| 1263 | {#State 145 | ||
| 1264 | DEFAULT => -62 | ||
| 1265 | }, | ||
| 1266 | {#State 146 | ||
| 1267 | ACTIONS => { | ||
| 1268 | "-" => 248, | ||
| 1269 | "::" => 63, | ||
| 1270 | 'TRUE' => 261, | ||
| 1271 | "+" => 262, | ||
| 1272 | "~" => 249, | ||
| 1273 | 'INTEGER_LITERAL' => 263, | ||
| 1274 | 'FLOATING_PT_LITERAL' => 265, | ||
| 1275 | 'FALSE' => 251, | ||
| 1276 | 'error' => 266, | ||
| 1277 | 'WIDE_STRING_LITERAL' => 267, | ||
| 1278 | 'CHARACTER_LITERAL' => 268, | ||
| 1279 | 'IDENTIFIER' => 49, | ||
| 1280 | "(" => 258, | ||
| 1281 | 'FIXED_PT_LITERAL' => 272, | ||
| 1282 | 'STRING_LITERAL' => 119, | ||
| 1283 | 'WIDE_CHARACTER_LITERAL' => 260 | ||
| 1284 | }, | ||
| 1285 | GOTOS => { | ||
| 1286 | 'shift_expr' => 264, | ||
| 1287 | 'literal' => 250, | ||
| 1288 | 'const_exp' => 252, | ||
| 1289 | 'unary_operator' => 253, | ||
| 1290 | 'string_literal' => 254, | ||
| 1291 | 'and_expr' => 255, | ||
| 1292 | 'or_expr' => 256, | ||
| 1293 | 'mult_expr' => 269, | ||
| 1294 | 'scoped_name' => 257, | ||
| 1295 | 'boolean_literal' => 270, | ||
| 1296 | 'add_expr' => 271, | ||
| 1297 | 'positive_int_const' => 273, | ||
| 1298 | 'unary_expr' => 259, | ||
| 1299 | 'primary_expr' => 274, | ||
| 1300 | 'wide_string_literal' => 275, | ||
| 1301 | 'xor_expr' => 276 | ||
| 1302 | } | ||
| 1303 | }, | ||
| 1304 | {#State 147 | ||
| 1305 | ACTIONS => { | ||
| 1306 | "-" => 248, | ||
| 1307 | "::" => 63, | ||
| 1308 | 'TRUE' => 261, | ||
| 1309 | "+" => 262, | ||
| 1310 | "~" => 249, | ||
| 1311 | 'INTEGER_LITERAL' => 263, | ||
| 1312 | 'FLOATING_PT_LITERAL' => 265, | ||
| 1313 | 'FALSE' => 251, | ||
| 1314 | 'error' => 277, | ||
| 1315 | 'WIDE_STRING_LITERAL' => 267, | ||
| 1316 | 'CHARACTER_LITERAL' => 268, | ||
| 1317 | 'IDENTIFIER' => 49, | ||
| 1318 | "(" => 258, | ||
| 1319 | 'FIXED_PT_LITERAL' => 272, | ||
| 1320 | 'STRING_LITERAL' => 119, | ||
| 1321 | 'WIDE_CHARACTER_LITERAL' => 260 | ||
| 1322 | }, | ||
| 1323 | GOTOS => { | ||
| 1324 | 'shift_expr' => 264, | ||
| 1325 | 'literal' => 250, | ||
| 1326 | 'const_exp' => 252, | ||
| 1327 | 'unary_operator' => 253, | ||
| 1328 | 'string_literal' => 254, | ||
| 1329 | 'and_expr' => 255, | ||
| 1330 | 'or_expr' => 256, | ||
| 1331 | 'mult_expr' => 269, | ||
| 1332 | 'scoped_name' => 257, | ||
| 1333 | 'boolean_literal' => 270, | ||
| 1334 | 'add_expr' => 271, | ||
| 1335 | 'positive_int_const' => 278, | ||
| 1336 | 'unary_expr' => 259, | ||
| 1337 | 'primary_expr' => 274, | ||
| 1338 | 'wide_string_literal' => 275, | ||
| 1339 | 'xor_expr' => 276 | ||
| 1340 | } | ||
| 1341 | }, | ||
| 1342 | {#State 148 | ||
| 1343 | ACTIONS => { | ||
| 1344 | "::" => 63, | ||
| 1345 | 'CHAR' => 64, | ||
| 1346 | 'OBJECT' => 68, | ||
| 1347 | 'STRING' => 71, | ||
| 1348 | 'OCTET' => 37, | ||
| 1349 | 'WSTRING' => 73, | ||
| 1350 | 'UNSIGNED' => 41, | ||
| 1351 | 'error' => 279, | ||
| 1352 | 'ANY' => 43, | ||
| 1353 | 'FLOAT' => 76, | ||
| 1354 | 'LONG' => 44, | ||
| 1355 | 'SEQUENCE' => 78, | ||
| 1356 | 'IDENTIFIER' => 49, | ||
| 1357 | 'DOUBLE' => 79, | ||
| 1358 | 'SHORT' => 80, | ||
| 1359 | 'BOOLEAN' => 82, | ||
| 1360 | 'VOID' => 55, | ||
| 1361 | 'FIXED' => 85, | ||
| 1362 | 'VALUEBASE' => 87, | ||
| 1363 | 'WCHAR' => 60 | ||
| 1364 | }, | ||
| 1365 | GOTOS => { | ||
| 1366 | 'wide_string_type' => 62, | ||
| 1367 | 'object_type' => 65, | ||
| 1368 | 'integer_type' => 67, | ||
| 1369 | 'sequence_type' => 70, | ||
| 1370 | 'unsigned_int' => 69, | ||
| 1371 | 'unsigned_short_int' => 36, | ||
| 1372 | 'unsigned_longlong_int' => 72, | ||
| 1373 | 'floating_pt_type' => 75, | ||
| 1374 | 'value_base_type' => 77, | ||
| 1375 | 'signed_longlong_int' => 45, | ||
| 1376 | 'any_type' => 47, | ||
| 1377 | 'template_type_spec' => 48, | ||
| 1378 | 'base_type_spec' => 81, | ||
| 1379 | 'unsigned_long_int' => 50, | ||
| 1380 | 'scoped_name' => 51, | ||
| 1381 | 'signed_int' => 83, | ||
| 1382 | 'string_type' => 52, | ||
| 1383 | 'simple_type_spec' => 280, | ||
| 1384 | 'char_type' => 54, | ||
| 1385 | 'signed_short_int' => 57, | ||
| 1386 | 'signed_long_int' => 56, | ||
| 1387 | 'fixed_pt_type' => 58, | ||
| 1388 | 'boolean_type' => 86, | ||
| 1389 | 'wide_char_type' => 59, | ||
| 1390 | 'octet_type' => 61 | ||
| 1391 | } | ||
| 1392 | }, | ||
| 1393 | {#State 149 | ||
| 1394 | DEFAULT => -285 | ||
| 1395 | }, | ||
| 1396 | {#State 150 | ||
| 1397 | ACTIONS => { | ||
| 1398 | "-" => 248, | ||
| 1399 | "::" => 63, | ||
| 1400 | 'TRUE' => 261, | ||
| 1401 | "+" => 262, | ||
| 1402 | "~" => 249, | ||
| 1403 | 'INTEGER_LITERAL' => 263, | ||
| 1404 | 'FLOATING_PT_LITERAL' => 265, | ||
| 1405 | 'FALSE' => 251, | ||
| 1406 | 'error' => 281, | ||
| 1407 | 'WIDE_STRING_LITERAL' => 267, | ||
| 1408 | 'CHARACTER_LITERAL' => 268, | ||
| 1409 | 'IDENTIFIER' => 49, | ||
| 1410 | "(" => 258, | ||
| 1411 | 'FIXED_PT_LITERAL' => 272, | ||
| 1412 | 'STRING_LITERAL' => 119, | ||
| 1413 | 'WIDE_CHARACTER_LITERAL' => 260 | ||
| 1414 | }, | ||
| 1415 | GOTOS => { | ||
| 1416 | 'shift_expr' => 264, | ||
| 1417 | 'literal' => 250, | ||
| 1418 | 'const_exp' => 252, | ||
| 1419 | 'unary_operator' => 253, | ||
| 1420 | 'string_literal' => 254, | ||
| 1421 | 'and_expr' => 255, | ||
| 1422 | 'or_expr' => 256, | ||
| 1423 | 'mult_expr' => 269, | ||
| 1424 | 'scoped_name' => 257, | ||
| 1425 | 'boolean_literal' => 270, | ||
| 1426 | 'add_expr' => 271, | ||
| 1427 | 'positive_int_const' => 282, | ||
| 1428 | 'unary_expr' => 259, | ||
| 1429 | 'primary_expr' => 274, | ||
| 1430 | 'wide_string_literal' => 275, | ||
| 1431 | 'xor_expr' => 276 | ||
| 1432 | } | ||
| 1433 | }, | ||
| 1434 | {#State 151 | ||
| 1435 | DEFAULT => -354 | ||
| 1436 | }, | ||
| 1437 | {#State 152 | ||
| 1438 | DEFAULT => -303 | ||
| 1439 | }, | ||
| 1440 | {#State 153 | ||
| 1441 | DEFAULT => -304 | ||
| 1442 | }, | ||
| 1443 | {#State 154 | ||
| 1444 | DEFAULT => -86 | ||
| 1445 | }, | ||
| 1446 | {#State 155 | ||
| 1447 | ACTIONS => { | ||
| 1448 | 'IDENTIFIER' => 284, | ||
| 1449 | 'error' => 285 | ||
| 1450 | }, | ||
| 1451 | GOTOS => { | ||
| 1452 | 'simple_declarator' => 283 | ||
| 1453 | } | ||
| 1454 | }, | ||
| 1455 | {#State 156 | ||
| 1456 | ACTIONS => { | ||
| 1457 | 'ENUM' => -396, | ||
| 1458 | "::" => 63, | ||
| 1459 | 'CHAR' => 64, | ||
| 1460 | 'OBJECT' => 68, | ||
| 1461 | 'STRING' => 71, | ||
| 1462 | 'OCTET' => 37, | ||
| 1463 | 'WSTRING' => 73, | ||
| 1464 | 'UNION' => -396, | ||
| 1465 | 'UNSIGNED' => 41, | ||
| 1466 | 'error' => 288, | ||
| 1467 | "[" => 42, | ||
| 1468 | 'ANY' => 43, | ||
| 1469 | 'FLOAT' => 76, | ||
| 1470 | 'LONG' => 44, | ||
| 1471 | 'SEQUENCE' => 78, | ||
| 1472 | 'DOUBLE' => 79, | ||
| 1473 | 'IDENTIFIER' => 49, | ||
| 1474 | 'SHORT' => 80, | ||
| 1475 | 'BOOLEAN' => 82, | ||
| 1476 | 'STRUCT' => -396, | ||
| 1477 | 'VOID' => 55, | ||
| 1478 | 'FIXED' => 85, | ||
| 1479 | 'VALUEBASE' => 87, | ||
| 1480 | 'WCHAR' => 60 | ||
| 1481 | }, | ||
| 1482 | GOTOS => { | ||
| 1483 | 'union_type' => 34, | ||
| 1484 | 'enum_header' => 35, | ||
| 1485 | 'unsigned_short_int' => 36, | ||
| 1486 | 'struct_type' => 38, | ||
| 1487 | 'union_header' => 39, | ||
| 1488 | 'struct_header' => 40, | ||
| 1489 | 'type_declarator' => 286, | ||
| 1490 | 'signed_longlong_int' => 45, | ||
| 1491 | 'enum_type' => 46, | ||
| 1492 | 'any_type' => 47, | ||
| 1493 | 'template_type_spec' => 48, | ||
| 1494 | 'unsigned_long_int' => 50, | ||
| 1495 | 'scoped_name' => 51, | ||
| 1496 | 'string_type' => 52, | ||
| 1497 | 'props' => 53, | ||
| 1498 | 'char_type' => 54, | ||
| 1499 | 'fixed_pt_type' => 58, | ||
| 1500 | 'signed_short_int' => 57, | ||
| 1501 | 'signed_long_int' => 56, | ||
| 1502 | 'wide_char_type' => 59, | ||
| 1503 | 'octet_type' => 61, | ||
| 1504 | 'wide_string_type' => 62, | ||
| 1505 | 'object_type' => 65, | ||
| 1506 | 'type_spec' => 287, | ||
| 1507 | 'integer_type' => 67, | ||
| 1508 | 'unsigned_int' => 69, | ||
| 1509 | 'sequence_type' => 70, | ||
| 1510 | 'unsigned_longlong_int' => 72, | ||
| 1511 | 'constr_type_spec' => 74, | ||
| 1512 | 'floating_pt_type' => 75, | ||
| 1513 | 'value_base_type' => 77, | ||
| 1514 | 'base_type_spec' => 81, | ||
| 1515 | 'signed_int' => 83, | ||
| 1516 | 'simple_type_spec' => 84, | ||
| 1517 | 'boolean_type' => 86 | ||
| 1518 | } | ||
| 1519 | }, | ||
| 1520 | {#State 157 | ||
| 1521 | ACTIONS => { | ||
| 1522 | 'INTERFACE' => 289 | ||
| 1523 | } | ||
| 1524 | }, | ||
| 1525 | {#State 158 | ||
| 1526 | ACTIONS => { | ||
| 1527 | 'VALUETYPE' => 290 | ||
| 1528 | } | ||
| 1529 | }, | ||
| 1530 | {#State 159 | ||
| 1531 | ACTIONS => { | ||
| 1532 | 'IDENTIFIER' => 291, | ||
| 1533 | 'error' => 292 | ||
| 1534 | } | ||
| 1535 | }, | ||
| 1536 | {#State 160 | ||
| 1537 | ACTIONS => { | ||
| 1538 | 'INTERFACE' => -35, | ||
| 1539 | 'VALUETYPE' => 293, | ||
| 1540 | 'error' => 294 | ||
| 1541 | } | ||
| 1542 | }, | ||
| 1543 | {#State 161 | ||
| 1544 | ACTIONS => { | ||
| 1545 | 'IDENTIFIER' => 295, | ||
| 1546 | 'error' => 296 | ||
| 1547 | } | ||
| 1548 | }, | ||
| 1549 | {#State 162 | ||
| 1550 | DEFAULT => -36 | ||
| 1551 | }, | ||
| 1552 | {#State 163 | ||
| 1553 | DEFAULT => -26 | ||
| 1554 | }, | ||
| 1555 | {#State 164 | ||
| 1556 | DEFAULT => -27 | ||
| 1557 | }, | ||
| 1558 | {#State 165 | ||
| 1559 | ACTIONS => { | ||
| 1560 | "::" => 140 | ||
| 1561 | }, | ||
| 1562 | DEFAULT => -132 | ||
| 1563 | }, | ||
| 1564 | {#State 166 | ||
| 1565 | DEFAULT => -129 | ||
| 1566 | }, | ||
| 1567 | {#State 167 | ||
| 1568 | DEFAULT => -125 | ||
| 1569 | }, | ||
| 1570 | {#State 168 | ||
| 1571 | DEFAULT => -126 | ||
| 1572 | }, | ||
| 1573 | {#State 169 | ||
| 1574 | DEFAULT => -133 | ||
| 1575 | }, | ||
| 1576 | {#State 170 | ||
| 1577 | DEFAULT => -130 | ||
| 1578 | }, | ||
| 1579 | {#State 171 | ||
| 1580 | DEFAULT => -124 | ||
| 1581 | }, | ||
| 1582 | {#State 172 | ||
| 1583 | DEFAULT => -128 | ||
| 1584 | }, | ||
| 1585 | {#State 173 | ||
| 1586 | DEFAULT => -123 | ||
| 1587 | }, | ||
| 1588 | {#State 174 | ||
| 1589 | ACTIONS => { | ||
| 1590 | 'IDENTIFIER' => 297, | ||
| 1591 | 'error' => 298 | ||
| 1592 | } | ||
| 1593 | }, | ||
| 1594 | {#State 175 | ||
| 1595 | DEFAULT => -131 | ||
| 1596 | }, | ||
| 1597 | {#State 176 | ||
| 1598 | DEFAULT => -355 | ||
| 1599 | }, | ||
| 1600 | {#State 177 | ||
| 1601 | DEFAULT => -127 | ||
| 1602 | }, | ||
| 1603 | {#State 178 | ||
| 1604 | DEFAULT => -79 | ||
| 1605 | }, | ||
| 1606 | {#State 179 | ||
| 1607 | DEFAULT => -53 | ||
| 1608 | }, | ||
| 1609 | {#State 180 | ||
| 1610 | DEFAULT => -297 | ||
| 1611 | }, | ||
| 1612 | {#State 181 | ||
| 1613 | ACTIONS => { | ||
| 1614 | 'CODE_FRAGMENT' => 90, | ||
| 1615 | 'EXCEPTION' => 91, | ||
| 1616 | "[" => 42, | ||
| 1617 | 'CONST' => 97 | ||
| 1618 | }, | ||
| 1619 | DEFAULT => -396, | ||
| 1620 | GOTOS => { | ||
| 1621 | 'union_type' => 88, | ||
| 1622 | 'enum_type' => 92, | ||
| 1623 | 'enum_header' => 35, | ||
| 1624 | 'type_dcl_def' => 93, | ||
| 1625 | 'struct_type' => 89, | ||
| 1626 | 'union_header' => 39, | ||
| 1627 | 'props' => 299, | ||
| 1628 | 'struct_header' => 40, | ||
| 1629 | 'constr_forward_decl' => 95 | ||
| 1630 | } | ||
| 1631 | }, | ||
| 1632 | {#State 182 | ||
| 1633 | ACTIONS => { | ||
| 1634 | ";" => 99, | ||
| 1635 | 'error' => 100 | ||
| 1636 | }, | ||
| 1637 | GOTOS => { | ||
| 1638 | 'check_semicolon' => 300 | ||
| 1639 | } | ||
| 1640 | }, | ||
| 1641 | {#State 183 | ||
| 1642 | DEFAULT => -99 | ||
| 1643 | }, | ||
| 1644 | {#State 184 | ||
| 1645 | ACTIONS => { | ||
| 1646 | ";" => 99, | ||
| 1647 | 'error' => 100 | ||
| 1648 | }, | ||
| 1649 | GOTOS => { | ||
| 1650 | 'check_semicolon' => 301 | ||
| 1651 | } | ||
| 1652 | }, | ||
| 1653 | {#State 185 | ||
| 1654 | ACTIONS => { | ||
| 1655 | "}" => -82, | ||
| 1656 | 'TYPEID' => 25, | ||
| 1657 | 'DECLSPEC' => 29, | ||
| 1658 | 'TYPEPREFIX' => 31 | ||
| 1659 | }, | ||
| 1660 | DEFAULT => -394, | ||
| 1661 | GOTOS => { | ||
| 1662 | 'op_header' => 188, | ||
| 1663 | 'init_header_param' => 189, | ||
| 1664 | 'code_frag' => 179, | ||
| 1665 | 'readonly_attr_spec' => 180, | ||
| 1666 | 'init_header' => 190, | ||
| 1667 | 'op_dcl' => 191, | ||
| 1668 | 'attr_dcl' => 192, | ||
| 1669 | 'declspec' => 181, | ||
| 1670 | 'except_dcl' => 182, | ||
| 1671 | 'state_member' => 194, | ||
| 1672 | 'export' => 183, | ||
| 1673 | 'type_dcl' => 184, | ||
| 1674 | 'value_elements' => 302, | ||
| 1675 | 'value_element' => 185, | ||
| 1676 | 'exception_header' => 15, | ||
| 1677 | 'attr_spec' => 186, | ||
| 1678 | 'const_dcl' => 187, | ||
| 1679 | 'type_prefix_dcl' => 196, | ||
| 1680 | 'type_id_dcl' => 198, | ||
| 1681 | 'init_dcl' => 197 | ||
| 1682 | } | ||
| 1683 | }, | ||
| 1684 | {#State 186 | ||
| 1685 | DEFAULT => -298 | ||
| 1686 | }, | ||
| 1687 | {#State 187 | ||
| 1688 | ACTIONS => { | ||
| 1689 | ";" => 99, | ||
| 1690 | 'error' => 100 | ||
| 1691 | }, | ||
| 1692 | GOTOS => { | ||
| 1693 | 'check_semicolon' => 303 | ||
| 1694 | } | ||
| 1695 | }, | ||
| 1696 | {#State 188 | ||
| 1697 | ACTIONS => { | ||
| 1698 | "(" => 304, | ||
| 1699 | 'error' => 305 | ||
| 1700 | }, | ||
| 1701 | GOTOS => { | ||
| 1702 | 'parameter_dcls' => 306 | ||
| 1703 | } | ||
| 1704 | }, | ||
| 1705 | {#State 189 | ||
| 1706 | ACTIONS => { | ||
| 1707 | 'RAISES' => 307 | ||
| 1708 | }, | ||
| 1709 | DEFAULT => -333, | ||
| 1710 | GOTOS => { | ||
| 1711 | 'raises_expr' => 308 | ||
| 1712 | } | ||
| 1713 | }, | ||
| 1714 | {#State 190 | ||
| 1715 | ACTIONS => { | ||
| 1716 | "(" => 309, | ||
| 1717 | 'error' => 310 | ||
| 1718 | } | ||
| 1719 | }, | ||
| 1720 | {#State 191 | ||
| 1721 | ACTIONS => { | ||
| 1722 | ";" => 99, | ||
| 1723 | 'error' => 100 | ||
| 1724 | }, | ||
| 1725 | GOTOS => { | ||
| 1726 | 'check_semicolon' => 311 | ||
| 1727 | } | ||
| 1728 | }, | ||
| 1729 | {#State 192 | ||
| 1730 | ACTIONS => { | ||
| 1731 | ";" => 99, | ||
| 1732 | 'error' => 100 | ||
| 1733 | }, | ||
| 1734 | GOTOS => { | ||
| 1735 | 'check_semicolon' => 312 | ||
| 1736 | } | ||
| 1737 | }, | ||
| 1738 | {#State 193 | ||
| 1739 | ACTIONS => { | ||
| 1740 | "}" => 313 | ||
| 1741 | } | ||
| 1742 | }, | ||
| 1743 | {#State 194 | ||
| 1744 | DEFAULT => -100 | ||
| 1745 | }, | ||
| 1746 | {#State 195 | ||
| 1747 | ACTIONS => { | ||
| 1748 | "}" => 314 | ||
| 1749 | } | ||
| 1750 | }, | ||
| 1751 | {#State 196 | ||
| 1752 | ACTIONS => { | ||
| 1753 | ";" => 99, | ||
| 1754 | 'error' => 100 | ||
| 1755 | }, | ||
| 1756 | GOTOS => { | ||
| 1757 | 'check_semicolon' => 315 | ||
| 1758 | } | ||
| 1759 | }, | ||
| 1760 | {#State 197 | ||
| 1761 | DEFAULT => -101 | ||
| 1762 | }, | ||
| 1763 | {#State 198 | ||
| 1764 | ACTIONS => { | ||
| 1765 | ";" => 99, | ||
| 1766 | 'error' => 100 | ||
| 1767 | }, | ||
| 1768 | GOTOS => { | ||
| 1769 | 'check_semicolon' => 316 | ||
| 1770 | } | ||
| 1771 | }, | ||
| 1772 | {#State 199 | ||
| 1773 | DEFAULT => -30 | ||
| 1774 | }, | ||
| 1775 | {#State 200 | ||
| 1776 | DEFAULT => -43 | ||
| 1777 | }, | ||
| 1778 | {#State 201 | ||
| 1779 | ACTIONS => { | ||
| 1780 | "}" => -41, | ||
| 1781 | 'TYPEID' => 25, | ||
| 1782 | 'DECLSPEC' => 29, | ||
| 1783 | 'TYPEPREFIX' => 31 | ||
| 1784 | }, | ||
| 1785 | DEFAULT => -394, | ||
| 1786 | GOTOS => { | ||
| 1787 | 'op_header' => 188, | ||
| 1788 | 'init_header_param' => 189, | ||
| 1789 | 'code_frag' => 179, | ||
| 1790 | 'readonly_attr_spec' => 180, | ||
| 1791 | 'init_header' => 190, | ||
| 1792 | 'op_dcl' => 191, | ||
| 1793 | 'exports' => 317, | ||
| 1794 | 'attr_dcl' => 192, | ||
| 1795 | 'declspec' => 181, | ||
| 1796 | 'except_dcl' => 182, | ||
| 1797 | 'state_member' => 205, | ||
| 1798 | 'type_dcl' => 184, | ||
| 1799 | 'export' => 200, | ||
| 1800 | '_export' => 201, | ||
| 1801 | 'exception_header' => 15, | ||
| 1802 | 'attr_spec' => 186, | ||
| 1803 | 'const_dcl' => 187, | ||
| 1804 | 'type_prefix_dcl' => 196, | ||
| 1805 | 'init_dcl' => 206, | ||
| 1806 | 'type_id_dcl' => 198 | ||
| 1807 | } | ||
| 1808 | }, | ||
| 1809 | {#State 202 | ||
| 1810 | ACTIONS => { | ||
| 1811 | "}" => 318 | ||
| 1812 | } | ||
| 1813 | }, | ||
| 1814 | {#State 203 | ||
| 1815 | DEFAULT => -40 | ||
| 1816 | }, | ||
| 1817 | {#State 204 | ||
| 1818 | ACTIONS => { | ||
| 1819 | "}" => 319 | ||
| 1820 | } | ||
| 1821 | }, | ||
| 1822 | {#State 205 | ||
| 1823 | DEFAULT => -44 | ||
| 1824 | }, | ||
| 1825 | {#State 206 | ||
| 1826 | DEFAULT => -45 | ||
| 1827 | }, | ||
| 1828 | {#State 207 | ||
| 1829 | DEFAULT => -19 | ||
| 1830 | }, | ||
| 1831 | {#State 208 | ||
| 1832 | DEFAULT => -73 | ||
| 1833 | }, | ||
| 1834 | {#State 209 | ||
| 1835 | ACTIONS => { | ||
| 1836 | "}" => 320 | ||
| 1837 | } | ||
| 1838 | }, | ||
| 1839 | {#State 210 | ||
| 1840 | ACTIONS => { | ||
| 1841 | "}" => 321 | ||
| 1842 | } | ||
| 1843 | }, | ||
| 1844 | {#State 211 | ||
| 1845 | DEFAULT => -299 | ||
| 1846 | }, | ||
| 1847 | {#State 212 | ||
| 1848 | ACTIONS => { | ||
| 1849 | "}" => 322 | ||
| 1850 | } | ||
| 1851 | }, | ||
| 1852 | {#State 213 | ||
| 1853 | ACTIONS => { | ||
| 1854 | "}" => -243, | ||
| 1855 | "[" => 42 | ||
| 1856 | }, | ||
| 1857 | DEFAULT => -396, | ||
| 1858 | GOTOS => { | ||
| 1859 | 'union_type' => 34, | ||
| 1860 | 'enum_type' => 46, | ||
| 1861 | 'member' => 213, | ||
| 1862 | 'enum_header' => 35, | ||
| 1863 | 'struct_type' => 38, | ||
| 1864 | 'union_header' => 39, | ||
| 1865 | 'constr_type_spec' => 215, | ||
| 1866 | 'props' => 214, | ||
| 1867 | 'struct_header' => 40, | ||
| 1868 | 'member_list' => 323 | ||
| 1869 | } | ||
| 1870 | }, | ||
| 1871 | {#State 214 | ||
| 1872 | ACTIONS => { | ||
| 1873 | 'ENUM' => 142, | ||
| 1874 | "::" => 63, | ||
| 1875 | 'CHAR' => 64, | ||
| 1876 | 'OBJECT' => 68, | ||
| 1877 | 'STRING' => 71, | ||
| 1878 | 'OCTET' => 37, | ||
| 1879 | 'WSTRING' => 73, | ||
| 1880 | 'UNION' => 143, | ||
| 1881 | 'UNSIGNED' => 41, | ||
| 1882 | 'ANY' => 43, | ||
| 1883 | 'FLOAT' => 76, | ||
| 1884 | 'LONG' => 44, | ||
| 1885 | 'SEQUENCE' => 78, | ||
| 1886 | 'IDENTIFIER' => 49, | ||
| 1887 | 'DOUBLE' => 79, | ||
| 1888 | 'SHORT' => 80, | ||
| 1889 | 'BOOLEAN' => 82, | ||
| 1890 | 'STRUCT' => 141, | ||
| 1891 | 'VOID' => 55, | ||
| 1892 | 'FIXED' => 85, | ||
| 1893 | 'VALUEBASE' => 87, | ||
| 1894 | 'WCHAR' => 60 | ||
| 1895 | }, | ||
| 1896 | GOTOS => { | ||
| 1897 | 'wide_string_type' => 62, | ||
| 1898 | 'object_type' => 65, | ||
| 1899 | 'integer_type' => 67, | ||
| 1900 | 'sequence_type' => 70, | ||
| 1901 | 'unsigned_int' => 69, | ||
| 1902 | 'unsigned_short_int' => 36, | ||
| 1903 | 'unsigned_longlong_int' => 72, | ||
| 1904 | 'floating_pt_type' => 75, | ||
| 1905 | 'value_base_type' => 77, | ||
| 1906 | 'signed_longlong_int' => 45, | ||
| 1907 | 'any_type' => 47, | ||
| 1908 | 'template_type_spec' => 48, | ||
| 1909 | 'base_type_spec' => 81, | ||
| 1910 | 'unsigned_long_int' => 50, | ||
| 1911 | 'scoped_name' => 51, | ||
| 1912 | 'signed_int' => 83, | ||
| 1913 | 'string_type' => 52, | ||
| 1914 | 'simple_type_spec' => 324, | ||
| 1915 | 'char_type' => 54, | ||
| 1916 | 'signed_short_int' => 57, | ||
| 1917 | 'signed_long_int' => 56, | ||
| 1918 | 'fixed_pt_type' => 58, | ||
| 1919 | 'boolean_type' => 86, | ||
| 1920 | 'wide_char_type' => 59, | ||
| 1921 | 'octet_type' => 61 | ||
| 1922 | } | ||
| 1923 | }, | ||
| 1924 | {#State 215 | ||
| 1925 | ACTIONS => { | ||
| 1926 | 'IDENTIFIER' => 326, | ||
| 1927 | 'error' => 285 | ||
| 1928 | }, | ||
| 1929 | GOTOS => { | ||
| 1930 | 'declarators' => 328, | ||
| 1931 | 'array_declarator' => 329, | ||
| 1932 | 'simple_declarator' => 325, | ||
| 1933 | 'declarator' => 327, | ||
| 1934 | 'complex_declarator' => 330 | ||
| 1935 | } | ||
| 1936 | }, | ||
| 1937 | {#State 216 | ||
| 1938 | ACTIONS => { | ||
| 1939 | "}" => 331 | ||
| 1940 | } | ||
| 1941 | }, | ||
| 1942 | {#State 217 | ||
| 1943 | DEFAULT => -9 | ||
| 1944 | }, | ||
| 1945 | {#State 218 | ||
| 1946 | DEFAULT => -25 | ||
| 1947 | }, | ||
| 1948 | {#State 219 | ||
| 1949 | DEFAULT => -24 | ||
| 1950 | }, | ||
| 1951 | {#State 220 | ||
| 1952 | ACTIONS => { | ||
| 1953 | "}" => 332 | ||
| 1954 | } | ||
| 1955 | }, | ||
| 1956 | {#State 221 | ||
| 1957 | ACTIONS => { | ||
| 1958 | "}" => 333 | ||
| 1959 | } | ||
| 1960 | }, | ||
| 1961 | {#State 222 | ||
| 1962 | DEFAULT => -361 | ||
| 1963 | }, | ||
| 1964 | {#State 223 | ||
| 1965 | DEFAULT => -169 | ||
| 1966 | }, | ||
| 1967 | {#State 224 | ||
| 1968 | DEFAULT => -365 | ||
| 1969 | }, | ||
| 1970 | {#State 225 | ||
| 1971 | DEFAULT => -366 | ||
| 1972 | }, | ||
| 1973 | {#State 226 | ||
| 1974 | DEFAULT => -368 | ||
| 1975 | }, | ||
| 1976 | {#State 227 | ||
| 1977 | DEFAULT => -369 | ||
| 1978 | }, | ||
| 1979 | {#State 228 | ||
| 1980 | DEFAULT => -370 | ||
| 1981 | }, | ||
| 1982 | {#State 229 | ||
| 1983 | DEFAULT => -280 | ||
| 1984 | }, | ||
| 1985 | {#State 230 | ||
| 1986 | ACTIONS => { | ||
| 1987 | ";" => 334, | ||
| 1988 | "," => 335 | ||
| 1989 | }, | ||
| 1990 | DEFAULT => -276 | ||
| 1991 | }, | ||
| 1992 | {#State 231 | ||
| 1993 | ACTIONS => { | ||
| 1994 | "}" => 336 | ||
| 1995 | } | ||
| 1996 | }, | ||
| 1997 | {#State 232 | ||
| 1998 | ACTIONS => { | ||
| 1999 | "}" => 337 | ||
| 2000 | } | ||
| 2001 | }, | ||
| 2002 | {#State 233 | ||
| 2003 | ACTIONS => { | ||
| 2004 | 'ENUM' => -396, | ||
| 2005 | "::" => 63, | ||
| 2006 | 'IDENTIFIER' => 49, | ||
| 2007 | 'SHORT' => 80, | ||
| 2008 | 'CHAR' => 64, | ||
| 2009 | 'BOOLEAN' => 82, | ||
| 2010 | 'UNSIGNED' => 41, | ||
| 2011 | 'error' => 344, | ||
| 2012 | "[" => 42, | ||
| 2013 | 'LONG' => 338 | ||
| 2014 | }, | ||
| 2015 | GOTOS => { | ||
| 2016 | 'signed_longlong_int' => 45, | ||
| 2017 | 'enum_type' => 339, | ||
| 2018 | 'integer_type' => 343, | ||
| 2019 | 'unsigned_long_int' => 50, | ||
| 2020 | 'unsigned_int' => 69, | ||
| 2021 | 'scoped_name' => 340, | ||
| 2022 | 'enum_header' => 35, | ||
| 2023 | 'signed_int' => 83, | ||
| 2024 | 'unsigned_short_int' => 36, | ||
| 2025 | 'unsigned_longlong_int' => 72, | ||
| 2026 | 'props' => 341, | ||
| 2027 | 'char_type' => 342, | ||
| 2028 | 'signed_short_int' => 57, | ||
| 2029 | 'signed_long_int' => 56, | ||
| 2030 | 'boolean_type' => 346, | ||
| 2031 | 'switch_type_spec' => 345 | ||
| 2032 | } | ||
| 2033 | }, | ||
| 2034 | {#State 234 | ||
| 2035 | DEFAULT => -251 | ||
| 2036 | }, | ||
| 2037 | {#State 235 | ||
| 2038 | ACTIONS => { | ||
| 2039 | "}" => 347 | ||
| 2040 | } | ||
| 2041 | }, | ||
| 2042 | {#State 236 | ||
| 2043 | ACTIONS => { | ||
| 2044 | "}" => 348 | ||
| 2045 | } | ||
| 2046 | }, | ||
| 2047 | {#State 237 | ||
| 2048 | DEFAULT => -232 | ||
| 2049 | }, | ||
| 2050 | {#State 238 | ||
| 2051 | ACTIONS => { | ||
| 2052 | 'PROP_VALUE' => 349 | ||
| 2053 | }, | ||
| 2054 | DEFAULT => -401 | ||
| 2055 | }, | ||
| 2056 | {#State 239 | ||
| 2057 | ACTIONS => { | ||
| 2058 | "," => 351, | ||
| 2059 | "]" => 350 | ||
| 2060 | } | ||
| 2061 | }, | ||
| 2062 | {#State 240 | ||
| 2063 | DEFAULT => -63 | ||
| 2064 | }, | ||
| 2065 | {#State 241 | ||
| 2066 | DEFAULT => -64 | ||
| 2067 | }, | ||
| 2068 | {#State 242 | ||
| 2069 | DEFAULT => -241 | ||
| 2070 | }, | ||
| 2071 | {#State 243 | ||
| 2072 | DEFAULT => -242 | ||
| 2073 | }, | ||
| 2074 | {#State 244 | ||
| 2075 | DEFAULT => -274 | ||
| 2076 | }, | ||
| 2077 | {#State 245 | ||
| 2078 | DEFAULT => -275 | ||
| 2079 | }, | ||
| 2080 | {#State 246 | ||
| 2081 | DEFAULT => -252 | ||
| 2082 | }, | ||
| 2083 | {#State 247 | ||
| 2084 | DEFAULT => -253 | ||
| 2085 | }, | ||
| 2086 | {#State 248 | ||
| 2087 | DEFAULT => -153 | ||
| 2088 | }, | ||
| 2089 | {#State 249 | ||
| 2090 | DEFAULT => -155 | ||
| 2091 | }, | ||
| 2092 | {#State 250 | ||
| 2093 | DEFAULT => -157 | ||
| 2094 | }, | ||
| 2095 | {#State 251 | ||
| 2096 | DEFAULT => -173 | ||
| 2097 | }, | ||
| 2098 | {#State 252 | ||
| 2099 | DEFAULT => -174 | ||
| 2100 | }, | ||
| 2101 | {#State 253 | ||
| 2102 | ACTIONS => { | ||
| 2103 | "::" => 63, | ||
| 2104 | 'TRUE' => 261, | ||
| 2105 | 'IDENTIFIER' => 49, | ||
| 2106 | 'INTEGER_LITERAL' => 263, | ||
| 2107 | 'FLOATING_PT_LITERAL' => 265, | ||
| 2108 | 'FIXED_PT_LITERAL' => 272, | ||
| 2109 | "(" => 258, | ||
| 2110 | 'FALSE' => 251, | ||
| 2111 | 'STRING_LITERAL' => 119, | ||
| 2112 | 'WIDE_CHARACTER_LITERAL' => 260, | ||
| 2113 | 'WIDE_STRING_LITERAL' => 267, | ||
| 2114 | 'CHARACTER_LITERAL' => 268 | ||
| 2115 | }, | ||
| 2116 | GOTOS => { | ||
| 2117 | 'literal' => 250, | ||
| 2118 | 'primary_expr' => 352, | ||
| 2119 | 'scoped_name' => 257, | ||
| 2120 | 'wide_string_literal' => 275, | ||
| 2121 | 'boolean_literal' => 270, | ||
| 2122 | 'string_literal' => 254 | ||
| 2123 | } | ||
| 2124 | }, | ||
| 2125 | {#State 254 | ||
| 2126 | DEFAULT => -161 | ||
| 2127 | }, | ||
| 2128 | {#State 255 | ||
| 2129 | ACTIONS => { | ||
| 2130 | "&" => 353 | ||
| 2131 | }, | ||
| 2132 | DEFAULT => -137 | ||
| 2133 | }, | ||
| 2134 | {#State 256 | ||
| 2135 | ACTIONS => { | ||
| 2136 | "|" => 354 | ||
| 2137 | }, | ||
| 2138 | DEFAULT => -134 | ||
| 2139 | }, | ||
| 2140 | {#State 257 | ||
| 2141 | ACTIONS => { | ||
| 2142 | "::" => 140 | ||
| 2143 | }, | ||
| 2144 | DEFAULT => -156 | ||
| 2145 | }, | ||
| 2146 | {#State 258 | ||
| 2147 | ACTIONS => { | ||
| 2148 | "-" => 248, | ||
| 2149 | "::" => 63, | ||
| 2150 | 'TRUE' => 261, | ||
| 2151 | "+" => 262, | ||
| 2152 | "~" => 249, | ||
| 2153 | 'INTEGER_LITERAL' => 263, | ||
| 2154 | 'FLOATING_PT_LITERAL' => 265, | ||
| 2155 | 'FALSE' => 251, | ||
| 2156 | 'error' => 356, | ||
| 2157 | 'WIDE_STRING_LITERAL' => 267, | ||
| 2158 | 'CHARACTER_LITERAL' => 268, | ||
| 2159 | 'IDENTIFIER' => 49, | ||
| 2160 | "(" => 258, | ||
| 2161 | 'FIXED_PT_LITERAL' => 272, | ||
| 2162 | 'STRING_LITERAL' => 119, | ||
| 2163 | 'WIDE_CHARACTER_LITERAL' => 260 | ||
| 2164 | }, | ||
| 2165 | GOTOS => { | ||
| 2166 | 'and_expr' => 255, | ||
| 2167 | 'or_expr' => 256, | ||
| 2168 | 'mult_expr' => 269, | ||
| 2169 | 'shift_expr' => 264, | ||
| 2170 | 'scoped_name' => 257, | ||
| 2171 | 'boolean_literal' => 270, | ||
| 2172 | 'add_expr' => 271, | ||
| 2173 | 'literal' => 250, | ||
| 2174 | 'primary_expr' => 274, | ||
| 2175 | 'unary_expr' => 259, | ||
| 2176 | 'unary_operator' => 253, | ||
| 2177 | 'const_exp' => 355, | ||
| 2178 | 'xor_expr' => 276, | ||
| 2179 | 'wide_string_literal' => 275, | ||
| 2180 | 'string_literal' => 254 | ||
| 2181 | } | ||
| 2182 | }, | ||
| 2183 | {#State 259 | ||
| 2184 | DEFAULT => -147 | ||
| 2185 | }, | ||
| 2186 | {#State 260 | ||
| 2187 | DEFAULT => -164 | ||
| 2188 | }, | ||
| 2189 | {#State 261 | ||
| 2190 | DEFAULT => -172 | ||
| 2191 | }, | ||
| 2192 | {#State 262 | ||
| 2193 | DEFAULT => -154 | ||
| 2194 | }, | ||
| 2195 | {#State 263 | ||
| 2196 | DEFAULT => -160 | ||
| 2197 | }, | ||
| 2198 | {#State 264 | ||
| 2199 | ACTIONS => { | ||
| 2200 | "<<" => 358, | ||
| 2201 | ">>" => 357 | ||
| 2202 | }, | ||
| 2203 | DEFAULT => -139 | ||
| 2204 | }, | ||
| 2205 | {#State 265 | ||
| 2206 | DEFAULT => -166 | ||
| 2207 | }, | ||
| 2208 | {#State 266 | ||
| 2209 | ACTIONS => { | ||
| 2210 | ">" => 359 | ||
| 2211 | } | ||
| 2212 | }, | ||
| 2213 | {#State 267 | ||
| 2214 | ACTIONS => { | ||
| 2215 | 'WIDE_STRING_LITERAL' => 267 | ||
| 2216 | }, | ||
| 2217 | DEFAULT => -170, | ||
| 2218 | GOTOS => { | ||
| 2219 | 'wide_string_literal' => 360 | ||
| 2220 | } | ||
| 2221 | }, | ||
| 2222 | {#State 268 | ||
| 2223 | DEFAULT => -163 | ||
| 2224 | }, | ||
| 2225 | {#State 269 | ||
| 2226 | ACTIONS => { | ||
| 2227 | "%" => 361, | ||
| 2228 | "*" => 362, | ||
| 2229 | "/" => 363 | ||
| 2230 | }, | ||
| 2231 | DEFAULT => -144 | ||
| 2232 | }, | ||
| 2233 | {#State 270 | ||
| 2234 | DEFAULT => -167 | ||
| 2235 | }, | ||
| 2236 | {#State 271 | ||
| 2237 | ACTIONS => { | ||
| 2238 | "-" => 364, | ||
| 2239 | "+" => 365 | ||
| 2240 | }, | ||
| 2241 | DEFAULT => -141 | ||
| 2242 | }, | ||
| 2243 | {#State 272 | ||
| 2244 | DEFAULT => -165 | ||
| 2245 | }, | ||
| 2246 | {#State 273 | ||
| 2247 | ACTIONS => { | ||
| 2248 | ">" => 366 | ||
| 2249 | } | ||
| 2250 | }, | ||
| 2251 | {#State 274 | ||
| 2252 | DEFAULT => -152 | ||
| 2253 | }, | ||
| 2254 | {#State 275 | ||
| 2255 | DEFAULT => -162 | ||
| 2256 | }, | ||
| 2257 | {#State 276 | ||
| 2258 | ACTIONS => { | ||
| 2259 | "^" => 367 | ||
| 2260 | }, | ||
| 2261 | DEFAULT => -135 | ||
| 2262 | }, | ||
| 2263 | {#State 277 | ||
| 2264 | ACTIONS => { | ||
| 2265 | ">" => 368 | ||
| 2266 | } | ||
| 2267 | }, | ||
| 2268 | {#State 278 | ||
| 2269 | ACTIONS => { | ||
| 2270 | ">" => 369 | ||
| 2271 | } | ||
| 2272 | }, | ||
| 2273 | {#State 279 | ||
| 2274 | ACTIONS => { | ||
| 2275 | ">" => 370 | ||
| 2276 | } | ||
| 2277 | }, | ||
| 2278 | {#State 280 | ||
| 2279 | ACTIONS => { | ||
| 2280 | "," => 372, | ||
| 2281 | ">" => 371 | ||
| 2282 | } | ||
| 2283 | }, | ||
| 2284 | {#State 281 | ||
| 2285 | ACTIONS => { | ||
| 2286 | ">" => 373 | ||
| 2287 | } | ||
| 2288 | }, | ||
| 2289 | {#State 282 | ||
| 2290 | ACTIONS => { | ||
| 2291 | "," => 374 | ||
| 2292 | } | ||
| 2293 | }, | ||
| 2294 | {#State 283 | ||
| 2295 | ACTIONS => { | ||
| 2296 | "(" => 375 | ||
| 2297 | }, | ||
| 2298 | DEFAULT => -180 | ||
| 2299 | }, | ||
| 2300 | {#State 284 | ||
| 2301 | DEFAULT => -212 | ||
| 2302 | }, | ||
| 2303 | {#State 285 | ||
| 2304 | ACTIONS => { | ||
| 2305 | ";" => 376, | ||
| 2306 | "," => 377 | ||
| 2307 | } | ||
| 2308 | }, | ||
| 2309 | {#State 286 | ||
| 2310 | DEFAULT => -176 | ||
| 2311 | }, | ||
| 2312 | {#State 287 | ||
| 2313 | ACTIONS => { | ||
| 2314 | 'IDENTIFIER' => 326, | ||
| 2315 | 'error' => 285 | ||
| 2316 | }, | ||
| 2317 | GOTOS => { | ||
| 2318 | 'declarators' => 378, | ||
| 2319 | 'array_declarator' => 329, | ||
| 2320 | 'simple_declarator' => 325, | ||
| 2321 | 'declarator' => 327, | ||
| 2322 | 'complex_declarator' => 330 | ||
| 2323 | } | ||
| 2324 | }, | ||
| 2325 | {#State 288 | ||
| 2326 | DEFAULT => -184 | ||
| 2327 | }, | ||
| 2328 | {#State 289 | ||
| 2329 | ACTIONS => { | ||
| 2330 | 'IDENTIFIER' => 379, | ||
| 2331 | 'error' => 380 | ||
| 2332 | } | ||
| 2333 | }, | ||
| 2334 | {#State 290 | ||
| 2335 | ACTIONS => { | ||
| 2336 | 'IDENTIFIER' => 381, | ||
| 2337 | 'error' => 382 | ||
| 2338 | } | ||
| 2339 | }, | ||
| 2340 | {#State 291 | ||
| 2341 | ACTIONS => { | ||
| 2342 | "{" => -241 | ||
| 2343 | }, | ||
| 2344 | DEFAULT => -357 | ||
| 2345 | }, | ||
| 2346 | {#State 292 | ||
| 2347 | ACTIONS => { | ||
| 2348 | "{" => -242 | ||
| 2349 | }, | ||
| 2350 | DEFAULT => -358 | ||
| 2351 | }, | ||
| 2352 | {#State 293 | ||
| 2353 | ACTIONS => { | ||
| 2354 | 'IDENTIFIER' => 383, | ||
| 2355 | 'error' => 384 | ||
| 2356 | } | ||
| 2357 | }, | ||
| 2358 | {#State 294 | ||
| 2359 | DEFAULT => -78 | ||
| 2360 | }, | ||
| 2361 | {#State 295 | ||
| 2362 | ACTIONS => { | ||
| 2363 | 'SWITCH' => -252 | ||
| 2364 | }, | ||
| 2365 | DEFAULT => -359 | ||
| 2366 | }, | ||
| 2367 | {#State 296 | ||
| 2368 | ACTIONS => { | ||
| 2369 | 'SWITCH' => -253 | ||
| 2370 | }, | ||
| 2371 | DEFAULT => -360 | ||
| 2372 | }, | ||
| 2373 | {#State 297 | ||
| 2374 | ACTIONS => { | ||
| 2375 | 'error' => 385, | ||
| 2376 | "=" => 386 | ||
| 2377 | } | ||
| 2378 | }, | ||
| 2379 | {#State 298 | ||
| 2380 | DEFAULT => -122 | ||
| 2381 | }, | ||
| 2382 | {#State 299 | ||
| 2383 | ACTIONS => { | ||
| 2384 | 'FACTORY' => 389, | ||
| 2385 | 'ENUM' => 142, | ||
| 2386 | 'PRIVATE' => 390, | ||
| 2387 | 'ONEWAY' => 391, | ||
| 2388 | 'UNION' => 161, | ||
| 2389 | 'NATIVE' => 155, | ||
| 2390 | 'TYPEDEF' => 156, | ||
| 2391 | 'ATTRIBUTE' => 392, | ||
| 2392 | 'PUBLIC' => 394, | ||
| 2393 | 'STRUCT' => 159, | ||
| 2394 | 'READONLY' => 395 | ||
| 2395 | }, | ||
| 2396 | DEFAULT => -310, | ||
| 2397 | GOTOS => { | ||
| 2398 | 'op_mod' => 388, | ||
| 2399 | 'op_attribute' => 387, | ||
| 2400 | 'state_mod' => 393 | ||
| 2401 | } | ||
| 2402 | }, | ||
| 2403 | {#State 300 | ||
| 2404 | DEFAULT => -48 | ||
| 2405 | }, | ||
| 2406 | {#State 301 | ||
| 2407 | DEFAULT => -46 | ||
| 2408 | }, | ||
| 2409 | {#State 302 | ||
| 2410 | DEFAULT => -83 | ||
| 2411 | }, | ||
| 2412 | {#State 303 | ||
| 2413 | DEFAULT => -47 | ||
| 2414 | }, | ||
| 2415 | {#State 304 | ||
| 2416 | ACTIONS => { | ||
| 2417 | "::" => -396, | ||
| 2418 | 'CHAR' => -396, | ||
| 2419 | 'OBJECT' => -396, | ||
| 2420 | 'STRING' => -396, | ||
| 2421 | 'OCTET' => -396, | ||
| 2422 | 'WSTRING' => -396, | ||
| 2423 | 'UNSIGNED' => -396, | ||
| 2424 | 'error' => 399, | ||
| 2425 | "[" => 42, | ||
| 2426 | 'ANY' => -396, | ||
| 2427 | 'FLOAT' => -396, | ||
| 2428 | ")" => 400, | ||
| 2429 | 'LONG' => -396, | ||
| 2430 | 'SEQUENCE' => -396, | ||
| 2431 | 'DOUBLE' => -396, | ||
| 2432 | 'IDENTIFIER' => -396, | ||
| 2433 | 'SHORT' => -396, | ||
| 2434 | 'BOOLEAN' => -396, | ||
| 2435 | 'INOUT' => -396, | ||
| 2436 | "..." => 401, | ||
| 2437 | 'OUT' => -396, | ||
| 2438 | 'IN' => -396, | ||
| 2439 | 'VOID' => -396, | ||
| 2440 | 'FIXED' => -396, | ||
| 2441 | 'VALUEBASE' => -396, | ||
| 2442 | 'WCHAR' => -396 | ||
| 2443 | }, | ||
| 2444 | GOTOS => { | ||
| 2445 | 'props' => 397, | ||
| 2446 | 'param_dcl' => 396, | ||
| 2447 | 'param_dcls' => 398 | ||
| 2448 | } | ||
| 2449 | }, | ||
| 2450 | {#State 305 | ||
| 2451 | DEFAULT => -306 | ||
| 2452 | }, | ||
| 2453 | {#State 306 | ||
| 2454 | ACTIONS => { | ||
| 2455 | 'RAISES' => 307 | ||
| 2456 | }, | ||
| 2457 | DEFAULT => -333, | ||
| 2458 | GOTOS => { | ||
| 2459 | 'raises_expr' => 402 | ||
| 2460 | } | ||
| 2461 | }, | ||
| 2462 | {#State 307 | ||
| 2463 | ACTIONS => { | ||
| 2464 | "(" => 403, | ||
| 2465 | 'error' => 404 | ||
| 2466 | } | ||
| 2467 | }, | ||
| 2468 | {#State 308 | ||
| 2469 | ACTIONS => { | ||
| 2470 | ";" => 99, | ||
| 2471 | 'error' => 100 | ||
| 2472 | }, | ||
| 2473 | GOTOS => { | ||
| 2474 | 'check_semicolon' => 405 | ||
| 2475 | } | ||
| 2476 | }, | ||
| 2477 | {#State 309 | ||
| 2478 | ACTIONS => { | ||
| 2479 | 'error' => 408, | ||
| 2480 | ")" => 409, | ||
| 2481 | 'IN' => 411 | ||
| 2482 | }, | ||
| 2483 | GOTOS => { | ||
| 2484 | 'init_param_decl' => 407, | ||
| 2485 | 'init_param_decls' => 410, | ||
| 2486 | 'init_param_attribute' => 406 | ||
| 2487 | } | ||
| 2488 | }, | ||
| 2489 | {#State 310 | ||
| 2490 | DEFAULT => -111 | ||
| 2491 | }, | ||
| 2492 | {#State 311 | ||
| 2493 | DEFAULT => -50 | ||
| 2494 | }, | ||
| 2495 | {#State 312 | ||
| 2496 | DEFAULT => -49 | ||
| 2497 | }, | ||
| 2498 | {#State 313 | ||
| 2499 | DEFAULT => -81 | ||
| 2500 | }, | ||
| 2501 | {#State 314 | ||
| 2502 | DEFAULT => -80 | ||
| 2503 | }, | ||
| 2504 | {#State 315 | ||
| 2505 | DEFAULT => -52 | ||
| 2506 | }, | ||
| 2507 | {#State 316 | ||
| 2508 | DEFAULT => -51 | ||
| 2509 | }, | ||
| 2510 | {#State 317 | ||
| 2511 | DEFAULT => -42 | ||
| 2512 | }, | ||
| 2513 | {#State 318 | ||
| 2514 | DEFAULT => -31 | ||
| 2515 | }, | ||
| 2516 | {#State 319 | ||
| 2517 | DEFAULT => -32 | ||
| 2518 | }, | ||
| 2519 | {#State 320 | ||
| 2520 | DEFAULT => -74 | ||
| 2521 | }, | ||
| 2522 | {#State 321 | ||
| 2523 | DEFAULT => -75 | ||
| 2524 | }, | ||
| 2525 | {#State 322 | ||
| 2526 | DEFAULT => -300 | ||
| 2527 | }, | ||
| 2528 | {#State 323 | ||
| 2529 | DEFAULT => -244 | ||
| 2530 | }, | ||
| 2531 | {#State 324 | ||
| 2532 | ACTIONS => { | ||
| 2533 | 'IDENTIFIER' => 326, | ||
| 2534 | 'error' => 285 | ||
| 2535 | }, | ||
| 2536 | GOTOS => { | ||
| 2537 | 'declarators' => 412, | ||
| 2538 | 'array_declarator' => 329, | ||
| 2539 | 'simple_declarator' => 325, | ||
| 2540 | 'declarator' => 327, | ||
| 2541 | 'complex_declarator' => 330 | ||
| 2542 | } | ||
| 2543 | }, | ||
| 2544 | {#State 325 | ||
| 2545 | DEFAULT => -210 | ||
| 2546 | }, | ||
| 2547 | {#State 326 | ||
| 2548 | ACTIONS => { | ||
| 2549 | "[" => 414 | ||
| 2550 | }, | ||
| 2551 | DEFAULT => -212, | ||
| 2552 | GOTOS => { | ||
| 2553 | 'fixed_array_sizes' => 413, | ||
| 2554 | 'fixed_array_size' => 415 | ||
| 2555 | } | ||
| 2556 | }, | ||
| 2557 | {#State 327 | ||
| 2558 | ACTIONS => { | ||
| 2559 | "," => 416 | ||
| 2560 | }, | ||
| 2561 | DEFAULT => -208 | ||
| 2562 | }, | ||
| 2563 | {#State 328 | ||
| 2564 | ACTIONS => { | ||
| 2565 | ";" => 99, | ||
| 2566 | 'error' => 100 | ||
| 2567 | }, | ||
| 2568 | GOTOS => { | ||
| 2569 | 'check_semicolon' => 417 | ||
| 2570 | } | ||
| 2571 | }, | ||
| 2572 | {#State 329 | ||
| 2573 | DEFAULT => -215 | ||
| 2574 | }, | ||
| 2575 | {#State 330 | ||
| 2576 | DEFAULT => -211 | ||
| 2577 | }, | ||
| 2578 | {#State 331 | ||
| 2579 | DEFAULT => -301 | ||
| 2580 | }, | ||
| 2581 | {#State 332 | ||
| 2582 | DEFAULT => -22 | ||
| 2583 | }, | ||
| 2584 | {#State 333 | ||
| 2585 | DEFAULT => -23 | ||
| 2586 | }, | ||
| 2587 | {#State 334 | ||
| 2588 | DEFAULT => -279 | ||
| 2589 | }, | ||
| 2590 | {#State 335 | ||
| 2591 | ACTIONS => { | ||
| 2592 | 'IDENTIFIER' => 229 | ||
| 2593 | }, | ||
| 2594 | DEFAULT => -278, | ||
| 2595 | GOTOS => { | ||
| 2596 | 'enumerators' => 418, | ||
| 2597 | 'enumerator' => 230 | ||
| 2598 | } | ||
| 2599 | }, | ||
| 2600 | {#State 336 | ||
| 2601 | DEFAULT => -272 | ||
| 2602 | }, | ||
| 2603 | {#State 337 | ||
| 2604 | DEFAULT => -271 | ||
| 2605 | }, | ||
| 2606 | {#State 338 | ||
| 2607 | ACTIONS => { | ||
| 2608 | 'LONG' => 138 | ||
| 2609 | }, | ||
| 2610 | DEFAULT => -225 | ||
| 2611 | }, | ||
| 2612 | {#State 339 | ||
| 2613 | DEFAULT => -257 | ||
| 2614 | }, | ||
| 2615 | {#State 340 | ||
| 2616 | ACTIONS => { | ||
| 2617 | "::" => 140 | ||
| 2618 | }, | ||
| 2619 | DEFAULT => -258 | ||
| 2620 | }, | ||
| 2621 | {#State 341 | ||
| 2622 | ACTIONS => { | ||
| 2623 | 'ENUM' => 142 | ||
| 2624 | } | ||
| 2625 | }, | ||
| 2626 | {#State 342 | ||
| 2627 | DEFAULT => -255 | ||
| 2628 | }, | ||
| 2629 | {#State 343 | ||
| 2630 | DEFAULT => -254 | ||
| 2631 | }, | ||
| 2632 | {#State 344 | ||
| 2633 | ACTIONS => { | ||
| 2634 | ")" => 419 | ||
| 2635 | } | ||
| 2636 | }, | ||
| 2637 | {#State 345 | ||
| 2638 | ACTIONS => { | ||
| 2639 | ")" => 420 | ||
| 2640 | } | ||
| 2641 | }, | ||
| 2642 | {#State 346 | ||
| 2643 | DEFAULT => -256 | ||
| 2644 | }, | ||
| 2645 | {#State 347 | ||
| 2646 | DEFAULT => -239 | ||
| 2647 | }, | ||
| 2648 | {#State 348 | ||
| 2649 | DEFAULT => -240 | ||
| 2650 | }, | ||
| 2651 | {#State 349 | ||
| 2652 | DEFAULT => -399 | ||
| 2653 | }, | ||
| 2654 | {#State 350 | ||
| 2655 | DEFAULT => -398 | ||
| 2656 | }, | ||
| 2657 | {#State 351 | ||
| 2658 | ACTIONS => { | ||
| 2659 | 'PROP_KEY' => 421 | ||
| 2660 | } | ||
| 2661 | }, | ||
| 2662 | {#State 352 | ||
| 2663 | DEFAULT => -151 | ||
| 2664 | }, | ||
| 2665 | {#State 353 | ||
| 2666 | ACTIONS => { | ||
| 2667 | "-" => 248, | ||
| 2668 | "::" => 63, | ||
| 2669 | 'TRUE' => 261, | ||
| 2670 | 'IDENTIFIER' => 49, | ||
| 2671 | "+" => 262, | ||
| 2672 | "~" => 249, | ||
| 2673 | 'INTEGER_LITERAL' => 263, | ||
| 2674 | 'FLOATING_PT_LITERAL' => 265, | ||
| 2675 | 'FIXED_PT_LITERAL' => 272, | ||
| 2676 | "(" => 258, | ||
| 2677 | 'FALSE' => 251, | ||
| 2678 | 'STRING_LITERAL' => 119, | ||
| 2679 | 'WIDE_STRING_LITERAL' => 267, | ||
| 2680 | 'WIDE_CHARACTER_LITERAL' => 260, | ||
| 2681 | 'CHARACTER_LITERAL' => 268 | ||
| 2682 | }, | ||
| 2683 | GOTOS => { | ||
| 2684 | 'mult_expr' => 269, | ||
| 2685 | 'shift_expr' => 422, | ||
| 2686 | 'scoped_name' => 257, | ||
| 2687 | 'boolean_literal' => 270, | ||
| 2688 | 'add_expr' => 271, | ||
| 2689 | 'literal' => 250, | ||
| 2690 | 'primary_expr' => 274, | ||
| 2691 | 'unary_expr' => 259, | ||
| 2692 | 'unary_operator' => 253, | ||
| 2693 | 'wide_string_literal' => 275, | ||
| 2694 | 'string_literal' => 254 | ||
| 2695 | } | ||
| 2696 | }, | ||
| 2697 | {#State 354 | ||
| 2698 | ACTIONS => { | ||
| 2699 | "-" => 248, | ||
| 2700 | "::" => 63, | ||
| 2701 | 'TRUE' => 261, | ||
| 2702 | 'IDENTIFIER' => 49, | ||
| 2703 | "+" => 262, | ||
| 2704 | "~" => 249, | ||
| 2705 | 'INTEGER_LITERAL' => 263, | ||
| 2706 | 'FLOATING_PT_LITERAL' => 265, | ||
| 2707 | 'FIXED_PT_LITERAL' => 272, | ||
| 2708 | "(" => 258, | ||
| 2709 | 'FALSE' => 251, | ||
| 2710 | 'STRING_LITERAL' => 119, | ||
| 2711 | 'WIDE_STRING_LITERAL' => 267, | ||
| 2712 | 'WIDE_CHARACTER_LITERAL' => 260, | ||
| 2713 | 'CHARACTER_LITERAL' => 268 | ||
| 2714 | }, | ||
| 2715 | GOTOS => { | ||
| 2716 | 'and_expr' => 255, | ||
| 2717 | 'mult_expr' => 269, | ||
| 2718 | 'shift_expr' => 264, | ||
| 2719 | 'scoped_name' => 257, | ||
| 2720 | 'boolean_literal' => 270, | ||
| 2721 | 'add_expr' => 271, | ||
| 2722 | 'literal' => 250, | ||
| 2723 | 'primary_expr' => 274, | ||
| 2724 | 'unary_expr' => 259, | ||
| 2725 | 'unary_operator' => 253, | ||
| 2726 | 'xor_expr' => 423, | ||
| 2727 | 'wide_string_literal' => 275, | ||
| 2728 | 'string_literal' => 254 | ||
| 2729 | } | ||
| 2730 | }, | ||
| 2731 | {#State 355 | ||
| 2732 | ACTIONS => { | ||
| 2733 | ")" => 424 | ||
| 2734 | } | ||
| 2735 | }, | ||
| 2736 | {#State 356 | ||
| 2737 | ACTIONS => { | ||
| 2738 | ")" => 425 | ||
| 2739 | } | ||
| 2740 | }, | ||
| 2741 | {#State 357 | ||
| 2742 | ACTIONS => { | ||
| 2743 | "-" => 248, | ||
| 2744 | "::" => 63, | ||
| 2745 | 'TRUE' => 261, | ||
| 2746 | 'IDENTIFIER' => 49, | ||
| 2747 | "+" => 262, | ||
| 2748 | "~" => 249, | ||
| 2749 | 'INTEGER_LITERAL' => 263, | ||
| 2750 | 'FLOATING_PT_LITERAL' => 265, | ||
| 2751 | 'FIXED_PT_LITERAL' => 272, | ||
| 2752 | "(" => 258, | ||
| 2753 | 'FALSE' => 251, | ||
| 2754 | 'STRING_LITERAL' => 119, | ||
| 2755 | 'WIDE_STRING_LITERAL' => 267, | ||
| 2756 | 'WIDE_CHARACTER_LITERAL' => 260, | ||
| 2757 | 'CHARACTER_LITERAL' => 268 | ||
| 2758 | }, | ||
| 2759 | GOTOS => { | ||
| 2760 | 'mult_expr' => 269, | ||
| 2761 | 'scoped_name' => 257, | ||
| 2762 | 'boolean_literal' => 270, | ||
| 2763 | 'literal' => 250, | ||
| 2764 | 'add_expr' => 426, | ||
| 2765 | 'primary_expr' => 274, | ||
| 2766 | 'unary_expr' => 259, | ||
| 2767 | 'unary_operator' => 253, | ||
| 2768 | 'wide_string_literal' => 275, | ||
| 2769 | 'string_literal' => 254 | ||
| 2770 | } | ||
| 2771 | }, | ||
| 2772 | {#State 358 | ||
| 2773 | ACTIONS => { | ||
| 2774 | "-" => 248, | ||
| 2775 | "::" => 63, | ||
| 2776 | 'TRUE' => 261, | ||
| 2777 | 'IDENTIFIER' => 49, | ||
| 2778 | "+" => 262, | ||
| 2779 | "~" => 249, | ||
| 2780 | 'INTEGER_LITERAL' => 263, | ||
| 2781 | 'FLOATING_PT_LITERAL' => 265, | ||
| 2782 | 'FIXED_PT_LITERAL' => 272, | ||
| 2783 | "(" => 258, | ||
| 2784 | 'FALSE' => 251, | ||
| 2785 | 'STRING_LITERAL' => 119, | ||
| 2786 | 'WIDE_STRING_LITERAL' => 267, | ||
| 2787 | 'WIDE_CHARACTER_LITERAL' => 260, | ||
| 2788 | 'CHARACTER_LITERAL' => 268 | ||
| 2789 | }, | ||
| 2790 | GOTOS => { | ||
| 2791 | 'mult_expr' => 269, | ||
| 2792 | 'scoped_name' => 257, | ||
| 2793 | 'boolean_literal' => 270, | ||
| 2794 | 'literal' => 250, | ||
| 2795 | 'add_expr' => 427, | ||
| 2796 | 'primary_expr' => 274, | ||
| 2797 | 'unary_expr' => 259, | ||
| 2798 | 'unary_operator' => 253, | ||
| 2799 | 'wide_string_literal' => 275, | ||
| 2800 | 'string_literal' => 254 | ||
| 2801 | } | ||
| 2802 | }, | ||
| 2803 | {#State 359 | ||
| 2804 | DEFAULT => -288 | ||
| 2805 | }, | ||
| 2806 | {#State 360 | ||
| 2807 | DEFAULT => -171 | ||
| 2808 | }, | ||
| 2809 | {#State 361 | ||
| 2810 | ACTIONS => { | ||
| 2811 | "-" => 248, | ||
| 2812 | "::" => 63, | ||
| 2813 | 'TRUE' => 261, | ||
| 2814 | 'IDENTIFIER' => 49, | ||
| 2815 | "+" => 262, | ||
| 2816 | "~" => 249, | ||
| 2817 | 'INTEGER_LITERAL' => 263, | ||
| 2818 | 'FLOATING_PT_LITERAL' => 265, | ||
| 2819 | 'FIXED_PT_LITERAL' => 272, | ||
| 2820 | "(" => 258, | ||
| 2821 | 'FALSE' => 251, | ||
| 2822 | 'STRING_LITERAL' => 119, | ||
| 2823 | 'WIDE_STRING_LITERAL' => 267, | ||
| 2824 | 'WIDE_CHARACTER_LITERAL' => 260, | ||
| 2825 | 'CHARACTER_LITERAL' => 268 | ||
| 2826 | }, | ||
| 2827 | GOTOS => { | ||
| 2828 | 'literal' => 250, | ||
| 2829 | 'primary_expr' => 274, | ||
| 2830 | 'unary_expr' => 428, | ||
| 2831 | 'unary_operator' => 253, | ||
| 2832 | 'scoped_name' => 257, | ||
| 2833 | 'wide_string_literal' => 275, | ||
| 2834 | 'boolean_literal' => 270, | ||
| 2835 | 'string_literal' => 254 | ||
| 2836 | } | ||
| 2837 | }, | ||
| 2838 | {#State 362 | ||
| 2839 | ACTIONS => { | ||
| 2840 | "-" => 248, | ||
| 2841 | "::" => 63, | ||
| 2842 | 'TRUE' => 261, | ||
| 2843 | 'IDENTIFIER' => 49, | ||
| 2844 | "+" => 262, | ||
| 2845 | "~" => 249, | ||
| 2846 | 'INTEGER_LITERAL' => 263, | ||
| 2847 | 'FLOATING_PT_LITERAL' => 265, | ||
| 2848 | 'FIXED_PT_LITERAL' => 272, | ||
| 2849 | "(" => 258, | ||
| 2850 | 'FALSE' => 251, | ||
| 2851 | 'STRING_LITERAL' => 119, | ||
| 2852 | 'WIDE_STRING_LITERAL' => 267, | ||
| 2853 | 'WIDE_CHARACTER_LITERAL' => 260, | ||
| 2854 | 'CHARACTER_LITERAL' => 268 | ||
| 2855 | }, | ||
| 2856 | GOTOS => { | ||
| 2857 | 'literal' => 250, | ||
| 2858 | 'primary_expr' => 274, | ||
| 2859 | 'unary_expr' => 429, | ||
| 2860 | 'unary_operator' => 253, | ||
| 2861 | 'scoped_name' => 257, | ||
| 2862 | 'wide_string_literal' => 275, | ||
| 2863 | 'boolean_literal' => 270, | ||
| 2864 | 'string_literal' => 254 | ||
| 2865 | } | ||
| 2866 | }, | ||
| 2867 | {#State 363 | ||
| 2868 | ACTIONS => { | ||
| 2869 | "-" => 248, | ||
| 2870 | "::" => 63, | ||
| 2871 | 'TRUE' => 261, | ||
| 2872 | 'IDENTIFIER' => 49, | ||
| 2873 | "+" => 262, | ||
| 2874 | "~" => 249, | ||
| 2875 | 'INTEGER_LITERAL' => 263, | ||
| 2876 | 'FLOATING_PT_LITERAL' => 265, | ||
| 2877 | 'FIXED_PT_LITERAL' => 272, | ||
| 2878 | "(" => 258, | ||
| 2879 | 'FALSE' => 251, | ||
| 2880 | 'STRING_LITERAL' => 119, | ||
| 2881 | 'WIDE_STRING_LITERAL' => 267, | ||
| 2882 | 'WIDE_CHARACTER_LITERAL' => 260, | ||
| 2883 | 'CHARACTER_LITERAL' => 268 | ||
| 2884 | }, | ||
| 2885 | GOTOS => { | ||
| 2886 | 'literal' => 250, | ||
| 2887 | 'primary_expr' => 274, | ||
| 2888 | 'unary_expr' => 430, | ||
| 2889 | 'unary_operator' => 253, | ||
| 2890 | 'scoped_name' => 257, | ||
| 2891 | 'wide_string_literal' => 275, | ||
| 2892 | 'boolean_literal' => 270, | ||
| 2893 | 'string_literal' => 254 | ||
| 2894 | } | ||
| 2895 | }, | ||
| 2896 | {#State 364 | ||
| 2897 | ACTIONS => { | ||
| 2898 | "-" => 248, | ||
| 2899 | "::" => 63, | ||
| 2900 | 'TRUE' => 261, | ||
| 2901 | 'IDENTIFIER' => 49, | ||
| 2902 | "+" => 262, | ||
| 2903 | "~" => 249, | ||
| 2904 | 'INTEGER_LITERAL' => 263, | ||
| 2905 | 'FLOATING_PT_LITERAL' => 265, | ||
| 2906 | 'FIXED_PT_LITERAL' => 272, | ||
| 2907 | "(" => 258, | ||
| 2908 | 'FALSE' => 251, | ||
| 2909 | 'STRING_LITERAL' => 119, | ||
| 2910 | 'WIDE_STRING_LITERAL' => 267, | ||
| 2911 | 'WIDE_CHARACTER_LITERAL' => 260, | ||
| 2912 | 'CHARACTER_LITERAL' => 268 | ||
| 2913 | }, | ||
| 2914 | GOTOS => { | ||
| 2915 | 'mult_expr' => 431, | ||
| 2916 | 'scoped_name' => 257, | ||
| 2917 | 'boolean_literal' => 270, | ||
| 2918 | 'literal' => 250, | ||
| 2919 | 'unary_expr' => 259, | ||
| 2920 | 'primary_expr' => 274, | ||
| 2921 | 'unary_operator' => 253, | ||
| 2922 | 'wide_string_literal' => 275, | ||
| 2923 | 'string_literal' => 254 | ||
| 2924 | } | ||
| 2925 | }, | ||
| 2926 | {#State 365 | ||
| 2927 | ACTIONS => { | ||
| 2928 | "-" => 248, | ||
| 2929 | "::" => 63, | ||
| 2930 | 'TRUE' => 261, | ||
| 2931 | 'IDENTIFIER' => 49, | ||
| 2932 | "+" => 262, | ||
| 2933 | "~" => 249, | ||
| 2934 | 'INTEGER_LITERAL' => 263, | ||
| 2935 | 'FLOATING_PT_LITERAL' => 265, | ||
| 2936 | 'FIXED_PT_LITERAL' => 272, | ||
| 2937 | "(" => 258, | ||
| 2938 | 'FALSE' => 251, | ||
| 2939 | 'STRING_LITERAL' => 119, | ||
| 2940 | 'WIDE_STRING_LITERAL' => 267, | ||
| 2941 | 'WIDE_CHARACTER_LITERAL' => 260, | ||
| 2942 | 'CHARACTER_LITERAL' => 268 | ||
| 2943 | }, | ||
| 2944 | GOTOS => { | ||
| 2945 | 'mult_expr' => 432, | ||
| 2946 | 'scoped_name' => 257, | ||
| 2947 | 'boolean_literal' => 270, | ||
| 2948 | 'literal' => 250, | ||
| 2949 | 'unary_expr' => 259, | ||
| 2950 | 'primary_expr' => 274, | ||
| 2951 | 'unary_operator' => 253, | ||
| 2952 | 'wide_string_literal' => 275, | ||
| 2953 | 'string_literal' => 254 | ||
| 2954 | } | ||
| 2955 | }, | ||
| 2956 | {#State 366 | ||
| 2957 | DEFAULT => -286 | ||
| 2958 | }, | ||
| 2959 | {#State 367 | ||
| 2960 | ACTIONS => { | ||
| 2961 | "-" => 248, | ||
| 2962 | "::" => 63, | ||
| 2963 | 'TRUE' => 261, | ||
| 2964 | 'IDENTIFIER' => 49, | ||
| 2965 | "+" => 262, | ||
| 2966 | "~" => 249, | ||
| 2967 | 'INTEGER_LITERAL' => 263, | ||
| 2968 | 'FLOATING_PT_LITERAL' => 265, | ||
| 2969 | 'FIXED_PT_LITERAL' => 272, | ||
| 2970 | "(" => 258, | ||
| 2971 | 'FALSE' => 251, | ||
| 2972 | 'STRING_LITERAL' => 119, | ||
| 2973 | 'WIDE_STRING_LITERAL' => 267, | ||
| 2974 | 'WIDE_CHARACTER_LITERAL' => 260, | ||
| 2975 | 'CHARACTER_LITERAL' => 268 | ||
| 2976 | }, | ||
| 2977 | GOTOS => { | ||
| 2978 | 'and_expr' => 433, | ||
| 2979 | 'mult_expr' => 269, | ||
| 2980 | 'shift_expr' => 264, | ||
| 2981 | 'scoped_name' => 257, | ||
| 2982 | 'boolean_literal' => 270, | ||
| 2983 | 'add_expr' => 271, | ||
| 2984 | 'literal' => 250, | ||
| 2985 | 'primary_expr' => 274, | ||
| 2986 | 'unary_expr' => 259, | ||
| 2987 | 'unary_operator' => 253, | ||
| 2988 | 'wide_string_literal' => 275, | ||
| 2989 | 'string_literal' => 254 | ||
| 2990 | } | ||
| 2991 | }, | ||
| 2992 | {#State 368 | ||
| 2993 | DEFAULT => -291 | ||
| 2994 | }, | ||
| 2995 | {#State 369 | ||
| 2996 | DEFAULT => -289 | ||
| 2997 | }, | ||
| 2998 | {#State 370 | ||
| 2999 | DEFAULT => -284 | ||
| 3000 | }, | ||
| 3001 | {#State 371 | ||
| 3002 | DEFAULT => -283 | ||
| 3003 | }, | ||
| 3004 | {#State 372 | ||
| 3005 | ACTIONS => { | ||
| 3006 | "-" => 248, | ||
| 3007 | "::" => 63, | ||
| 3008 | 'TRUE' => 261, | ||
| 3009 | "+" => 262, | ||
| 3010 | "~" => 249, | ||
| 3011 | 'INTEGER_LITERAL' => 263, | ||
| 3012 | 'FLOATING_PT_LITERAL' => 265, | ||
| 3013 | 'FALSE' => 251, | ||
| 3014 | 'error' => 434, | ||
| 3015 | 'WIDE_STRING_LITERAL' => 267, | ||
| 3016 | 'CHARACTER_LITERAL' => 268, | ||
| 3017 | 'IDENTIFIER' => 49, | ||
| 3018 | "(" => 258, | ||
| 3019 | 'FIXED_PT_LITERAL' => 272, | ||
| 3020 | 'STRING_LITERAL' => 119, | ||
| 3021 | 'WIDE_CHARACTER_LITERAL' => 260 | ||
| 3022 | }, | ||
| 3023 | GOTOS => { | ||
| 3024 | 'shift_expr' => 264, | ||
| 3025 | 'literal' => 250, | ||
| 3026 | 'const_exp' => 252, | ||
| 3027 | 'unary_operator' => 253, | ||
| 3028 | 'string_literal' => 254, | ||
| 3029 | 'and_expr' => 255, | ||
| 3030 | 'or_expr' => 256, | ||
| 3031 | 'mult_expr' => 269, | ||
| 3032 | 'scoped_name' => 257, | ||
| 3033 | 'boolean_literal' => 270, | ||
| 3034 | 'add_expr' => 271, | ||
| 3035 | 'positive_int_const' => 435, | ||
| 3036 | 'unary_expr' => 259, | ||
| 3037 | 'primary_expr' => 274, | ||
| 3038 | 'wide_string_literal' => 275, | ||
| 3039 | 'xor_expr' => 276 | ||
| 3040 | } | ||
| 3041 | }, | ||
| 3042 | {#State 373 | ||
| 3043 | DEFAULT => -353 | ||
| 3044 | }, | ||
| 3045 | {#State 374 | ||
| 3046 | ACTIONS => { | ||
| 3047 | "-" => 248, | ||
| 3048 | "::" => 63, | ||
| 3049 | 'TRUE' => 261, | ||
| 3050 | "+" => 262, | ||
| 3051 | "~" => 249, | ||
| 3052 | 'INTEGER_LITERAL' => 263, | ||
| 3053 | 'FLOATING_PT_LITERAL' => 265, | ||
| 3054 | 'FALSE' => 251, | ||
| 3055 | 'error' => 436, | ||
| 3056 | 'WIDE_STRING_LITERAL' => 267, | ||
| 3057 | 'CHARACTER_LITERAL' => 268, | ||
| 3058 | 'IDENTIFIER' => 49, | ||
| 3059 | "(" => 258, | ||
| 3060 | 'FIXED_PT_LITERAL' => 272, | ||
| 3061 | 'STRING_LITERAL' => 119, | ||
| 3062 | 'WIDE_CHARACTER_LITERAL' => 260 | ||
| 3063 | }, | ||
| 3064 | GOTOS => { | ||
| 3065 | 'shift_expr' => 264, | ||
| 3066 | 'literal' => 250, | ||
| 3067 | 'const_exp' => 252, | ||
| 3068 | 'unary_operator' => 253, | ||
| 3069 | 'string_literal' => 254, | ||
| 3070 | 'and_expr' => 255, | ||
| 3071 | 'or_expr' => 256, | ||
| 3072 | 'mult_expr' => 269, | ||
| 3073 | 'scoped_name' => 257, | ||
| 3074 | 'boolean_literal' => 270, | ||
| 3075 | 'add_expr' => 271, | ||
| 3076 | 'positive_int_const' => 437, | ||
| 3077 | 'unary_expr' => 259, | ||
| 3078 | 'primary_expr' => 274, | ||
| 3079 | 'wide_string_literal' => 275, | ||
| 3080 | 'xor_expr' => 276 | ||
| 3081 | } | ||
| 3082 | }, | ||
| 3083 | {#State 375 | ||
| 3084 | DEFAULT => -181, | ||
| 3085 | GOTOS => { | ||
| 3086 | '@1-4' => 438 | ||
| 3087 | } | ||
| 3088 | }, | ||
| 3089 | {#State 376 | ||
| 3090 | DEFAULT => -214 | ||
| 3091 | }, | ||
| 3092 | {#State 377 | ||
| 3093 | DEFAULT => -213 | ||
| 3094 | }, | ||
| 3095 | {#State 378 | ||
| 3096 | DEFAULT => -185 | ||
| 3097 | }, | ||
| 3098 | {#State 379 | ||
| 3099 | ACTIONS => { | ||
| 3100 | ":" => 439, | ||
| 3101 | "{" => -56 | ||
| 3102 | }, | ||
| 3103 | DEFAULT => -33, | ||
| 3104 | GOTOS => { | ||
| 3105 | 'interface_inheritance_spec' => 440 | ||
| 3106 | } | ||
| 3107 | }, | ||
| 3108 | {#State 380 | ||
| 3109 | ACTIONS => { | ||
| 3110 | "{" => -39 | ||
| 3111 | }, | ||
| 3112 | DEFAULT => -34 | ||
| 3113 | }, | ||
| 3114 | {#State 381 | ||
| 3115 | ACTIONS => { | ||
| 3116 | ":" => 441, | ||
| 3117 | 'SUPPORTS' => 442, | ||
| 3118 | ";" => -69, | ||
| 3119 | 'error' => -69, | ||
| 3120 | "{" => -97 | ||
| 3121 | }, | ||
| 3122 | DEFAULT => -72, | ||
| 3123 | GOTOS => { | ||
| 3124 | 'supported_interface_spec' => 444, | ||
| 3125 | 'value_inheritance_spec' => 443 | ||
| 3126 | } | ||
| 3127 | }, | ||
| 3128 | {#State 382 | ||
| 3129 | DEFAULT => -85 | ||
| 3130 | }, | ||
| 3131 | {#State 383 | ||
| 3132 | ACTIONS => { | ||
| 3133 | ":" => 441, | ||
| 3134 | 'SUPPORTS' => 442, | ||
| 3135 | "{" => -97 | ||
| 3136 | }, | ||
| 3137 | DEFAULT => -70, | ||
| 3138 | GOTOS => { | ||
| 3139 | 'supported_interface_spec' => 444, | ||
| 3140 | 'value_inheritance_spec' => 445 | ||
| 3141 | } | ||
| 3142 | }, | ||
| 3143 | {#State 384 | ||
| 3144 | DEFAULT => -77 | ||
| 3145 | }, | ||
| 3146 | {#State 385 | ||
| 3147 | DEFAULT => -121 | ||
| 3148 | }, | ||
| 3149 | {#State 386 | ||
| 3150 | ACTIONS => { | ||
| 3151 | "-" => 248, | ||
| 3152 | "::" => 63, | ||
| 3153 | 'TRUE' => 261, | ||
| 3154 | "+" => 262, | ||
| 3155 | "~" => 249, | ||
| 3156 | 'INTEGER_LITERAL' => 263, | ||
| 3157 | 'FLOATING_PT_LITERAL' => 265, | ||
| 3158 | 'FALSE' => 251, | ||
| 3159 | 'error' => 447, | ||
| 3160 | 'WIDE_STRING_LITERAL' => 267, | ||
| 3161 | 'CHARACTER_LITERAL' => 268, | ||
| 3162 | 'IDENTIFIER' => 49, | ||
| 3163 | "(" => 258, | ||
| 3164 | 'FIXED_PT_LITERAL' => 272, | ||
| 3165 | 'STRING_LITERAL' => 119, | ||
| 3166 | 'WIDE_CHARACTER_LITERAL' => 260 | ||
| 3167 | }, | ||
| 3168 | GOTOS => { | ||
| 3169 | 'and_expr' => 255, | ||
| 3170 | 'or_expr' => 256, | ||
| 3171 | 'mult_expr' => 269, | ||
| 3172 | 'shift_expr' => 264, | ||
| 3173 | 'scoped_name' => 257, | ||
| 3174 | 'boolean_literal' => 270, | ||
| 3175 | 'add_expr' => 271, | ||
| 3176 | 'literal' => 250, | ||
| 3177 | 'primary_expr' => 274, | ||
| 3178 | 'unary_expr' => 259, | ||
| 3179 | 'unary_operator' => 253, | ||
| 3180 | 'const_exp' => 446, | ||
| 3181 | 'xor_expr' => 276, | ||
| 3182 | 'wide_string_literal' => 275, | ||
| 3183 | 'string_literal' => 254 | ||
| 3184 | } | ||
| 3185 | }, | ||
| 3186 | {#State 387 | ||
| 3187 | DEFAULT => -309 | ||
| 3188 | }, | ||
| 3189 | {#State 388 | ||
| 3190 | ACTIONS => { | ||
| 3191 | "::" => 63, | ||
| 3192 | 'CHAR' => 64, | ||
| 3193 | 'OBJECT' => 68, | ||
| 3194 | 'STRING' => 71, | ||
| 3195 | 'OCTET' => 37, | ||
| 3196 | 'WSTRING' => 73, | ||
| 3197 | 'UNSIGNED' => 41, | ||
| 3198 | 'ANY' => 43, | ||
| 3199 | 'FLOAT' => 76, | ||
| 3200 | 'LONG' => 44, | ||
| 3201 | 'SEQUENCE' => 78, | ||
| 3202 | 'IDENTIFIER' => 49, | ||
| 3203 | 'DOUBLE' => 79, | ||
| 3204 | 'SHORT' => 80, | ||
| 3205 | 'BOOLEAN' => 82, | ||
| 3206 | 'VOID' => 450, | ||
| 3207 | 'FIXED' => 85, | ||
| 3208 | 'VALUEBASE' => 87, | ||
| 3209 | 'WCHAR' => 60 | ||
| 3210 | }, | ||
| 3211 | GOTOS => { | ||
| 3212 | 'wide_string_type' => 452, | ||
| 3213 | 'object_type' => 65, | ||
| 3214 | 'integer_type' => 67, | ||
| 3215 | 'unsigned_int' => 69, | ||
| 3216 | 'sequence_type' => 453, | ||
| 3217 | 'op_param_type_spec' => 454, | ||
| 3218 | 'unsigned_short_int' => 36, | ||
| 3219 | 'unsigned_longlong_int' => 72, | ||
| 3220 | 'floating_pt_type' => 75, | ||
| 3221 | 'value_base_type' => 77, | ||
| 3222 | 'signed_longlong_int' => 45, | ||
| 3223 | 'any_type' => 47, | ||
| 3224 | 'base_type_spec' => 455, | ||
| 3225 | 'unsigned_long_int' => 50, | ||
| 3226 | 'scoped_name' => 448, | ||
| 3227 | 'signed_int' => 83, | ||
| 3228 | 'string_type' => 449, | ||
| 3229 | 'char_type' => 54, | ||
| 3230 | 'signed_long_int' => 56, | ||
| 3231 | 'fixed_pt_type' => 451, | ||
| 3232 | 'signed_short_int' => 57, | ||
| 3233 | 'op_type_spec' => 456, | ||
| 3234 | 'boolean_type' => 86, | ||
| 3235 | 'wide_char_type' => 59, | ||
| 3236 | 'octet_type' => 61 | ||
| 3237 | } | ||
| 3238 | }, | ||
| 3239 | {#State 389 | ||
| 3240 | ACTIONS => { | ||
| 3241 | 'IDENTIFIER' => 457, | ||
| 3242 | 'error' => 458 | ||
| 3243 | } | ||
| 3244 | }, | ||
| 3245 | {#State 390 | ||
| 3246 | DEFAULT => -106 | ||
| 3247 | }, | ||
| 3248 | {#State 391 | ||
| 3249 | DEFAULT => -311 | ||
| 3250 | }, | ||
| 3251 | {#State 392 | ||
| 3252 | ACTIONS => { | ||
| 3253 | "::" => 63, | ||
| 3254 | 'CHAR' => 64, | ||
| 3255 | 'OBJECT' => 68, | ||
| 3256 | 'STRING' => 71, | ||
| 3257 | 'OCTET' => 37, | ||
| 3258 | 'WSTRING' => 73, | ||
| 3259 | 'UNSIGNED' => 41, | ||
| 3260 | 'error' => 464, | ||
| 3261 | 'ANY' => 43, | ||
| 3262 | 'FLOAT' => 76, | ||
| 3263 | 'LONG' => 44, | ||
| 3264 | 'SEQUENCE' => 78, | ||
| 3265 | 'IDENTIFIER' => 49, | ||
| 3266 | 'DOUBLE' => 79, | ||
| 3267 | 'SHORT' => 80, | ||
| 3268 | 'BOOLEAN' => 82, | ||
| 3269 | 'VOID' => 459, | ||
| 3270 | 'FIXED' => 85, | ||
| 3271 | 'VALUEBASE' => 87, | ||
| 3272 | 'WCHAR' => 60 | ||
| 3273 | }, | ||
| 3274 | GOTOS => { | ||
| 3275 | 'wide_string_type' => 452, | ||
| 3276 | 'object_type' => 65, | ||
| 3277 | 'integer_type' => 67, | ||
| 3278 | 'unsigned_int' => 69, | ||
| 3279 | 'sequence_type' => 462, | ||
| 3280 | 'op_param_type_spec' => 463, | ||
| 3281 | 'unsigned_short_int' => 36, | ||
| 3282 | 'unsigned_longlong_int' => 72, | ||
| 3283 | 'floating_pt_type' => 75, | ||
| 3284 | 'value_base_type' => 77, | ||
| 3285 | 'signed_longlong_int' => 45, | ||
| 3286 | 'any_type' => 47, | ||
| 3287 | 'base_type_spec' => 455, | ||
| 3288 | 'unsigned_long_int' => 50, | ||
| 3289 | 'scoped_name' => 448, | ||
| 3290 | 'signed_int' => 83, | ||
| 3291 | 'string_type' => 449, | ||
| 3292 | 'char_type' => 54, | ||
| 3293 | 'signed_long_int' => 56, | ||
| 3294 | 'fixed_pt_type' => 460, | ||
| 3295 | 'signed_short_int' => 57, | ||
| 3296 | 'param_type_spec' => 461, | ||
| 3297 | 'boolean_type' => 86, | ||
| 3298 | 'wide_char_type' => 59, | ||
| 3299 | 'octet_type' => 61 | ||
| 3300 | } | ||
| 3301 | }, | ||
| 3302 | {#State 393 | ||
| 3303 | ACTIONS => { | ||
| 3304 | 'ENUM' => -396, | ||
| 3305 | "::" => 63, | ||
| 3306 | 'CHAR' => 64, | ||
| 3307 | 'OBJECT' => 68, | ||
| 3308 | 'STRING' => 71, | ||
| 3309 | 'OCTET' => 37, | ||
| 3310 | 'WSTRING' => 73, | ||
| 3311 | 'UNION' => -396, | ||
| 3312 | 'UNSIGNED' => 41, | ||
| 3313 | 'error' => 466, | ||
| 3314 | "[" => 42, | ||
| 3315 | 'ANY' => 43, | ||
| 3316 | 'FLOAT' => 76, | ||
| 3317 | 'LONG' => 44, | ||
| 3318 | 'SEQUENCE' => 78, | ||
| 3319 | 'DOUBLE' => 79, | ||
| 3320 | 'IDENTIFIER' => 49, | ||
| 3321 | 'SHORT' => 80, | ||
| 3322 | 'BOOLEAN' => 82, | ||
| 3323 | 'STRUCT' => -396, | ||
| 3324 | 'VOID' => 55, | ||
| 3325 | 'FIXED' => 85, | ||
| 3326 | 'VALUEBASE' => 87, | ||
| 3327 | 'WCHAR' => 60 | ||
| 3328 | }, | ||
| 3329 | GOTOS => { | ||
| 3330 | 'union_type' => 34, | ||
| 3331 | 'enum_header' => 35, | ||
| 3332 | 'unsigned_short_int' => 36, | ||
| 3333 | 'struct_type' => 38, | ||
| 3334 | 'union_header' => 39, | ||
| 3335 | 'struct_header' => 40, | ||
| 3336 | 'signed_longlong_int' => 45, | ||
| 3337 | 'enum_type' => 46, | ||
| 3338 | 'any_type' => 47, | ||
| 3339 | 'template_type_spec' => 48, | ||
| 3340 | 'unsigned_long_int' => 50, | ||
| 3341 | 'scoped_name' => 51, | ||
| 3342 | 'string_type' => 52, | ||
| 3343 | 'props' => 53, | ||
| 3344 | 'char_type' => 54, | ||
| 3345 | 'fixed_pt_type' => 58, | ||
| 3346 | 'signed_short_int' => 57, | ||
| 3347 | 'signed_long_int' => 56, | ||
| 3348 | 'wide_char_type' => 59, | ||
| 3349 | 'octet_type' => 61, | ||
| 3350 | 'wide_string_type' => 62, | ||
| 3351 | 'object_type' => 65, | ||
| 3352 | 'type_spec' => 465, | ||
| 3353 | 'integer_type' => 67, | ||
| 3354 | 'unsigned_int' => 69, | ||
| 3355 | 'sequence_type' => 70, | ||
| 3356 | 'unsigned_longlong_int' => 72, | ||
| 3357 | 'constr_type_spec' => 74, | ||
| 3358 | 'floating_pt_type' => 75, | ||
| 3359 | 'value_base_type' => 77, | ||
| 3360 | 'base_type_spec' => 81, | ||
| 3361 | 'signed_int' => 83, | ||
| 3362 | 'simple_type_spec' => 84, | ||
| 3363 | 'boolean_type' => 86 | ||
| 3364 | } | ||
| 3365 | }, | ||
| 3366 | {#State 394 | ||
| 3367 | DEFAULT => -105 | ||
| 3368 | }, | ||
| 3369 | {#State 395 | ||
| 3370 | ACTIONS => { | ||
| 3371 | 'error' => 467, | ||
| 3372 | 'ATTRIBUTE' => 468 | ||
| 3373 | } | ||
| 3374 | }, | ||
| 3375 | {#State 396 | ||
| 3376 | ACTIONS => { | ||
| 3377 | ";" => 469 | ||
| 3378 | }, | ||
| 3379 | DEFAULT => -322 | ||
| 3380 | }, | ||
| 3381 | {#State 397 | ||
| 3382 | ACTIONS => { | ||
| 3383 | 'INOUT' => 471, | ||
| 3384 | 'OUT' => 472, | ||
| 3385 | 'IN' => 473 | ||
| 3386 | }, | ||
| 3387 | DEFAULT => -329, | ||
| 3388 | GOTOS => { | ||
| 3389 | 'param_attribute' => 470 | ||
| 3390 | } | ||
| 3391 | }, | ||
| 3392 | {#State 398 | ||
| 3393 | ACTIONS => { | ||
| 3394 | "," => 474, | ||
| 3395 | ")" => 475 | ||
| 3396 | } | ||
| 3397 | }, | ||
| 3398 | {#State 399 | ||
| 3399 | ACTIONS => { | ||
| 3400 | ")" => 476 | ||
| 3401 | } | ||
| 3402 | }, | ||
| 3403 | {#State 400 | ||
| 3404 | DEFAULT => -319 | ||
| 3405 | }, | ||
| 3406 | {#State 401 | ||
| 3407 | ACTIONS => { | ||
| 3408 | ")" => 477 | ||
| 3409 | } | ||
| 3410 | }, | ||
| 3411 | {#State 402 | ||
| 3412 | ACTIONS => { | ||
| 3413 | 'CONTEXT' => 479 | ||
| 3414 | }, | ||
| 3415 | DEFAULT => -340, | ||
| 3416 | GOTOS => { | ||
| 3417 | 'context_expr' => 478 | ||
| 3418 | } | ||
| 3419 | }, | ||
| 3420 | {#State 403 | ||
| 3421 | ACTIONS => { | ||
| 3422 | "::" => 63, | ||
| 3423 | 'IDENTIFIER' => 49, | ||
| 3424 | 'error' => 481 | ||
| 3425 | }, | ||
| 3426 | GOTOS => { | ||
| 3427 | 'exception_names' => 482, | ||
| 3428 | 'scoped_name' => 480, | ||
| 3429 | 'exception_name' => 483 | ||
| 3430 | } | ||
| 3431 | }, | ||
| 3432 | {#State 404 | ||
| 3433 | DEFAULT => -332 | ||
| 3434 | }, | ||
| 3435 | {#State 405 | ||
| 3436 | DEFAULT => -107 | ||
| 3437 | }, | ||
| 3438 | {#State 406 | ||
| 3439 | ACTIONS => { | ||
| 3440 | "::" => 63, | ||
| 3441 | 'CHAR' => 64, | ||
| 3442 | 'OBJECT' => 68, | ||
| 3443 | 'STRING' => 71, | ||
| 3444 | 'OCTET' => 37, | ||
| 3445 | 'WSTRING' => 73, | ||
| 3446 | 'UNSIGNED' => 41, | ||
| 3447 | 'error' => 485, | ||
| 3448 | 'ANY' => 43, | ||
| 3449 | 'FLOAT' => 76, | ||
| 3450 | 'LONG' => 44, | ||
| 3451 | 'SEQUENCE' => 78, | ||
| 3452 | 'IDENTIFIER' => 49, | ||
| 3453 | 'DOUBLE' => 79, | ||
| 3454 | 'SHORT' => 80, | ||
| 3455 | 'BOOLEAN' => 82, | ||
| 3456 | 'VOID' => 459, | ||
| 3457 | 'FIXED' => 85, | ||
| 3458 | 'VALUEBASE' => 87, | ||
| 3459 | 'WCHAR' => 60 | ||
| 3460 | }, | ||
| 3461 | GOTOS => { | ||
| 3462 | 'wide_string_type' => 452, | ||
| 3463 | 'object_type' => 65, | ||
| 3464 | 'integer_type' => 67, | ||
| 3465 | 'unsigned_int' => 69, | ||
| 3466 | 'sequence_type' => 462, | ||
| 3467 | 'op_param_type_spec' => 463, | ||
| 3468 | 'unsigned_short_int' => 36, | ||
| 3469 | 'unsigned_longlong_int' => 72, | ||
| 3470 | 'floating_pt_type' => 75, | ||
| 3471 | 'value_base_type' => 77, | ||
| 3472 | 'signed_longlong_int' => 45, | ||
| 3473 | 'any_type' => 47, | ||
| 3474 | 'base_type_spec' => 455, | ||
| 3475 | 'unsigned_long_int' => 50, | ||
| 3476 | 'scoped_name' => 448, | ||
| 3477 | 'signed_int' => 83, | ||
| 3478 | 'string_type' => 449, | ||
| 3479 | 'char_type' => 54, | ||
| 3480 | 'signed_long_int' => 56, | ||
| 3481 | 'fixed_pt_type' => 460, | ||
| 3482 | 'signed_short_int' => 57, | ||
| 3483 | 'param_type_spec' => 484, | ||
| 3484 | 'boolean_type' => 86, | ||
| 3485 | 'wide_char_type' => 59, | ||
| 3486 | 'octet_type' => 61 | ||
| 3487 | } | ||
| 3488 | }, | ||
| 3489 | {#State 407 | ||
| 3490 | ACTIONS => { | ||
| 3491 | "," => 486 | ||
| 3492 | }, | ||
| 3493 | DEFAULT => -114 | ||
| 3494 | }, | ||
| 3495 | {#State 408 | ||
| 3496 | ACTIONS => { | ||
| 3497 | ")" => 487 | ||
| 3498 | } | ||
| 3499 | }, | ||
| 3500 | {#State 409 | ||
| 3501 | DEFAULT => -108 | ||
| 3502 | }, | ||
| 3503 | {#State 410 | ||
| 3504 | ACTIONS => { | ||
| 3505 | ")" => 488 | ||
| 3506 | } | ||
| 3507 | }, | ||
| 3508 | {#State 411 | ||
| 3509 | DEFAULT => -118 | ||
| 3510 | }, | ||
| 3511 | {#State 412 | ||
| 3512 | ACTIONS => { | ||
| 3513 | ";" => 99, | ||
| 3514 | 'error' => 100 | ||
| 3515 | }, | ||
| 3516 | GOTOS => { | ||
| 3517 | 'check_semicolon' => 489 | ||
| 3518 | } | ||
| 3519 | }, | ||
| 3520 | {#State 413 | ||
| 3521 | DEFAULT => -292 | ||
| 3522 | }, | ||
| 3523 | {#State 414 | ||
| 3524 | ACTIONS => { | ||
| 3525 | "-" => 248, | ||
| 3526 | "::" => 63, | ||
| 3527 | 'TRUE' => 261, | ||
| 3528 | "+" => 262, | ||
| 3529 | "~" => 249, | ||
| 3530 | 'INTEGER_LITERAL' => 263, | ||
| 3531 | 'FLOATING_PT_LITERAL' => 265, | ||
| 3532 | 'FALSE' => 251, | ||
| 3533 | 'error' => 490, | ||
| 3534 | 'WIDE_STRING_LITERAL' => 267, | ||
| 3535 | 'CHARACTER_LITERAL' => 268, | ||
| 3536 | 'IDENTIFIER' => 49, | ||
| 3537 | "(" => 258, | ||
| 3538 | 'FIXED_PT_LITERAL' => 272, | ||
| 3539 | 'STRING_LITERAL' => 119, | ||
| 3540 | 'WIDE_CHARACTER_LITERAL' => 260 | ||
| 3541 | }, | ||
| 3542 | GOTOS => { | ||
| 3543 | 'shift_expr' => 264, | ||
| 3544 | 'literal' => 250, | ||
| 3545 | 'const_exp' => 252, | ||
| 3546 | 'unary_operator' => 253, | ||
| 3547 | 'string_literal' => 254, | ||
| 3548 | 'and_expr' => 255, | ||
| 3549 | 'or_expr' => 256, | ||
| 3550 | 'mult_expr' => 269, | ||
| 3551 | 'scoped_name' => 257, | ||
| 3552 | 'boolean_literal' => 270, | ||
| 3553 | 'add_expr' => 271, | ||
| 3554 | 'positive_int_const' => 491, | ||
| 3555 | 'unary_expr' => 259, | ||
| 3556 | 'primary_expr' => 274, | ||
| 3557 | 'wide_string_literal' => 275, | ||
| 3558 | 'xor_expr' => 276 | ||
| 3559 | } | ||
| 3560 | }, | ||
| 3561 | {#State 415 | ||
| 3562 | ACTIONS => { | ||
| 3563 | "[" => 414 | ||
| 3564 | }, | ||
| 3565 | DEFAULT => -293, | ||
| 3566 | GOTOS => { | ||
| 3567 | 'fixed_array_sizes' => 492, | ||
| 3568 | 'fixed_array_size' => 415 | ||
| 3569 | } | ||
| 3570 | }, | ||
| 3571 | {#State 416 | ||
| 3572 | ACTIONS => { | ||
| 3573 | 'IDENTIFIER' => 326, | ||
| 3574 | 'error' => 285 | ||
| 3575 | }, | ||
| 3576 | GOTOS => { | ||
| 3577 | 'declarators' => 493, | ||
| 3578 | 'array_declarator' => 329, | ||
| 3579 | 'simple_declarator' => 325, | ||
| 3580 | 'declarator' => 327, | ||
| 3581 | 'complex_declarator' => 330 | ||
| 3582 | } | ||
| 3583 | }, | ||
| 3584 | {#State 417 | ||
| 3585 | DEFAULT => -246 | ||
| 3586 | }, | ||
| 3587 | {#State 418 | ||
| 3588 | DEFAULT => -277 | ||
| 3589 | }, | ||
| 3590 | {#State 419 | ||
| 3591 | DEFAULT => -250 | ||
| 3592 | }, | ||
| 3593 | {#State 420 | ||
| 3594 | ACTIONS => { | ||
| 3595 | "{" => 495, | ||
| 3596 | 'error' => 494 | ||
| 3597 | } | ||
| 3598 | }, | ||
| 3599 | {#State 421 | ||
| 3600 | ACTIONS => { | ||
| 3601 | 'PROP_VALUE' => 496 | ||
| 3602 | }, | ||
| 3603 | DEFAULT => -402 | ||
| 3604 | }, | ||
| 3605 | {#State 422 | ||
| 3606 | ACTIONS => { | ||
| 3607 | "<<" => 358, | ||
| 3608 | ">>" => 357 | ||
| 3609 | }, | ||
| 3610 | DEFAULT => -140 | ||
| 3611 | }, | ||
| 3612 | {#State 423 | ||
| 3613 | ACTIONS => { | ||
| 3614 | "^" => 367 | ||
| 3615 | }, | ||
| 3616 | DEFAULT => -136 | ||
| 3617 | }, | ||
| 3618 | {#State 424 | ||
| 3619 | DEFAULT => -158 | ||
| 3620 | }, | ||
| 3621 | {#State 425 | ||
| 3622 | DEFAULT => -159 | ||
| 3623 | }, | ||
| 3624 | {#State 426 | ||
| 3625 | ACTIONS => { | ||
| 3626 | "-" => 364, | ||
| 3627 | "+" => 365 | ||
| 3628 | }, | ||
| 3629 | DEFAULT => -142 | ||
| 3630 | }, | ||
| 3631 | {#State 427 | ||
| 3632 | ACTIONS => { | ||
| 3633 | "-" => 364, | ||
| 3634 | "+" => 365 | ||
| 3635 | }, | ||
| 3636 | DEFAULT => -143 | ||
| 3637 | }, | ||
| 3638 | {#State 428 | ||
| 3639 | DEFAULT => -150 | ||
| 3640 | }, | ||
| 3641 | {#State 429 | ||
| 3642 | DEFAULT => -148 | ||
| 3643 | }, | ||
| 3644 | {#State 430 | ||
| 3645 | DEFAULT => -149 | ||
| 3646 | }, | ||
| 3647 | {#State 431 | ||
| 3648 | ACTIONS => { | ||
| 3649 | "%" => 361, | ||
| 3650 | "*" => 362, | ||
| 3651 | "/" => 363 | ||
| 3652 | }, | ||
| 3653 | DEFAULT => -146 | ||
| 3654 | }, | ||
| 3655 | {#State 432 | ||
| 3656 | ACTIONS => { | ||
| 3657 | "%" => 361, | ||
| 3658 | "*" => 362, | ||
| 3659 | "/" => 363 | ||
| 3660 | }, | ||
| 3661 | DEFAULT => -145 | ||
| 3662 | }, | ||
| 3663 | {#State 433 | ||
| 3664 | ACTIONS => { | ||
| 3665 | "&" => 353 | ||
| 3666 | }, | ||
| 3667 | DEFAULT => -138 | ||
| 3668 | }, | ||
| 3669 | {#State 434 | ||
| 3670 | ACTIONS => { | ||
| 3671 | ">" => 497 | ||
| 3672 | } | ||
| 3673 | }, | ||
| 3674 | {#State 435 | ||
| 3675 | ACTIONS => { | ||
| 3676 | ">" => 498 | ||
| 3677 | } | ||
| 3678 | }, | ||
| 3679 | {#State 436 | ||
| 3680 | ACTIONS => { | ||
| 3681 | ">" => 499 | ||
| 3682 | } | ||
| 3683 | }, | ||
| 3684 | {#State 437 | ||
| 3685 | ACTIONS => { | ||
| 3686 | ">" => 500 | ||
| 3687 | } | ||
| 3688 | }, | ||
| 3689 | {#State 438 | ||
| 3690 | ACTIONS => { | ||
| 3691 | 'NATIVE_TYPE' => 501 | ||
| 3692 | } | ||
| 3693 | }, | ||
| 3694 | {#State 439 | ||
| 3695 | ACTIONS => { | ||
| 3696 | "::" => 63, | ||
| 3697 | 'IDENTIFIER' => 49, | ||
| 3698 | 'error' => 503 | ||
| 3699 | }, | ||
| 3700 | GOTOS => { | ||
| 3701 | 'interface_name' => 505, | ||
| 3702 | 'interface_names' => 504, | ||
| 3703 | 'scoped_name' => 502 | ||
| 3704 | } | ||
| 3705 | }, | ||
| 3706 | {#State 440 | ||
| 3707 | DEFAULT => -38 | ||
| 3708 | }, | ||
| 3709 | {#State 441 | ||
| 3710 | ACTIONS => { | ||
| 3711 | 'TRUNCATABLE' => 507 | ||
| 3712 | }, | ||
| 3713 | DEFAULT => -92, | ||
| 3714 | GOTOS => { | ||
| 3715 | 'inheritance_mod' => 506 | ||
| 3716 | } | ||
| 3717 | }, | ||
| 3718 | {#State 442 | ||
| 3719 | ACTIONS => { | ||
| 3720 | "::" => 63, | ||
| 3721 | 'IDENTIFIER' => 49, | ||
| 3722 | 'error' => 508 | ||
| 3723 | }, | ||
| 3724 | GOTOS => { | ||
| 3725 | 'interface_name' => 505, | ||
| 3726 | 'interface_names' => 509, | ||
| 3727 | 'scoped_name' => 502 | ||
| 3728 | } | ||
| 3729 | }, | ||
| 3730 | {#State 443 | ||
| 3731 | DEFAULT => -84 | ||
| 3732 | }, | ||
| 3733 | {#State 444 | ||
| 3734 | DEFAULT => -90 | ||
| 3735 | }, | ||
| 3736 | {#State 445 | ||
| 3737 | DEFAULT => -76 | ||
| 3738 | }, | ||
| 3739 | {#State 446 | ||
| 3740 | DEFAULT => -119 | ||
| 3741 | }, | ||
| 3742 | {#State 447 | ||
| 3743 | DEFAULT => -120 | ||
| 3744 | }, | ||
| 3745 | {#State 448 | ||
| 3746 | ACTIONS => { | ||
| 3747 | "::" => 140 | ||
| 3748 | }, | ||
| 3749 | DEFAULT => -350 | ||
| 3750 | }, | ||
| 3751 | {#State 449 | ||
| 3752 | DEFAULT => -348 | ||
| 3753 | }, | ||
| 3754 | {#State 450 | ||
| 3755 | DEFAULT => -313 | ||
| 3756 | }, | ||
| 3757 | {#State 451 | ||
| 3758 | DEFAULT => -315 | ||
| 3759 | }, | ||
| 3760 | {#State 452 | ||
| 3761 | DEFAULT => -349 | ||
| 3762 | }, | ||
| 3763 | {#State 453 | ||
| 3764 | DEFAULT => -314 | ||
| 3765 | }, | ||
| 3766 | {#State 454 | ||
| 3767 | DEFAULT => -312 | ||
| 3768 | }, | ||
| 3769 | {#State 455 | ||
| 3770 | DEFAULT => -347 | ||
| 3771 | }, | ||
| 3772 | {#State 456 | ||
| 3773 | ACTIONS => { | ||
| 3774 | 'IDENTIFIER' => 510, | ||
| 3775 | 'error' => 511 | ||
| 3776 | } | ||
| 3777 | }, | ||
| 3778 | {#State 457 | ||
| 3779 | DEFAULT => -112 | ||
| 3780 | }, | ||
| 3781 | {#State 458 | ||
| 3782 | DEFAULT => -113 | ||
| 3783 | }, | ||
| 3784 | {#State 459 | ||
| 3785 | DEFAULT => -344 | ||
| 3786 | }, | ||
| 3787 | {#State 460 | ||
| 3788 | DEFAULT => -346 | ||
| 3789 | }, | ||
| 3790 | {#State 461 | ||
| 3791 | ACTIONS => { | ||
| 3792 | 'IDENTIFIER' => 284, | ||
| 3793 | 'error' => 285 | ||
| 3794 | }, | ||
| 3795 | GOTOS => { | ||
| 3796 | 'attr_declarator' => 513, | ||
| 3797 | 'simple_declarator' => 512 | ||
| 3798 | } | ||
| 3799 | }, | ||
| 3800 | {#State 462 | ||
| 3801 | DEFAULT => -345 | ||
| 3802 | }, | ||
| 3803 | {#State 463 | ||
| 3804 | DEFAULT => -343 | ||
| 3805 | }, | ||
| 3806 | {#State 464 | ||
| 3807 | DEFAULT => -380 | ||
| 3808 | }, | ||
| 3809 | {#State 465 | ||
| 3810 | ACTIONS => { | ||
| 3811 | 'IDENTIFIER' => 326, | ||
| 3812 | 'error' => 514 | ||
| 3813 | }, | ||
| 3814 | GOTOS => { | ||
| 3815 | 'declarators' => 515, | ||
| 3816 | 'array_declarator' => 329, | ||
| 3817 | 'simple_declarator' => 325, | ||
| 3818 | 'declarator' => 327, | ||
| 3819 | 'complex_declarator' => 330 | ||
| 3820 | } | ||
| 3821 | }, | ||
| 3822 | {#State 466 | ||
| 3823 | ACTIONS => { | ||
| 3824 | ";" => 516 | ||
| 3825 | } | ||
| 3826 | }, | ||
| 3827 | {#State 467 | ||
| 3828 | DEFAULT => -374 | ||
| 3829 | }, | ||
| 3830 | {#State 468 | ||
| 3831 | ACTIONS => { | ||
| 3832 | "::" => 63, | ||
| 3833 | 'CHAR' => 64, | ||
| 3834 | 'OBJECT' => 68, | ||
| 3835 | 'STRING' => 71, | ||
| 3836 | 'OCTET' => 37, | ||
| 3837 | 'WSTRING' => 73, | ||
| 3838 | 'UNSIGNED' => 41, | ||
| 3839 | 'error' => 518, | ||
| 3840 | 'ANY' => 43, | ||
| 3841 | 'FLOAT' => 76, | ||
| 3842 | 'LONG' => 44, | ||
| 3843 | 'SEQUENCE' => 78, | ||
| 3844 | 'IDENTIFIER' => 49, | ||
| 3845 | 'DOUBLE' => 79, | ||
| 3846 | 'SHORT' => 80, | ||
| 3847 | 'BOOLEAN' => 82, | ||
| 3848 | 'VOID' => 459, | ||
| 3849 | 'FIXED' => 85, | ||
| 3850 | 'VALUEBASE' => 87, | ||
| 3851 | 'WCHAR' => 60 | ||
| 3852 | }, | ||
| 3853 | GOTOS => { | ||
| 3854 | 'wide_string_type' => 452, | ||
| 3855 | 'object_type' => 65, | ||
| 3856 | 'integer_type' => 67, | ||
| 3857 | 'unsigned_int' => 69, | ||
| 3858 | 'sequence_type' => 462, | ||
| 3859 | 'op_param_type_spec' => 463, | ||
| 3860 | 'unsigned_short_int' => 36, | ||
| 3861 | 'unsigned_longlong_int' => 72, | ||
| 3862 | 'floating_pt_type' => 75, | ||
| 3863 | 'value_base_type' => 77, | ||
| 3864 | 'signed_longlong_int' => 45, | ||
| 3865 | 'any_type' => 47, | ||
| 3866 | 'base_type_spec' => 455, | ||
| 3867 | 'unsigned_long_int' => 50, | ||
| 3868 | 'scoped_name' => 448, | ||
| 3869 | 'signed_int' => 83, | ||
| 3870 | 'string_type' => 449, | ||
| 3871 | 'char_type' => 54, | ||
| 3872 | 'signed_long_int' => 56, | ||
| 3873 | 'fixed_pt_type' => 460, | ||
| 3874 | 'signed_short_int' => 57, | ||
| 3875 | 'param_type_spec' => 517, | ||
| 3876 | 'boolean_type' => 86, | ||
| 3877 | 'wide_char_type' => 59, | ||
| 3878 | 'octet_type' => 61 | ||
| 3879 | } | ||
| 3880 | }, | ||
| 3881 | {#State 469 | ||
| 3882 | DEFAULT => -324 | ||
| 3883 | }, | ||
| 3884 | {#State 470 | ||
| 3885 | ACTIONS => { | ||
| 3886 | "::" => 63, | ||
| 3887 | 'CHAR' => 64, | ||
| 3888 | 'OBJECT' => 68, | ||
| 3889 | 'STRING' => 71, | ||
| 3890 | 'OCTET' => 37, | ||
| 3891 | 'WSTRING' => 73, | ||
| 3892 | 'UNSIGNED' => 41, | ||
| 3893 | 'ANY' => 43, | ||
| 3894 | 'FLOAT' => 76, | ||
| 3895 | 'LONG' => 44, | ||
| 3896 | 'SEQUENCE' => 78, | ||
| 3897 | 'IDENTIFIER' => 49, | ||
| 3898 | 'DOUBLE' => 79, | ||
| 3899 | 'SHORT' => 80, | ||
| 3900 | 'BOOLEAN' => 82, | ||
| 3901 | 'VOID' => 459, | ||
| 3902 | 'FIXED' => 85, | ||
| 3903 | 'VALUEBASE' => 87, | ||
| 3904 | 'WCHAR' => 60 | ||
| 3905 | }, | ||
| 3906 | GOTOS => { | ||
| 3907 | 'wide_string_type' => 452, | ||
| 3908 | 'object_type' => 65, | ||
| 3909 | 'integer_type' => 67, | ||
| 3910 | 'unsigned_int' => 69, | ||
| 3911 | 'sequence_type' => 462, | ||
| 3912 | 'op_param_type_spec' => 463, | ||
| 3913 | 'unsigned_short_int' => 36, | ||
| 3914 | 'unsigned_longlong_int' => 72, | ||
| 3915 | 'floating_pt_type' => 75, | ||
| 3916 | 'value_base_type' => 77, | ||
| 3917 | 'signed_longlong_int' => 45, | ||
| 3918 | 'any_type' => 47, | ||
| 3919 | 'base_type_spec' => 455, | ||
| 3920 | 'unsigned_long_int' => 50, | ||
| 3921 | 'scoped_name' => 448, | ||
| 3922 | 'signed_int' => 83, | ||
| 3923 | 'string_type' => 449, | ||
| 3924 | 'char_type' => 54, | ||
| 3925 | 'signed_long_int' => 56, | ||
| 3926 | 'fixed_pt_type' => 460, | ||
| 3927 | 'signed_short_int' => 57, | ||
| 3928 | 'param_type_spec' => 519, | ||
| 3929 | 'boolean_type' => 86, | ||
| 3930 | 'wide_char_type' => 59, | ||
| 3931 | 'octet_type' => 61 | ||
| 3932 | } | ||
| 3933 | }, | ||
| 3934 | {#State 471 | ||
| 3935 | DEFAULT => -328 | ||
| 3936 | }, | ||
| 3937 | {#State 472 | ||
| 3938 | DEFAULT => -327 | ||
| 3939 | }, | ||
| 3940 | {#State 473 | ||
| 3941 | DEFAULT => -326 | ||
| 3942 | }, | ||
| 3943 | {#State 474 | ||
| 3944 | ACTIONS => { | ||
| 3945 | "[" => 42, | ||
| 3946 | ")" => 521, | ||
| 3947 | "..." => 522 | ||
| 3948 | }, | ||
| 3949 | DEFAULT => -396, | ||
| 3950 | GOTOS => { | ||
| 3951 | 'props' => 397, | ||
| 3952 | 'param_dcl' => 520 | ||
| 3953 | } | ||
| 3954 | }, | ||
| 3955 | {#State 475 | ||
| 3956 | DEFAULT => -316 | ||
| 3957 | }, | ||
| 3958 | {#State 476 | ||
| 3959 | DEFAULT => -321 | ||
| 3960 | }, | ||
| 3961 | {#State 477 | ||
| 3962 | DEFAULT => -320 | ||
| 3963 | }, | ||
| 3964 | {#State 478 | ||
| 3965 | DEFAULT => -305 | ||
| 3966 | }, | ||
| 3967 | {#State 479 | ||
| 3968 | ACTIONS => { | ||
| 3969 | "(" => 523, | ||
| 3970 | 'error' => 524 | ||
| 3971 | } | ||
| 3972 | }, | ||
| 3973 | {#State 480 | ||
| 3974 | ACTIONS => { | ||
| 3975 | "::" => 140 | ||
| 3976 | }, | ||
| 3977 | DEFAULT => -336 | ||
| 3978 | }, | ||
| 3979 | {#State 481 | ||
| 3980 | ACTIONS => { | ||
| 3981 | ")" => 525 | ||
| 3982 | } | ||
| 3983 | }, | ||
| 3984 | {#State 482 | ||
| 3985 | ACTIONS => { | ||
| 3986 | ")" => 526 | ||
| 3987 | } | ||
| 3988 | }, | ||
| 3989 | {#State 483 | ||
| 3990 | ACTIONS => { | ||
| 3991 | "," => 527 | ||
| 3992 | }, | ||
| 3993 | DEFAULT => -334 | ||
| 3994 | }, | ||
| 3995 | {#State 484 | ||
| 3996 | ACTIONS => { | ||
| 3997 | 'IDENTIFIER' => 284, | ||
| 3998 | 'error' => 285 | ||
| 3999 | }, | ||
| 4000 | GOTOS => { | ||
| 4001 | 'simple_declarator' => 528 | ||
| 4002 | } | ||
| 4003 | }, | ||
| 4004 | {#State 485 | ||
| 4005 | DEFAULT => -117 | ||
| 4006 | }, | ||
| 4007 | {#State 486 | ||
| 4008 | ACTIONS => { | ||
| 4009 | 'IN' => 411 | ||
| 4010 | }, | ||
| 4011 | GOTOS => { | ||
| 4012 | 'init_param_decl' => 407, | ||
| 4013 | 'init_param_decls' => 529, | ||
| 4014 | 'init_param_attribute' => 406 | ||
| 4015 | } | ||
| 4016 | }, | ||
| 4017 | {#State 487 | ||
| 4018 | DEFAULT => -110 | ||
| 4019 | }, | ||
| 4020 | {#State 488 | ||
| 4021 | DEFAULT => -109 | ||
| 4022 | }, | ||
| 4023 | {#State 489 | ||
| 4024 | DEFAULT => -245 | ||
| 4025 | }, | ||
| 4026 | {#State 490 | ||
| 4027 | ACTIONS => { | ||
| 4028 | "]" => 530 | ||
| 4029 | } | ||
| 4030 | }, | ||
| 4031 | {#State 491 | ||
| 4032 | ACTIONS => { | ||
| 4033 | "]" => 531 | ||
| 4034 | } | ||
| 4035 | }, | ||
| 4036 | {#State 492 | ||
| 4037 | DEFAULT => -294 | ||
| 4038 | }, | ||
| 4039 | {#State 493 | ||
| 4040 | DEFAULT => -209 | ||
| 4041 | }, | ||
| 4042 | {#State 494 | ||
| 4043 | DEFAULT => -249 | ||
| 4044 | }, | ||
| 4045 | {#State 495 | ||
| 4046 | ACTIONS => { | ||
| 4047 | 'DEFAULT' => 537, | ||
| 4048 | 'error' => 535, | ||
| 4049 | 'CASE' => 532 | ||
| 4050 | }, | ||
| 4051 | GOTOS => { | ||
| 4052 | 'case_label' => 538, | ||
| 4053 | 'switch_body' => 533, | ||
| 4054 | 'case' => 534, | ||
| 4055 | 'case_labels' => 536 | ||
| 4056 | } | ||
| 4057 | }, | ||
| 4058 | {#State 496 | ||
| 4059 | DEFAULT => -400 | ||
| 4060 | }, | ||
| 4061 | {#State 497 | ||
| 4062 | DEFAULT => -282 | ||
| 4063 | }, | ||
| 4064 | {#State 498 | ||
| 4065 | DEFAULT => -281 | ||
| 4066 | }, | ||
| 4067 | {#State 499 | ||
| 4068 | DEFAULT => -352 | ||
| 4069 | }, | ||
| 4070 | {#State 500 | ||
| 4071 | DEFAULT => -351 | ||
| 4072 | }, | ||
| 4073 | {#State 501 | ||
| 4074 | DEFAULT => -182 | ||
| 4075 | }, | ||
| 4076 | {#State 502 | ||
| 4077 | ACTIONS => { | ||
| 4078 | "::" => 140 | ||
| 4079 | }, | ||
| 4080 | DEFAULT => -59 | ||
| 4081 | }, | ||
| 4082 | {#State 503 | ||
| 4083 | DEFAULT => -55 | ||
| 4084 | }, | ||
| 4085 | {#State 504 | ||
| 4086 | DEFAULT => -54 | ||
| 4087 | }, | ||
| 4088 | {#State 505 | ||
| 4089 | ACTIONS => { | ||
| 4090 | "," => 539 | ||
| 4091 | }, | ||
| 4092 | DEFAULT => -57 | ||
| 4093 | }, | ||
| 4094 | {#State 506 | ||
| 4095 | ACTIONS => { | ||
| 4096 | "::" => 63, | ||
| 4097 | 'IDENTIFIER' => 49, | ||
| 4098 | 'error' => 543 | ||
| 4099 | }, | ||
| 4100 | GOTOS => { | ||
| 4101 | 'value_name' => 540, | ||
| 4102 | 'value_names' => 541, | ||
| 4103 | 'scoped_name' => 542 | ||
| 4104 | } | ||
| 4105 | }, | ||
| 4106 | {#State 507 | ||
| 4107 | DEFAULT => -91 | ||
| 4108 | }, | ||
| 4109 | {#State 508 | ||
| 4110 | DEFAULT => -96 | ||
| 4111 | }, | ||
| 4112 | {#State 509 | ||
| 4113 | DEFAULT => -95 | ||
| 4114 | }, | ||
| 4115 | {#State 510 | ||
| 4116 | DEFAULT => -307 | ||
| 4117 | }, | ||
| 4118 | {#State 511 | ||
| 4119 | DEFAULT => -308 | ||
| 4120 | }, | ||
| 4121 | {#State 512 | ||
| 4122 | ACTIONS => { | ||
| 4123 | 'SETRAISES' => 549, | ||
| 4124 | 'GETRAISES' => 545, | ||
| 4125 | "," => 546 | ||
| 4126 | }, | ||
| 4127 | DEFAULT => -386, | ||
| 4128 | GOTOS => { | ||
| 4129 | 'get_except_expr' => 547, | ||
| 4130 | 'attr_raises_expr' => 544, | ||
| 4131 | 'set_except_expr' => 548 | ||
| 4132 | } | ||
| 4133 | }, | ||
| 4134 | {#State 513 | ||
| 4135 | DEFAULT => -379 | ||
| 4136 | }, | ||
| 4137 | {#State 514 | ||
| 4138 | ACTIONS => { | ||
| 4139 | ";" => 550, | ||
| 4140 | "," => 377 | ||
| 4141 | } | ||
| 4142 | }, | ||
| 4143 | {#State 515 | ||
| 4144 | ACTIONS => { | ||
| 4145 | ";" => 99, | ||
| 4146 | 'error' => 100 | ||
| 4147 | }, | ||
| 4148 | GOTOS => { | ||
| 4149 | 'check_semicolon' => 551 | ||
| 4150 | } | ||
| 4151 | }, | ||
| 4152 | {#State 516 | ||
| 4153 | DEFAULT => -104 | ||
| 4154 | }, | ||
| 4155 | {#State 517 | ||
| 4156 | ACTIONS => { | ||
| 4157 | 'IDENTIFIER' => 284, | ||
| 4158 | 'error' => 285 | ||
| 4159 | }, | ||
| 4160 | GOTOS => { | ||
| 4161 | 'readonly_attr_declarator' => 552, | ||
| 4162 | 'simple_declarator' => 553 | ||
| 4163 | } | ||
| 4164 | }, | ||
| 4165 | {#State 518 | ||
| 4166 | DEFAULT => -373 | ||
| 4167 | }, | ||
| 4168 | {#State 519 | ||
| 4169 | ACTIONS => { | ||
| 4170 | 'IDENTIFIER' => 284, | ||
| 4171 | 'error' => 285 | ||
| 4172 | }, | ||
| 4173 | GOTOS => { | ||
| 4174 | 'simple_declarator' => 554 | ||
| 4175 | } | ||
| 4176 | }, | ||
| 4177 | {#State 520 | ||
| 4178 | DEFAULT => -323 | ||
| 4179 | }, | ||
| 4180 | {#State 521 | ||
| 4181 | DEFAULT => -318 | ||
| 4182 | }, | ||
| 4183 | {#State 522 | ||
| 4184 | ACTIONS => { | ||
| 4185 | ")" => 555 | ||
| 4186 | } | ||
| 4187 | }, | ||
| 4188 | {#State 523 | ||
| 4189 | ACTIONS => { | ||
| 4190 | 'STRING_LITERAL' => 119, | ||
| 4191 | 'error' => 558 | ||
| 4192 | }, | ||
| 4193 | GOTOS => { | ||
| 4194 | 'string_literals' => 557, | ||
| 4195 | 'string_literal' => 556 | ||
| 4196 | } | ||
| 4197 | }, | ||
| 4198 | {#State 524 | ||
| 4199 | DEFAULT => -339 | ||
| 4200 | }, | ||
| 4201 | {#State 525 | ||
| 4202 | DEFAULT => -331 | ||
| 4203 | }, | ||
| 4204 | {#State 526 | ||
| 4205 | DEFAULT => -330 | ||
| 4206 | }, | ||
| 4207 | {#State 527 | ||
| 4208 | ACTIONS => { | ||
| 4209 | "::" => 63, | ||
| 4210 | 'IDENTIFIER' => 49 | ||
| 4211 | }, | ||
| 4212 | GOTOS => { | ||
| 4213 | 'exception_names' => 559, | ||
| 4214 | 'scoped_name' => 480, | ||
| 4215 | 'exception_name' => 483 | ||
| 4216 | } | ||
| 4217 | }, | ||
| 4218 | {#State 528 | ||
| 4219 | DEFAULT => -116 | ||
| 4220 | }, | ||
| 4221 | {#State 529 | ||
| 4222 | DEFAULT => -115 | ||
| 4223 | }, | ||
| 4224 | {#State 530 | ||
| 4225 | DEFAULT => -296 | ||
| 4226 | }, | ||
| 4227 | {#State 531 | ||
| 4228 | DEFAULT => -295 | ||
| 4229 | }, | ||
| 4230 | {#State 532 | ||
| 4231 | ACTIONS => { | ||
| 4232 | "-" => 248, | ||
| 4233 | "::" => 63, | ||
| 4234 | 'TRUE' => 261, | ||
| 4235 | "+" => 262, | ||
| 4236 | "~" => 249, | ||
| 4237 | 'INTEGER_LITERAL' => 263, | ||
| 4238 | 'FLOATING_PT_LITERAL' => 265, | ||
| 4239 | 'FALSE' => 251, | ||
| 4240 | 'error' => 561, | ||
| 4241 | 'WIDE_STRING_LITERAL' => 267, | ||
| 4242 | 'CHARACTER_LITERAL' => 268, | ||
| 4243 | 'IDENTIFIER' => 49, | ||
| 4244 | "(" => 258, | ||
| 4245 | 'FIXED_PT_LITERAL' => 272, | ||
| 4246 | 'STRING_LITERAL' => 119, | ||
| 4247 | 'WIDE_CHARACTER_LITERAL' => 260 | ||
| 4248 | }, | ||
| 4249 | GOTOS => { | ||
| 4250 | 'and_expr' => 255, | ||
| 4251 | 'or_expr' => 256, | ||
| 4252 | 'mult_expr' => 269, | ||
| 4253 | 'shift_expr' => 264, | ||
| 4254 | 'scoped_name' => 257, | ||
| 4255 | 'boolean_literal' => 270, | ||
| 4256 | 'add_expr' => 271, | ||
| 4257 | 'literal' => 250, | ||
| 4258 | 'primary_expr' => 274, | ||
| 4259 | 'unary_expr' => 259, | ||
| 4260 | 'unary_operator' => 253, | ||
| 4261 | 'const_exp' => 560, | ||
| 4262 | 'xor_expr' => 276, | ||
| 4263 | 'wide_string_literal' => 275, | ||
| 4264 | 'string_literal' => 254 | ||
| 4265 | } | ||
| 4266 | }, | ||
| 4267 | {#State 533 | ||
| 4268 | ACTIONS => { | ||
| 4269 | "}" => 562 | ||
| 4270 | } | ||
| 4271 | }, | ||
| 4272 | {#State 534 | ||
| 4273 | ACTIONS => { | ||
| 4274 | 'DEFAULT' => 537, | ||
| 4275 | 'CASE' => 532 | ||
| 4276 | }, | ||
| 4277 | DEFAULT => -259, | ||
| 4278 | GOTOS => { | ||
| 4279 | 'case_label' => 538, | ||
| 4280 | 'switch_body' => 563, | ||
| 4281 | 'case' => 534, | ||
| 4282 | 'case_labels' => 536 | ||
| 4283 | } | ||
| 4284 | }, | ||
| 4285 | {#State 535 | ||
| 4286 | ACTIONS => { | ||
| 4287 | "}" => 564 | ||
| 4288 | } | ||
| 4289 | }, | ||
| 4290 | {#State 536 | ||
| 4291 | ACTIONS => { | ||
| 4292 | "[" => 42 | ||
| 4293 | }, | ||
| 4294 | DEFAULT => -396, | ||
| 4295 | GOTOS => { | ||
| 4296 | 'union_type' => 34, | ||
| 4297 | 'enum_type' => 46, | ||
| 4298 | 'element_spec' => 565, | ||
| 4299 | 'enum_header' => 35, | ||
| 4300 | 'struct_type' => 38, | ||
| 4301 | 'union_header' => 39, | ||
| 4302 | 'constr_type_spec' => 567, | ||
| 4303 | 'props' => 566, | ||
| 4304 | 'struct_header' => 40 | ||
| 4305 | } | ||
| 4306 | }, | ||
| 4307 | {#State 537 | ||
| 4308 | ACTIONS => { | ||
| 4309 | ":" => 568, | ||
| 4310 | 'error' => 569 | ||
| 4311 | } | ||
| 4312 | }, | ||
| 4313 | {#State 538 | ||
| 4314 | ACTIONS => { | ||
| 4315 | 'CASE' => 532, | ||
| 4316 | 'DEFAULT' => 537 | ||
| 4317 | }, | ||
| 4318 | DEFAULT => -262, | ||
| 4319 | GOTOS => { | ||
| 4320 | 'case_label' => 538, | ||
| 4321 | 'case_labels' => 570 | ||
| 4322 | } | ||
| 4323 | }, | ||
| 4324 | {#State 539 | ||
| 4325 | ACTIONS => { | ||
| 4326 | "::" => 63, | ||
| 4327 | 'IDENTIFIER' => 49 | ||
| 4328 | }, | ||
| 4329 | GOTOS => { | ||
| 4330 | 'interface_name' => 505, | ||
| 4331 | 'interface_names' => 571, | ||
| 4332 | 'scoped_name' => 502 | ||
| 4333 | } | ||
| 4334 | }, | ||
| 4335 | {#State 540 | ||
| 4336 | ACTIONS => { | ||
| 4337 | "," => 572 | ||
| 4338 | }, | ||
| 4339 | DEFAULT => -93 | ||
| 4340 | }, | ||
| 4341 | {#State 541 | ||
| 4342 | ACTIONS => { | ||
| 4343 | 'SUPPORTS' => 442 | ||
| 4344 | }, | ||
| 4345 | DEFAULT => -97, | ||
| 4346 | GOTOS => { | ||
| 4347 | 'supported_interface_spec' => 573 | ||
| 4348 | } | ||
| 4349 | }, | ||
| 4350 | {#State 542 | ||
| 4351 | ACTIONS => { | ||
| 4352 | "::" => 140 | ||
| 4353 | }, | ||
| 4354 | DEFAULT => -98 | ||
| 4355 | }, | ||
| 4356 | {#State 543 | ||
| 4357 | DEFAULT => -89 | ||
| 4358 | }, | ||
| 4359 | {#State 544 | ||
| 4360 | DEFAULT => -381 | ||
| 4361 | }, | ||
| 4362 | {#State 545 | ||
| 4363 | ACTIONS => { | ||
| 4364 | "(" => 575, | ||
| 4365 | 'error' => 576 | ||
| 4366 | }, | ||
| 4367 | GOTOS => { | ||
| 4368 | 'exception_list' => 574 | ||
| 4369 | } | ||
| 4370 | }, | ||
| 4371 | {#State 546 | ||
| 4372 | ACTIONS => { | ||
| 4373 | 'IDENTIFIER' => 284, | ||
| 4374 | 'error' => 285 | ||
| 4375 | }, | ||
| 4376 | GOTOS => { | ||
| 4377 | 'simple_declarators' => 578, | ||
| 4378 | 'simple_declarator' => 577 | ||
| 4379 | } | ||
| 4380 | }, | ||
| 4381 | {#State 547 | ||
| 4382 | ACTIONS => { | ||
| 4383 | 'SETRAISES' => 549 | ||
| 4384 | }, | ||
| 4385 | DEFAULT => -384, | ||
| 4386 | GOTOS => { | ||
| 4387 | 'set_except_expr' => 579 | ||
| 4388 | } | ||
| 4389 | }, | ||
| 4390 | {#State 548 | ||
| 4391 | DEFAULT => -385 | ||
| 4392 | }, | ||
| 4393 | {#State 549 | ||
| 4394 | ACTIONS => { | ||
| 4395 | "(" => 575, | ||
| 4396 | 'error' => 581 | ||
| 4397 | }, | ||
| 4398 | GOTOS => { | ||
| 4399 | 'exception_list' => 580 | ||
| 4400 | } | ||
| 4401 | }, | ||
| 4402 | {#State 550 | ||
| 4403 | ACTIONS => { | ||
| 4404 | ";" => -214, | ||
| 4405 | "," => -214, | ||
| 4406 | 'error' => -214 | ||
| 4407 | }, | ||
| 4408 | DEFAULT => -103 | ||
| 4409 | }, | ||
| 4410 | {#State 551 | ||
| 4411 | DEFAULT => -102 | ||
| 4412 | }, | ||
| 4413 | {#State 552 | ||
| 4414 | DEFAULT => -372 | ||
| 4415 | }, | ||
| 4416 | {#State 553 | ||
| 4417 | ACTIONS => { | ||
| 4418 | 'RAISES' => 307, | ||
| 4419 | "," => 582 | ||
| 4420 | }, | ||
| 4421 | DEFAULT => -333, | ||
| 4422 | GOTOS => { | ||
| 4423 | 'raises_expr' => 583 | ||
| 4424 | } | ||
| 4425 | }, | ||
| 4426 | {#State 554 | ||
| 4427 | DEFAULT => -325 | ||
| 4428 | }, | ||
| 4429 | {#State 555 | ||
| 4430 | DEFAULT => -317 | ||
| 4431 | }, | ||
| 4432 | {#State 556 | ||
| 4433 | ACTIONS => { | ||
| 4434 | "," => 584 | ||
| 4435 | }, | ||
| 4436 | DEFAULT => -341 | ||
| 4437 | }, | ||
| 4438 | {#State 557 | ||
| 4439 | ACTIONS => { | ||
| 4440 | ")" => 585 | ||
| 4441 | } | ||
| 4442 | }, | ||
| 4443 | {#State 558 | ||
| 4444 | ACTIONS => { | ||
| 4445 | ")" => 586 | ||
| 4446 | } | ||
| 4447 | }, | ||
| 4448 | {#State 559 | ||
| 4449 | DEFAULT => -335 | ||
| 4450 | }, | ||
| 4451 | {#State 560 | ||
| 4452 | ACTIONS => { | ||
| 4453 | ":" => 587, | ||
| 4454 | 'error' => 588 | ||
| 4455 | } | ||
| 4456 | }, | ||
| 4457 | {#State 561 | ||
| 4458 | DEFAULT => -266 | ||
| 4459 | }, | ||
| 4460 | {#State 562 | ||
| 4461 | DEFAULT => -247 | ||
| 4462 | }, | ||
| 4463 | {#State 563 | ||
| 4464 | DEFAULT => -260 | ||
| 4465 | }, | ||
| 4466 | {#State 564 | ||
| 4467 | DEFAULT => -248 | ||
| 4468 | }, | ||
| 4469 | {#State 565 | ||
| 4470 | ACTIONS => { | ||
| 4471 | ";" => 99, | ||
| 4472 | 'error' => 100 | ||
| 4473 | }, | ||
| 4474 | GOTOS => { | ||
| 4475 | 'check_semicolon' => 589 | ||
| 4476 | } | ||
| 4477 | }, | ||
| 4478 | {#State 566 | ||
| 4479 | ACTIONS => { | ||
| 4480 | 'ENUM' => 142, | ||
| 4481 | "::" => 63, | ||
| 4482 | 'CHAR' => 64, | ||
| 4483 | 'OBJECT' => 68, | ||
| 4484 | 'STRING' => 71, | ||
| 4485 | 'OCTET' => 37, | ||
| 4486 | 'WSTRING' => 73, | ||
| 4487 | 'UNION' => 143, | ||
| 4488 | 'UNSIGNED' => 41, | ||
| 4489 | 'ANY' => 43, | ||
| 4490 | 'FLOAT' => 76, | ||
| 4491 | 'LONG' => 44, | ||
| 4492 | 'SEQUENCE' => 78, | ||
| 4493 | 'IDENTIFIER' => 49, | ||
| 4494 | 'DOUBLE' => 79, | ||
| 4495 | 'SHORT' => 80, | ||
| 4496 | 'BOOLEAN' => 82, | ||
| 4497 | 'STRUCT' => 141, | ||
| 4498 | 'VOID' => 55, | ||
| 4499 | 'FIXED' => 85, | ||
| 4500 | 'VALUEBASE' => 87, | ||
| 4501 | 'WCHAR' => 60 | ||
| 4502 | }, | ||
| 4503 | GOTOS => { | ||
| 4504 | 'wide_string_type' => 62, | ||
| 4505 | 'object_type' => 65, | ||
| 4506 | 'integer_type' => 67, | ||
| 4507 | 'sequence_type' => 70, | ||
| 4508 | 'unsigned_int' => 69, | ||
| 4509 | 'unsigned_short_int' => 36, | ||
| 4510 | 'unsigned_longlong_int' => 72, | ||
| 4511 | 'floating_pt_type' => 75, | ||
| 4512 | 'value_base_type' => 77, | ||
| 4513 | 'signed_longlong_int' => 45, | ||
| 4514 | 'any_type' => 47, | ||
| 4515 | 'template_type_spec' => 48, | ||
| 4516 | 'base_type_spec' => 81, | ||
| 4517 | 'unsigned_long_int' => 50, | ||
| 4518 | 'scoped_name' => 51, | ||
| 4519 | 'signed_int' => 83, | ||
| 4520 | 'string_type' => 52, | ||
| 4521 | 'simple_type_spec' => 590, | ||
| 4522 | 'char_type' => 54, | ||
| 4523 | 'signed_short_int' => 57, | ||
| 4524 | 'signed_long_int' => 56, | ||
| 4525 | 'fixed_pt_type' => 58, | ||
| 4526 | 'boolean_type' => 86, | ||
| 4527 | 'wide_char_type' => 59, | ||
| 4528 | 'octet_type' => 61 | ||
| 4529 | } | ||
| 4530 | }, | ||
| 4531 | {#State 567 | ||
| 4532 | ACTIONS => { | ||
| 4533 | 'IDENTIFIER' => 326, | ||
| 4534 | 'error' => 285 | ||
| 4535 | }, | ||
| 4536 | GOTOS => { | ||
| 4537 | 'array_declarator' => 329, | ||
| 4538 | 'simple_declarator' => 325, | ||
| 4539 | 'declarator' => 591, | ||
| 4540 | 'complex_declarator' => 330 | ||
| 4541 | } | ||
| 4542 | }, | ||
| 4543 | {#State 568 | ||
| 4544 | DEFAULT => -267 | ||
| 4545 | }, | ||
| 4546 | {#State 569 | ||
| 4547 | DEFAULT => -268 | ||
| 4548 | }, | ||
| 4549 | {#State 570 | ||
| 4550 | DEFAULT => -263 | ||
| 4551 | }, | ||
| 4552 | {#State 571 | ||
| 4553 | DEFAULT => -58 | ||
| 4554 | }, | ||
| 4555 | {#State 572 | ||
| 4556 | ACTIONS => { | ||
| 4557 | "::" => 63, | ||
| 4558 | 'IDENTIFIER' => 49 | ||
| 4559 | }, | ||
| 4560 | GOTOS => { | ||
| 4561 | 'value_name' => 540, | ||
| 4562 | 'value_names' => 592, | ||
| 4563 | 'scoped_name' => 542 | ||
| 4564 | } | ||
| 4565 | }, | ||
| 4566 | {#State 573 | ||
| 4567 | DEFAULT => -88 | ||
| 4568 | }, | ||
| 4569 | {#State 574 | ||
| 4570 | DEFAULT => -387 | ||
| 4571 | }, | ||
| 4572 | {#State 575 | ||
| 4573 | ACTIONS => { | ||
| 4574 | "::" => 63, | ||
| 4575 | 'IDENTIFIER' => 49, | ||
| 4576 | 'error' => 593 | ||
| 4577 | }, | ||
| 4578 | GOTOS => { | ||
| 4579 | 'exception_names' => 594, | ||
| 4580 | 'scoped_name' => 480, | ||
| 4581 | 'exception_name' => 483 | ||
| 4582 | } | ||
| 4583 | }, | ||
| 4584 | {#State 576 | ||
| 4585 | DEFAULT => -388 | ||
| 4586 | }, | ||
| 4587 | {#State 577 | ||
| 4588 | ACTIONS => { | ||
| 4589 | "," => 595 | ||
| 4590 | }, | ||
| 4591 | DEFAULT => -377 | ||
| 4592 | }, | ||
| 4593 | {#State 578 | ||
| 4594 | DEFAULT => -382 | ||
| 4595 | }, | ||
| 4596 | {#State 579 | ||
| 4597 | DEFAULT => -383 | ||
| 4598 | }, | ||
| 4599 | {#State 580 | ||
| 4600 | DEFAULT => -389 | ||
| 4601 | }, | ||
| 4602 | {#State 581 | ||
| 4603 | DEFAULT => -390 | ||
| 4604 | }, | ||
| 4605 | {#State 582 | ||
| 4606 | ACTIONS => { | ||
| 4607 | 'IDENTIFIER' => 284, | ||
| 4608 | 'error' => 285 | ||
| 4609 | }, | ||
| 4610 | GOTOS => { | ||
| 4611 | 'simple_declarators' => 596, | ||
| 4612 | 'simple_declarator' => 577 | ||
| 4613 | } | ||
| 4614 | }, | ||
| 4615 | {#State 583 | ||
| 4616 | DEFAULT => -375 | ||
| 4617 | }, | ||
| 4618 | {#State 584 | ||
| 4619 | ACTIONS => { | ||
| 4620 | 'STRING_LITERAL' => 119 | ||
| 4621 | }, | ||
| 4622 | GOTOS => { | ||
| 4623 | 'string_literals' => 597, | ||
| 4624 | 'string_literal' => 556 | ||
| 4625 | } | ||
| 4626 | }, | ||
| 4627 | {#State 585 | ||
| 4628 | DEFAULT => -337 | ||
| 4629 | }, | ||
| 4630 | {#State 586 | ||
| 4631 | DEFAULT => -338 | ||
| 4632 | }, | ||
| 4633 | {#State 587 | ||
| 4634 | DEFAULT => -264 | ||
| 4635 | }, | ||
| 4636 | {#State 588 | ||
| 4637 | DEFAULT => -265 | ||
| 4638 | }, | ||
| 4639 | {#State 589 | ||
| 4640 | DEFAULT => -261 | ||
| 4641 | }, | ||
| 4642 | {#State 590 | ||
| 4643 | ACTIONS => { | ||
| 4644 | 'IDENTIFIER' => 326, | ||
| 4645 | 'error' => 285 | ||
| 4646 | }, | ||
| 4647 | GOTOS => { | ||
| 4648 | 'array_declarator' => 329, | ||
| 4649 | 'simple_declarator' => 325, | ||
| 4650 | 'declarator' => 598, | ||
| 4651 | 'complex_declarator' => 330 | ||
| 4652 | } | ||
| 4653 | }, | ||
| 4654 | {#State 591 | ||
| 4655 | DEFAULT => -270 | ||
| 4656 | }, | ||
| 4657 | {#State 592 | ||
| 4658 | DEFAULT => -94 | ||
| 4659 | }, | ||
| 4660 | {#State 593 | ||
| 4661 | ACTIONS => { | ||
| 4662 | ")" => 599 | ||
| 4663 | } | ||
| 4664 | }, | ||
| 4665 | {#State 594 | ||
| 4666 | ACTIONS => { | ||
| 4667 | ")" => 600 | ||
| 4668 | } | ||
| 4669 | }, | ||
| 4670 | {#State 595 | ||
| 4671 | ACTIONS => { | ||
| 4672 | 'IDENTIFIER' => 284, | ||
| 4673 | 'error' => 285 | ||
| 4674 | }, | ||
| 4675 | GOTOS => { | ||
| 4676 | 'simple_declarators' => 601, | ||
| 4677 | 'simple_declarator' => 577 | ||
| 4678 | } | ||
| 4679 | }, | ||
| 4680 | {#State 596 | ||
| 4681 | DEFAULT => -376 | ||
| 4682 | }, | ||
| 4683 | {#State 597 | ||
| 4684 | DEFAULT => -342 | ||
| 4685 | }, | ||
| 4686 | {#State 598 | ||
| 4687 | DEFAULT => -269 | ||
| 4688 | }, | ||
| 4689 | {#State 599 | ||
| 4690 | DEFAULT => -392 | ||
| 4691 | }, | ||
| 4692 | {#State 600 | ||
| 4693 | DEFAULT => -391 | ||
| 4694 | }, | ||
| 4695 | {#State 601 | ||
| 4696 | DEFAULT => -378 | ||
| 4697 | } | ||
| 4698 | ], | ||
| 4699 | yyrules => | ||
| 4700 | [ | ||
| 4701 | [#Rule 0 | ||
| 4702 | '$start', 2, undef | ||
| 4703 | ], | ||
| 4704 | [#Rule 1 | ||
| 4705 | 'specification', 1, | ||
| 4706 | sub | ||
| 4707 | #line 79 "ParserXp.yp" | ||
| 4708 | { | ||
| 4709 | $_[0]->YYData->{root} = new CORBA::IDL::Specification($_[0], | ||
| 4710 | 'list_decl' => $_[1], | ||
| 4711 | ); | ||
| 4712 | } | ||
| 4713 | ], | ||
| 4714 | [#Rule 2 | ||
| 4715 | 'specification', 2, | ||
| 4716 | sub | ||
| 4717 | #line 85 "ParserXp.yp" | ||
| 4718 | { | ||
| 4719 | $_[0]->YYData->{root} = new CORBA::IDL::Specification($_[0], | ||
| 4720 | 'list_import' => $_[1], | ||
| 4721 | 'list_decl' => $_[2], | ||
| 4722 | ); | ||
| 4723 | } | ||
| 4724 | ], | ||
| 4725 | [#Rule 3 | ||
| 4726 | 'specification', 0, | ||
| 4727 | sub | ||
| 4728 | #line 92 "ParserXp.yp" | ||
| 4729 | { | ||
| 4730 | $_[0]->Error("Empty specification.\n"); | ||
| 4731 | } | ||
| 4732 | ], | ||
| 4733 | [#Rule 4 | ||
| 4734 | 'specification', 1, | ||
| 4735 | sub | ||
| 4736 | #line 96 "ParserXp.yp" | ||
| 4737 | { | ||
| 4738 | $_[0]->Error("definition declaration expected.\n"); | ||
| 4739 | } | ||
| 4740 | ], | ||
| 4741 | [#Rule 5 | ||
| 4742 | 'imports', 1, | ||
| 4743 | sub | ||
| 4744 | #line 103 "ParserXp.yp" | ||
| 4745 | { | ||
| 4746 | [$_[1]]; | ||
| 4747 | } | ||
| 4748 | ], | ||
| 4749 | [#Rule 6 | ||
| 4750 | 'imports', 2, | ||
| 4751 | sub | ||
| 4752 | #line 107 "ParserXp.yp" | ||
| 4753 | { | ||
| 4754 | unshift @{$_[2]}, $_[1]; | ||
| 4755 | $_[2]; | ||
| 4756 | } | ||
| 4757 | ], | ||
| 4758 | [#Rule 7 | ||
| 4759 | 'definitions', 1, | ||
| 4760 | sub | ||
| 4761 | #line 115 "ParserXp.yp" | ||
| 4762 | { | ||
| 4763 | [$_[1]->getRef()]; | ||
| 4764 | } | ||
| 4765 | ], | ||
| 4766 | [#Rule 8 | ||
| 4767 | 'definitions', 2, | ||
| 4768 | sub | ||
| 4769 | #line 119 "ParserXp.yp" | ||
| 4770 | { | ||
| 4771 | unshift @{$_[2]}, $_[1]->getRef(); | ||
| 4772 | $_[2]; | ||
| 4773 | } | ||
| 4774 | ], | ||
| 4775 | [#Rule 9 | ||
| 4776 | 'definitions', 3, | ||
| 4777 | sub | ||
| 4778 | #line 124 "ParserXp.yp" | ||
| 4779 | { | ||
| 4780 | $_[0]->Error("import after definition.\n"); | ||
| 4781 | unshift @{$_[3]}, $_[1]->getRef(); | ||
| 4782 | $_[3]; | ||
| 4783 | } | ||
| 4784 | ], | ||
| 4785 | [#Rule 10 | ||
| 4786 | 'definition', 2, undef | ||
| 4787 | ], | ||
| 4788 | [#Rule 11 | ||
| 4789 | 'definition', 2, undef | ||
| 4790 | ], | ||
| 4791 | [#Rule 12 | ||
| 4792 | 'definition', 2, undef | ||
| 4793 | ], | ||
| 4794 | [#Rule 13 | ||
| 4795 | 'definition', 2, undef | ||
| 4796 | ], | ||
| 4797 | [#Rule 14 | ||
| 4798 | 'definition', 2, undef | ||
| 4799 | ], | ||
| 4800 | [#Rule 15 | ||
| 4801 | 'definition', 2, undef | ||
| 4802 | ], | ||
| 4803 | [#Rule 16 | ||
| 4804 | 'definition', 2, undef | ||
| 4805 | ], | ||
| 4806 | [#Rule 17 | ||
| 4807 | 'definition', 2, undef | ||
| 4808 | ], | ||
| 4809 | [#Rule 18 | ||
| 4810 | 'definition', 1, undef | ||
| 4811 | ], | ||
| 4812 | [#Rule 19 | ||
| 4813 | 'definition', 3, | ||
| 4814 | sub | ||
| 4815 | #line 152 "ParserXp.yp" | ||
| 4816 | { | ||
| 4817 | # when IDENTIFIER is a future keyword | ||
| 4818 | $_[0]->Error("'$_[1]' unexpected.\n"); | ||
| 4819 | $_[0]->YYErrok(); | ||
| 4820 | new CORBA::IDL::Node($_[0], | ||
| 4821 | 'idf' => $_[1] | ||
| 4822 | ); | ||
| 4823 | } | ||
| 4824 | ], | ||
| 4825 | [#Rule 20 | ||
| 4826 | 'check_semicolon', 1, undef | ||
| 4827 | ], | ||
| 4828 | [#Rule 21 | ||
| 4829 | 'check_semicolon', 1, | ||
| 4830 | sub | ||
| 4831 | #line 166 "ParserXp.yp" | ||
| 4832 | { | ||
| 4833 | $_[0]->Warning("';' expected.\n"); | ||
| 4834 | $_[0]->YYErrok(); | ||
| 4835 | } | ||
| 4836 | ], | ||
| 4837 | [#Rule 22 | ||
| 4838 | 'module', 4, | ||
| 4839 | sub | ||
| 4840 | #line 175 "ParserXp.yp" | ||
| 4841 | { | ||
| 4842 | $_[0]->YYData->{symbtab}->PopCurrentRoot($_[1]); | ||
| 4843 | $_[1]->Configure($_[0], | ||
| 4844 | 'list_decl' => $_[3] | ||
| 4845 | ) if (defined $_[1]); | ||
| 4846 | } | ||
| 4847 | ], | ||
| 4848 | [#Rule 23 | ||
| 4849 | 'module', 4, | ||
| 4850 | sub | ||
| 4851 | #line 182 "ParserXp.yp" | ||
| 4852 | { | ||
| 4853 | $_[0]->YYData->{symbtab}->PopCurrentRoot($_[1]); | ||
| 4854 | $_[0]->Error("definition declaration expected.\n"); | ||
| 4855 | $_[0]->YYErrok(); | ||
| 4856 | $_[1]; | ||
| 4857 | } | ||
| 4858 | ], | ||
| 4859 | [#Rule 24 | ||
| 4860 | 'module', 3, | ||
| 4861 | sub | ||
| 4862 | #line 189 "ParserXp.yp" | ||
| 4863 | { | ||
| 4864 | $_[0]->YYData->{symbtab}->PopCurrentRoot($_[1]); | ||
| 4865 | $_[0]->Error("Empty module.\n"); | ||
| 4866 | $_[0]->YYErrok(); | ||
| 4867 | $_[1]; | ||
| 4868 | } | ||
| 4869 | ], | ||
| 4870 | [#Rule 25 | ||
| 4871 | 'module', 3, | ||
| 4872 | sub | ||
| 4873 | #line 196 "ParserXp.yp" | ||
| 4874 | { | ||
| 4875 | $_[0]->YYData->{symbtab}->PopCurrentRoot($_[1]); | ||
| 4876 | $_[0]->Error("'\x7b' expected.\n"); | ||
| 4877 | $_[0]->YYErrok(); | ||
| 4878 | $_[1]; | ||
| 4879 | } | ||
| 4880 | ], | ||
| 4881 | [#Rule 26 | ||
| 4882 | 'module_header', 3, | ||
| 4883 | sub | ||
| 4884 | #line 206 "ParserXp.yp" | ||
| 4885 | { | ||
| 4886 | new CORBA::IDL::Module($_[0], | ||
| 4887 | 'declspec' => $_[1], | ||
| 4888 | 'idf' => $_[3], | ||
| 4889 | ); | ||
| 4890 | } | ||
| 4891 | ], | ||
| 4892 | [#Rule 27 | ||
| 4893 | 'module_header', 3, | ||
| 4894 | sub | ||
| 4895 | #line 213 "ParserXp.yp" | ||
| 4896 | { | ||
| 4897 | $_[0]->Error("Identifier expected.\n"); | ||
| 4898 | $_[0]->YYErrok(); | ||
| 4899 | } | ||
| 4900 | ], | ||
| 4901 | [#Rule 28 | ||
| 4902 | 'interface', 1, undef | ||
| 4903 | ], | ||
| 4904 | [#Rule 29 | ||
| 4905 | 'interface', 1, undef | ||
| 4906 | ], | ||
| 4907 | [#Rule 30 | ||
| 4908 | 'interface_dcl', 3, | ||
| 4909 | sub | ||
| 4910 | #line 230 "ParserXp.yp" | ||
| 4911 | { | ||
| 4912 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 4913 | $_[0]->YYData->{curr_itf} = undef; | ||
| 4914 | $_[1]->Configure($_[0], | ||
| 4915 | 'list_decl' => [] | ||
| 4916 | ) if (defined $_[1]); | ||
| 4917 | } | ||
| 4918 | ], | ||
| 4919 | [#Rule 31 | ||
| 4920 | 'interface_dcl', 4, | ||
| 4921 | sub | ||
| 4922 | #line 238 "ParserXp.yp" | ||
| 4923 | { | ||
| 4924 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 4925 | $_[0]->YYData->{curr_itf} = undef; | ||
| 4926 | $_[1]->Configure($_[0], | ||
| 4927 | 'list_decl' => $_[3] | ||
| 4928 | ) if (defined $_[1]); | ||
| 4929 | } | ||
| 4930 | ], | ||
| 4931 | [#Rule 32 | ||
| 4932 | 'interface_dcl', 4, | ||
| 4933 | sub | ||
| 4934 | #line 246 "ParserXp.yp" | ||
| 4935 | { | ||
| 4936 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 4937 | $_[0]->YYData->{curr_itf} = undef; | ||
| 4938 | $_[0]->Error("export declaration expected.\n"); | ||
| 4939 | $_[0]->YYErrok(); | ||
| 4940 | $_[1]; | ||
| 4941 | } | ||
| 4942 | ], | ||
| 4943 | [#Rule 33 | ||
| 4944 | 'forward_dcl', 5, | ||
| 4945 | sub | ||
| 4946 | #line 258 "ParserXp.yp" | ||
| 4947 | { | ||
| 4948 | $_[0]->Warning("Ignoring properties for forward declaration.\n") | ||
| 4949 | if (defined $_[2]); | ||
| 4950 | if (defined $_[3] and $_[3] eq 'abstract') { | ||
| 4951 | new CORBA::IDL::ForwardAbstractInterface($_[0], | ||
| 4952 | 'declspec' => $_[1], | ||
| 4953 | 'idf' => $_[5] | ||
| 4954 | ); | ||
| 4955 | } | ||
| 4956 | elsif (defined $_[3] and $_[3] eq 'local') { | ||
| 4957 | new CORBA::IDL::ForwardLocalInterface($_[0], | ||
| 4958 | 'declspec' => $_[1], | ||
| 4959 | 'idf' => $_[5] | ||
| 4960 | ); | ||
| 4961 | } | ||
| 4962 | else { | ||
| 4963 | new CORBA::IDL::ForwardRegularInterface($_[0], | ||
| 4964 | 'declspec' => $_[1], | ||
| 4965 | 'idf' => $_[5] | ||
| 4966 | ); | ||
| 4967 | } | ||
| 4968 | } | ||
| 4969 | ], | ||
| 4970 | [#Rule 34 | ||
| 4971 | 'forward_dcl', 5, | ||
| 4972 | sub | ||
| 4973 | #line 281 "ParserXp.yp" | ||
| 4974 | { | ||
| 4975 | $_[0]->Error("Identifier expected.\n"); | ||
| 4976 | $_[0]->YYErrok(); | ||
| 4977 | } | ||
| 4978 | ], | ||
| 4979 | [#Rule 35 | ||
| 4980 | 'interface_mod', 1, undef | ||
| 4981 | ], | ||
| 4982 | [#Rule 36 | ||
| 4983 | 'interface_mod', 1, undef | ||
| 4984 | ], | ||
| 4985 | [#Rule 37 | ||
| 4986 | 'interface_mod', 0, undef | ||
| 4987 | ], | ||
| 4988 | [#Rule 38 | ||
| 4989 | 'interface_header', 6, | ||
| 4990 | sub | ||
| 4991 | #line 299 "ParserXp.yp" | ||
| 4992 | { | ||
| 4993 | if (defined $_[3] and $_[3] eq 'abstract') { | ||
| 4994 | new CORBA::IDL::AbstractInterface($_[0], | ||
| 4995 | 'declspec' => $_[1], | ||
| 4996 | 'props' => $_[2], | ||
| 4997 | 'idf' => $_[5], | ||
| 4998 | 'inheritance' => $_[6] | ||
| 4999 | ); | ||
| 5000 | } | ||
| 5001 | elsif (defined $_[3] and $_[3] eq 'local') { | ||
| 5002 | new CORBA::IDL::LocalInterface($_[0], | ||
| 5003 | 'declspec' => $_[1], | ||
| 5004 | 'props' => $_[2], | ||
| 5005 | 'idf' => $_[5], | ||
| 5006 | 'inheritance' => $_[6] | ||
| 5007 | ); | ||
| 5008 | } | ||
| 5009 | else { | ||
| 5010 | new CORBA::IDL::RegularInterface($_[0], | ||
| 5011 | 'declspec' => $_[1], | ||
| 5012 | 'props' => $_[2], | ||
| 5013 | 'idf' => $_[5], | ||
| 5014 | 'inheritance' => $_[6] | ||
| 5015 | ); | ||
| 5016 | } | ||
| 5017 | } | ||
| 5018 | ], | ||
| 5019 | [#Rule 39 | ||
| 5020 | 'interface_header', 5, | ||
| 5021 | sub | ||
| 5022 | #line 326 "ParserXp.yp" | ||
| 5023 | { | ||
| 5024 | $_[0]->Error("Identifier expected.\n"); | ||
| 5025 | $_[0]->YYErrok(); | ||
| 5026 | } | ||
| 5027 | ], | ||
| 5028 | [#Rule 40 | ||
| 5029 | 'interface_body', 1, undef | ||
| 5030 | ], | ||
| 5031 | [#Rule 41 | ||
| 5032 | 'exports', 1, | ||
| 5033 | sub | ||
| 5034 | #line 340 "ParserXp.yp" | ||
| 5035 | { | ||
| 5036 | [$_[1]->getRef()]; | ||
| 5037 | } | ||
| 5038 | ], | ||
| 5039 | [#Rule 42 | ||
| 5040 | 'exports', 2, | ||
| 5041 | sub | ||
| 5042 | #line 344 "ParserXp.yp" | ||
| 5043 | { | ||
| 5044 | unshift @{$_[2]}, $_[1]->getRef(); | ||
| 5045 | $_[2]; | ||
| 5046 | } | ||
| 5047 | ], | ||
| 5048 | [#Rule 43 | ||
| 5049 | '_export', 1, undef | ||
| 5050 | ], | ||
| 5051 | [#Rule 44 | ||
| 5052 | '_export', 1, | ||
| 5053 | sub | ||
| 5054 | #line 355 "ParserXp.yp" | ||
| 5055 | { | ||
| 5056 | $_[0]->Error("state member unexpected.\n"); | ||
| 5057 | $_[1]; #default action | ||
| 5058 | } | ||
| 5059 | ], | ||
| 5060 | [#Rule 45 | ||
| 5061 | '_export', 1, | ||
| 5062 | sub | ||
| 5063 | #line 360 "ParserXp.yp" | ||
| 5064 | { | ||
| 5065 | $_[0]->Error("initializer unexpected.\n"); | ||
| 5066 | $_[1]; #default action | ||
| 5067 | } | ||
| 5068 | ], | ||
| 5069 | [#Rule 46 | ||
| 5070 | 'export', 2, undef | ||
| 5071 | ], | ||
| 5072 | [#Rule 47 | ||
| 5073 | 'export', 2, undef | ||
| 5074 | ], | ||
| 5075 | [#Rule 48 | ||
| 5076 | 'export', 2, undef | ||
| 5077 | ], | ||
| 5078 | [#Rule 49 | ||
| 5079 | 'export', 2, undef | ||
| 5080 | ], | ||
| 5081 | [#Rule 50 | ||
| 5082 | 'export', 2, undef | ||
| 5083 | ], | ||
| 5084 | [#Rule 51 | ||
| 5085 | 'export', 2, undef | ||
| 5086 | ], | ||
| 5087 | [#Rule 52 | ||
| 5088 | 'export', 2, undef | ||
| 5089 | ], | ||
| 5090 | [#Rule 53 | ||
| 5091 | 'export', 1, undef | ||
| 5092 | ], | ||
| 5093 | [#Rule 54 | ||
| 5094 | 'interface_inheritance_spec', 2, | ||
| 5095 | sub | ||
| 5096 | #line 388 "ParserXp.yp" | ||
| 5097 | { | ||
| 5098 | new CORBA::IDL::InheritanceSpec($_[0], | ||
| 5099 | 'list_interface' => $_[2] | ||
| 5100 | ); | ||
| 5101 | } | ||
| 5102 | ], | ||
| 5103 | [#Rule 55 | ||
| 5104 | 'interface_inheritance_spec', 2, | ||
| 5105 | sub | ||
| 5106 | #line 394 "ParserXp.yp" | ||
| 5107 | { | ||
| 5108 | $_[0]->Error("Interface name expected.\n"); | ||
| 5109 | $_[0]->YYErrok(); | ||
| 5110 | } | ||
| 5111 | ], | ||
| 5112 | [#Rule 56 | ||
| 5113 | 'interface_inheritance_spec', 0, undef | ||
| 5114 | ], | ||
| 5115 | [#Rule 57 | ||
| 5116 | 'interface_names', 1, | ||
| 5117 | sub | ||
| 5118 | #line 404 "ParserXp.yp" | ||
| 5119 | { | ||
| 5120 | [$_[1]]; | ||
| 5121 | } | ||
| 5122 | ], | ||
| 5123 | [#Rule 58 | ||
| 5124 | 'interface_names', 3, | ||
| 5125 | sub | ||
| 5126 | #line 408 "ParserXp.yp" | ||
| 5127 | { | ||
| 5128 | unshift @{$_[3]}, $_[1]; | ||
| 5129 | $_[3]; | ||
| 5130 | } | ||
| 5131 | ], | ||
| 5132 | [#Rule 59 | ||
| 5133 | 'interface_name', 1, | ||
| 5134 | sub | ||
| 5135 | #line 417 "ParserXp.yp" | ||
| 5136 | { | ||
| 5137 | CORBA::IDL::Interface->Lookup($_[0], $_[1]); | ||
| 5138 | } | ||
| 5139 | ], | ||
| 5140 | [#Rule 60 | ||
| 5141 | 'scoped_name', 1, undef | ||
| 5142 | ], | ||
| 5143 | [#Rule 61 | ||
| 5144 | 'scoped_name', 2, | ||
| 5145 | sub | ||
| 5146 | #line 427 "ParserXp.yp" | ||
| 5147 | { | ||
| 5148 | $_[1] . $_[2]; | ||
| 5149 | } | ||
| 5150 | ], | ||
| 5151 | [#Rule 62 | ||
| 5152 | 'scoped_name', 2, | ||
| 5153 | sub | ||
| 5154 | #line 431 "ParserXp.yp" | ||
| 5155 | { | ||
| 5156 | $_[0]->Error("Identifier expected.\n"); | ||
| 5157 | $_[0]->YYErrok(); | ||
| 5158 | ''; | ||
| 5159 | } | ||
| 5160 | ], | ||
| 5161 | [#Rule 63 | ||
| 5162 | 'scoped_name', 3, | ||
| 5163 | sub | ||
| 5164 | #line 437 "ParserXp.yp" | ||
| 5165 | { | ||
| 5166 | $_[1] . $_[2] . $_[3]; | ||
| 5167 | } | ||
| 5168 | ], | ||
| 5169 | [#Rule 64 | ||
| 5170 | 'scoped_name', 3, | ||
| 5171 | sub | ||
| 5172 | #line 441 "ParserXp.yp" | ||
| 5173 | { | ||
| 5174 | $_[0]->Error("Identifier expected.\n"); | ||
| 5175 | $_[0]->YYErrok(); | ||
| 5176 | $_[1]; | ||
| 5177 | } | ||
| 5178 | ], | ||
| 5179 | [#Rule 65 | ||
| 5180 | 'value', 1, undef | ||
| 5181 | ], | ||
| 5182 | [#Rule 66 | ||
| 5183 | 'value', 1, undef | ||
| 5184 | ], | ||
| 5185 | [#Rule 67 | ||
| 5186 | 'value', 1, undef | ||
| 5187 | ], | ||
| 5188 | [#Rule 68 | ||
| 5189 | 'value', 1, undef | ||
| 5190 | ], | ||
| 5191 | [#Rule 69 | ||
| 5192 | 'value_forward_dcl', 5, | ||
| 5193 | sub | ||
| 5194 | #line 463 "ParserXp.yp" | ||
| 5195 | { | ||
| 5196 | $_[0]->Warning("Ignoring properties for forward declaration.\n") | ||
| 5197 | if (defined $_[2]); | ||
| 5198 | $_[0]->Warning("CUSTOM unexpected.\n") | ||
| 5199 | if (defined $_[3]); | ||
| 5200 | new CORBA::IDL::ForwardRegularValue($_[0], | ||
| 5201 | 'declspec' => $_[1], | ||
| 5202 | 'idf' => $_[4] | ||
| 5203 | ); | ||
| 5204 | } | ||
| 5205 | ], | ||
| 5206 | [#Rule 70 | ||
| 5207 | 'value_forward_dcl', 5, | ||
| 5208 | sub | ||
| 5209 | #line 474 "ParserXp.yp" | ||
| 5210 | { | ||
| 5211 | $_[0]->Warning("Ignoring properties for forward declaration.\n") | ||
| 5212 | if (defined $_[2]); | ||
| 5213 | new CORBA::IDL::ForwardAbstractValue($_[0], | ||
| 5214 | 'declspec' => $_[1], | ||
| 5215 | 'idf' => $_[5] | ||
| 5216 | ); | ||
| 5217 | } | ||
| 5218 | ], | ||
| 5219 | [#Rule 71 | ||
| 5220 | 'value_box_dcl', 2, | ||
| 5221 | sub | ||
| 5222 | #line 487 "ParserXp.yp" | ||
| 5223 | { | ||
| 5224 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 5225 | $_[0]->YYData->{curr_itf} = undef; | ||
| 5226 | $_[1]->Configure($_[0], | ||
| 5227 | 'type' => $_[2] | ||
| 5228 | ) if (defined $_[1]); | ||
| 5229 | } | ||
| 5230 | ], | ||
| 5231 | [#Rule 72 | ||
| 5232 | 'value_box_header', 5, | ||
| 5233 | sub | ||
| 5234 | #line 498 "ParserXp.yp" | ||
| 5235 | { | ||
| 5236 | $_[0]->Warning("CUSTOM unexpected.\n") | ||
| 5237 | if (defined $_[3]); | ||
| 5238 | new CORBA::IDL::BoxedValue($_[0], | ||
| 5239 | 'declspec' => $_[1], | ||
| 5240 | 'props' => $_[2], | ||
| 5241 | 'idf' => $_[4], | ||
| 5242 | ); | ||
| 5243 | } | ||
| 5244 | ], | ||
| 5245 | [#Rule 73 | ||
| 5246 | 'value_abs_dcl', 3, | ||
| 5247 | sub | ||
| 5248 | #line 512 "ParserXp.yp" | ||
| 5249 | { | ||
| 5250 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 5251 | $_[0]->YYData->{curr_itf} = undef; | ||
| 5252 | $_[1]->Configure($_[0], | ||
| 5253 | 'list_decl' => [] | ||
| 5254 | ) if (defined $_[1]); | ||
| 5255 | } | ||
| 5256 | ], | ||
| 5257 | [#Rule 74 | ||
| 5258 | 'value_abs_dcl', 4, | ||
| 5259 | sub | ||
| 5260 | #line 520 "ParserXp.yp" | ||
| 5261 | { | ||
| 5262 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 5263 | $_[0]->YYData->{curr_itf} = undef; | ||
| 5264 | $_[1]->Configure($_[0], | ||
| 5265 | 'list_decl' => $_[3] | ||
| 5266 | ) if (defined $_[1]); | ||
| 5267 | } | ||
| 5268 | ], | ||
| 5269 | [#Rule 75 | ||
| 5270 | 'value_abs_dcl', 4, | ||
| 5271 | sub | ||
| 5272 | #line 528 "ParserXp.yp" | ||
| 5273 | { | ||
| 5274 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 5275 | $_[0]->YYData->{curr_itf} = undef; | ||
| 5276 | $_[0]->Error("export declaration expected.\n"); | ||
| 5277 | $_[0]->YYErrok(); | ||
| 5278 | $_[1]; | ||
| 5279 | } | ||
| 5280 | ], | ||
| 5281 | [#Rule 76 | ||
| 5282 | 'value_abs_header', 6, | ||
| 5283 | sub | ||
| 5284 | #line 539 "ParserXp.yp" | ||
| 5285 | { | ||
| 5286 | new CORBA::IDL::AbstractValue($_[0], | ||
| 5287 | 'declspec' => $_[1], | ||
| 5288 | 'props' => $_[2], | ||
| 5289 | 'idf' => $_[5], | ||
| 5290 | 'inheritance' => $_[6] | ||
| 5291 | ); | ||
| 5292 | } | ||
| 5293 | ], | ||
| 5294 | [#Rule 77 | ||
| 5295 | 'value_abs_header', 5, | ||
| 5296 | sub | ||
| 5297 | #line 548 "ParserXp.yp" | ||
| 5298 | { | ||
| 5299 | $_[0]->Error("Identifier expected.\n"); | ||
| 5300 | $_[0]->YYErrok(); | ||
| 5301 | } | ||
| 5302 | ], | ||
| 5303 | [#Rule 78 | ||
| 5304 | 'value_abs_header', 4, | ||
| 5305 | sub | ||
| 5306 | #line 553 "ParserXp.yp" | ||
| 5307 | { | ||
| 5308 | $_[0]->Error("'valuetype' expected.\n"); | ||
| 5309 | $_[0]->YYErrok(); | ||
| 5310 | } | ||
| 5311 | ], | ||
| 5312 | [#Rule 79 | ||
| 5313 | 'value_dcl', 3, | ||
| 5314 | sub | ||
| 5315 | #line 562 "ParserXp.yp" | ||
| 5316 | { | ||
| 5317 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 5318 | $_[0]->YYData->{curr_itf} = undef; | ||
| 5319 | $_[1]->Configure($_[0], | ||
| 5320 | 'list_decl' => [] | ||
| 5321 | ) if (defined $_[1]); | ||
| 5322 | } | ||
| 5323 | ], | ||
| 5324 | [#Rule 80 | ||
| 5325 | 'value_dcl', 4, | ||
| 5326 | sub | ||
| 5327 | #line 570 "ParserXp.yp" | ||
| 5328 | { | ||
| 5329 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 5330 | $_[0]->YYData->{curr_itf} = undef; | ||
| 5331 | $_[1]->Configure($_[0], | ||
| 5332 | 'list_decl' => $_[3] | ||
| 5333 | ) if (defined $_[1]); | ||
| 5334 | } | ||
| 5335 | ], | ||
| 5336 | [#Rule 81 | ||
| 5337 | 'value_dcl', 4, | ||
| 5338 | sub | ||
| 5339 | #line 578 "ParserXp.yp" | ||
| 5340 | { | ||
| 5341 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 5342 | $_[0]->YYData->{curr_itf} = undef; | ||
| 5343 | $_[0]->Error("value_element expected.\n"); | ||
| 5344 | $_[0]->YYErrok(); | ||
| 5345 | $_[1]; | ||
| 5346 | } | ||
| 5347 | ], | ||
| 5348 | [#Rule 82 | ||
| 5349 | 'value_elements', 1, | ||
| 5350 | sub | ||
| 5351 | #line 589 "ParserXp.yp" | ||
| 5352 | { | ||
| 5353 | [$_[1]->getRef()]; | ||
| 5354 | } | ||
| 5355 | ], | ||
| 5356 | [#Rule 83 | ||
| 5357 | 'value_elements', 2, | ||
| 5358 | sub | ||
| 5359 | #line 593 "ParserXp.yp" | ||
| 5360 | { | ||
| 5361 | unshift @{$_[2]}, $_[1]->getRef(); | ||
| 5362 | $_[2]; | ||
| 5363 | } | ||
| 5364 | ], | ||
| 5365 | [#Rule 84 | ||
| 5366 | 'value_header', 6, | ||
| 5367 | sub | ||
| 5368 | #line 602 "ParserXp.yp" | ||
| 5369 | { | ||
| 5370 | new CORBA::IDL::RegularValue($_[0], | ||
| 5371 | 'declspec' => $_[1], | ||
| 5372 | 'props' => $_[2], | ||
| 5373 | 'modifier' => $_[3], | ||
| 5374 | 'idf' => $_[5], | ||
| 5375 | 'inheritance' => $_[6] | ||
| 5376 | ); | ||
| 5377 | } | ||
| 5378 | ], | ||
| 5379 | [#Rule 85 | ||
| 5380 | 'value_header', 5, | ||
| 5381 | sub | ||
| 5382 | #line 612 "ParserXp.yp" | ||
| 5383 | { | ||
| 5384 | $_[0]->Error("Identifier expected.\n"); | ||
| 5385 | $_[0]->YYErrok(); | ||
| 5386 | } | ||
| 5387 | ], | ||
| 5388 | [#Rule 86 | ||
| 5389 | 'value_mod', 1, undef | ||
| 5390 | ], | ||
| 5391 | [#Rule 87 | ||
| 5392 | 'value_mod', 0, undef | ||
| 5393 | ], | ||
| 5394 | [#Rule 88 | ||
| 5395 | 'value_inheritance_spec', 4, | ||
| 5396 | sub | ||
| 5397 | #line 628 "ParserXp.yp" | ||
| 5398 | { | ||
| 5399 | new CORBA::IDL::InheritanceSpec($_[0], | ||
| 5400 | 'modifier' => $_[2], | ||
| 5401 | 'list_value' => $_[3], | ||
| 5402 | 'list_interface' => $_[4] | ||
| 5403 | ); | ||
| 5404 | } | ||
| 5405 | ], | ||
| 5406 | [#Rule 89 | ||
| 5407 | 'value_inheritance_spec', 3, | ||
| 5408 | sub | ||
| 5409 | #line 636 "ParserXp.yp" | ||
| 5410 | { | ||
| 5411 | $_[0]->Error("value_name expected.\n"); | ||
| 5412 | $_[0]->YYErrok(); | ||
| 5413 | } | ||
| 5414 | ], | ||
| 5415 | [#Rule 90 | ||
| 5416 | 'value_inheritance_spec', 1, | ||
| 5417 | sub | ||
| 5418 | #line 641 "ParserXp.yp" | ||
| 5419 | { | ||
| 5420 | new CORBA::IDL::InheritanceSpec($_[0], | ||
| 5421 | 'list_interface' => $_[1] | ||
| 5422 | ); | ||
| 5423 | } | ||
| 5424 | ], | ||
| 5425 | [#Rule 91 | ||
| 5426 | 'inheritance_mod', 1, undef | ||
| 5427 | ], | ||
| 5428 | [#Rule 92 | ||
| 5429 | 'inheritance_mod', 0, undef | ||
| 5430 | ], | ||
| 5431 | [#Rule 93 | ||
| 5432 | 'value_names', 1, | ||
| 5433 | sub | ||
| 5434 | #line 657 "ParserXp.yp" | ||
| 5435 | { | ||
| 5436 | [$_[1]]; | ||
| 5437 | } | ||
| 5438 | ], | ||
| 5439 | [#Rule 94 | ||
| 5440 | 'value_names', 3, | ||
| 5441 | sub | ||
| 5442 | #line 661 "ParserXp.yp" | ||
| 5443 | { | ||
| 5444 | unshift @{$_[3]}, $_[1]; | ||
| 5445 | $_[3]; | ||
| 5446 | } | ||
| 5447 | ], | ||
| 5448 | [#Rule 95 | ||
| 5449 | 'supported_interface_spec', 2, | ||
| 5450 | sub | ||
| 5451 | #line 669 "ParserXp.yp" | ||
| 5452 | { | ||
| 5453 | $_[2]; | ||
| 5454 | } | ||
| 5455 | ], | ||
| 5456 | [#Rule 96 | ||
| 5457 | 'supported_interface_spec', 2, | ||
| 5458 | sub | ||
| 5459 | #line 673 "ParserXp.yp" | ||
| 5460 | { | ||
| 5461 | $_[0]->Error("Interface name expected.\n"); | ||
| 5462 | $_[0]->YYErrok(); | ||
| 5463 | } | ||
| 5464 | ], | ||
| 5465 | [#Rule 97 | ||
| 5466 | 'supported_interface_spec', 0, undef | ||
| 5467 | ], | ||
| 5468 | [#Rule 98 | ||
| 5469 | 'value_name', 1, | ||
| 5470 | sub | ||
| 5471 | #line 684 "ParserXp.yp" | ||
| 5472 | { | ||
| 5473 | CORBA::IDL::Value->Lookup($_[0], $_[1]); | ||
| 5474 | } | ||
| 5475 | ], | ||
| 5476 | [#Rule 99 | ||
| 5477 | 'value_element', 1, undef | ||
| 5478 | ], | ||
| 5479 | [#Rule 100 | ||
| 5480 | 'value_element', 1, undef | ||
| 5481 | ], | ||
| 5482 | [#Rule 101 | ||
| 5483 | 'value_element', 1, undef | ||
| 5484 | ], | ||
| 5485 | [#Rule 102 | ||
| 5486 | 'state_member', 6, | ||
| 5487 | sub | ||
| 5488 | #line 702 "ParserXp.yp" | ||
| 5489 | { | ||
| 5490 | new CORBA::IDL::StateMembers($_[0], | ||
| 5491 | 'declspec' => $_[1], | ||
| 5492 | 'props' => $_[2], | ||
| 5493 | 'modifier' => $_[3], | ||
| 5494 | 'type' => $_[4], | ||
| 5495 | 'list_expr' => $_[5] | ||
| 5496 | ); | ||
| 5497 | } | ||
| 5498 | ], | ||
| 5499 | [#Rule 103 | ||
| 5500 | 'state_member', 6, | ||
| 5501 | sub | ||
| 5502 | #line 712 "ParserXp.yp" | ||
| 5503 | { | ||
| 5504 | $_[0]->Error("Identifier expected.\n"); | ||
| 5505 | $_[0]->YYErrok(); | ||
| 5506 | } | ||
| 5507 | ], | ||
| 5508 | [#Rule 104 | ||
| 5509 | 'state_member', 5, | ||
| 5510 | sub | ||
| 5511 | #line 717 "ParserXp.yp" | ||
| 5512 | { | ||
| 5513 | $_[0]->Error("type_spec expected.\n"); | ||
| 5514 | $_[0]->YYErrok(); | ||
| 5515 | } | ||
| 5516 | ], | ||
| 5517 | [#Rule 105 | ||
| 5518 | 'state_mod', 1, undef | ||
| 5519 | ], | ||
| 5520 | [#Rule 106 | ||
| 5521 | 'state_mod', 1, undef | ||
| 5522 | ], | ||
| 5523 | [#Rule 107 | ||
| 5524 | 'init_dcl', 3, | ||
| 5525 | sub | ||
| 5526 | #line 733 "ParserXp.yp" | ||
| 5527 | { | ||
| 5528 | $_[1]->Configure($_[0], | ||
| 5529 | 'list_raise' => $_[2] | ||
| 5530 | ) if (defined $_[1]); | ||
| 5531 | } | ||
| 5532 | ], | ||
| 5533 | [#Rule 108 | ||
| 5534 | 'init_header_param', 3, | ||
| 5535 | sub | ||
| 5536 | #line 742 "ParserXp.yp" | ||
| 5537 | { | ||
| 5538 | delete $_[0]->YYData->{unnamed_symbtab} | ||
| 5539 | if (exists $_[0]->YYData->{unnamed_symbtab}); | ||
| 5540 | $_[1]; #default action | ||
| 5541 | } | ||
| 5542 | ], | ||
| 5543 | [#Rule 109 | ||
| 5544 | 'init_header_param', 4, | ||
| 5545 | sub | ||
| 5546 | #line 748 "ParserXp.yp" | ||
| 5547 | { | ||
| 5548 | delete $_[0]->YYData->{unnamed_symbtab} | ||
| 5549 | if (exists $_[0]->YYData->{unnamed_symbtab}); | ||
| 5550 | $_[1]->Configure($_[0], | ||
| 5551 | 'list_param' => $_[3] | ||
| 5552 | ) if (defined $_[1]); | ||
| 5553 | } | ||
| 5554 | ], | ||
| 5555 | [#Rule 110 | ||
| 5556 | 'init_header_param', 4, | ||
| 5557 | sub | ||
| 5558 | #line 756 "ParserXp.yp" | ||
| 5559 | { | ||
| 5560 | delete $_[0]->YYData->{unnamed_symbtab} | ||
| 5561 | if (exists $_[0]->YYData->{unnamed_symbtab}); | ||
| 5562 | $_[0]->Error("init_param_decls expected.\n"); | ||
| 5563 | $_[0]->YYErrok(); | ||
| 5564 | $_[1]; | ||
| 5565 | } | ||
| 5566 | ], | ||
| 5567 | [#Rule 111 | ||
| 5568 | 'init_header_param', 2, | ||
| 5569 | sub | ||
| 5570 | #line 764 "ParserXp.yp" | ||
| 5571 | { | ||
| 5572 | delete $_[0]->YYData->{unnamed_symbtab} | ||
| 5573 | if (exists $_[0]->YYData->{unnamed_symbtab}); | ||
| 5574 | $_[0]->Error("'(' expected.\n"); | ||
| 5575 | $_[0]->YYErrok(); | ||
| 5576 | $_[1]; | ||
| 5577 | } | ||
| 5578 | ], | ||
| 5579 | [#Rule 112 | ||
| 5580 | 'init_header', 4, | ||
| 5581 | sub | ||
| 5582 | #line 775 "ParserXp.yp" | ||
| 5583 | { | ||
| 5584 | new CORBA::IDL::Initializer($_[0], # like Operation | ||
| 5585 | 'declspec' => $_[1], | ||
| 5586 | 'props' => $_[2], | ||
| 5587 | 'idf' => $_[4] | ||
| 5588 | ); | ||
| 5589 | } | ||
| 5590 | ], | ||
| 5591 | [#Rule 113 | ||
| 5592 | 'init_header', 4, | ||
| 5593 | sub | ||
| 5594 | #line 783 "ParserXp.yp" | ||
| 5595 | { | ||
| 5596 | $_[0]->Error("Identifier expected.\n"); | ||
| 5597 | $_[0]->YYErrok(); | ||
| 5598 | } | ||
| 5599 | ], | ||
| 5600 | [#Rule 114 | ||
| 5601 | 'init_param_decls', 1, | ||
| 5602 | sub | ||
| 5603 | #line 792 "ParserXp.yp" | ||
| 5604 | { | ||
| 5605 | [$_[1]]; | ||
| 5606 | } | ||
| 5607 | ], | ||
| 5608 | [#Rule 115 | ||
| 5609 | 'init_param_decls', 3, | ||
| 5610 | sub | ||
| 5611 | #line 796 "ParserXp.yp" | ||
| 5612 | { | ||
| 5613 | unshift @{$_[3]}, $_[1]; | ||
| 5614 | $_[3]; | ||
| 5615 | } | ||
| 5616 | ], | ||
| 5617 | [#Rule 116 | ||
| 5618 | 'init_param_decl', 3, | ||
| 5619 | sub | ||
| 5620 | #line 805 "ParserXp.yp" | ||
| 5621 | { | ||
| 5622 | new CORBA::IDL::Parameter($_[0], | ||
| 5623 | 'attr' => $_[1], | ||
| 5624 | 'type' => $_[2], | ||
| 5625 | 'idf' => $_[3] | ||
| 5626 | ); | ||
| 5627 | } | ||
| 5628 | ], | ||
| 5629 | [#Rule 117 | ||
| 5630 | 'init_param_decl', 2, | ||
| 5631 | sub | ||
| 5632 | #line 813 "ParserXp.yp" | ||
| 5633 | { | ||
| 5634 | $_[0]->Error("Type expected.\n"); | ||
| 5635 | $_[0]->YYErrok(); | ||
| 5636 | } | ||
| 5637 | ], | ||
| 5638 | [#Rule 118 | ||
| 5639 | 'init_param_attribute', 1, undef | ||
| 5640 | ], | ||
| 5641 | [#Rule 119 | ||
| 5642 | 'const_dcl', 6, | ||
| 5643 | sub | ||
| 5644 | #line 828 "ParserXp.yp" | ||
| 5645 | { | ||
| 5646 | new CORBA::IDL::Constant($_[0], | ||
| 5647 | 'declspec' => $_[1], | ||
| 5648 | 'type' => $_[3], | ||
| 5649 | 'idf' => $_[4], | ||
| 5650 | 'list_expr' => $_[6] | ||
| 5651 | ); | ||
| 5652 | } | ||
| 5653 | ], | ||
| 5654 | [#Rule 120 | ||
| 5655 | 'const_dcl', 6, | ||
| 5656 | sub | ||
| 5657 | #line 837 "ParserXp.yp" | ||
| 5658 | { | ||
| 5659 | $_[0]->Error("Expression expected.\n"); | ||
| 5660 | $_[0]->YYErrok(); | ||
| 5661 | } | ||
| 5662 | ], | ||
| 5663 | [#Rule 121 | ||
| 5664 | 'const_dcl', 5, | ||
| 5665 | sub | ||
| 5666 | #line 842 "ParserXp.yp" | ||
| 5667 | { | ||
| 5668 | $_[0]->Error("'=' expected.\n"); | ||
| 5669 | $_[0]->YYErrok(); | ||
| 5670 | } | ||
| 5671 | ], | ||
| 5672 | [#Rule 122 | ||
| 5673 | 'const_dcl', 4, | ||
| 5674 | sub | ||
| 5675 | #line 847 "ParserXp.yp" | ||
| 5676 | { | ||
| 5677 | $_[0]->Error("Identifier expected.\n"); | ||
| 5678 | $_[0]->YYErrok(); | ||
| 5679 | } | ||
| 5680 | ], | ||
| 5681 | [#Rule 123 | ||
| 5682 | 'const_dcl', 3, | ||
| 5683 | sub | ||
| 5684 | #line 852 "ParserXp.yp" | ||
| 5685 | { | ||
| 5686 | $_[0]->Error("const_type expected.\n"); | ||
| 5687 | $_[0]->YYErrok(); | ||
| 5688 | } | ||
| 5689 | ], | ||
| 5690 | [#Rule 124 | ||
| 5691 | 'const_type', 1, undef | ||
| 5692 | ], | ||
| 5693 | [#Rule 125 | ||
| 5694 | 'const_type', 1, undef | ||
| 5695 | ], | ||
| 5696 | [#Rule 126 | ||
| 5697 | 'const_type', 1, undef | ||
| 5698 | ], | ||
| 5699 | [#Rule 127 | ||
| 5700 | 'const_type', 1, undef | ||
| 5701 | ], | ||
| 5702 | [#Rule 128 | ||
| 5703 | 'const_type', 1, undef | ||
| 5704 | ], | ||
| 5705 | [#Rule 129 | ||
| 5706 | 'const_type', 1, undef | ||
| 5707 | ], | ||
| 5708 | [#Rule 130 | ||
| 5709 | 'const_type', 1, undef | ||
| 5710 | ], | ||
| 5711 | [#Rule 131 | ||
| 5712 | 'const_type', 1, undef | ||
| 5713 | ], | ||
| 5714 | [#Rule 132 | ||
| 5715 | 'const_type', 1, | ||
| 5716 | sub | ||
| 5717 | #line 877 "ParserXp.yp" | ||
| 5718 | { | ||
| 5719 | CORBA::IDL::TypeDeclarator->Lookup($_[0], $_[1]); | ||
| 5720 | } | ||
| 5721 | ], | ||
| 5722 | [#Rule 133 | ||
| 5723 | 'const_type', 1, undef | ||
| 5724 | ], | ||
| 5725 | [#Rule 134 | ||
| 5726 | 'const_exp', 1, undef | ||
| 5727 | ], | ||
| 5728 | [#Rule 135 | ||
| 5729 | 'or_expr', 1, undef | ||
| 5730 | ], | ||
| 5731 | [#Rule 136 | ||
| 5732 | 'or_expr', 3, | ||
| 5733 | sub | ||
| 5734 | #line 895 "ParserXp.yp" | ||
| 5735 | { | ||
| 5736 | BuildBinop($_[1], $_[2], $_[3]); | ||
| 5737 | } | ||
| 5738 | ], | ||
| 5739 | [#Rule 137 | ||
| 5740 | 'xor_expr', 1, undef | ||
| 5741 | ], | ||
| 5742 | [#Rule 138 | ||
| 5743 | 'xor_expr', 3, | ||
| 5744 | sub | ||
| 5745 | #line 905 "ParserXp.yp" | ||
| 5746 | { | ||
| 5747 | BuildBinop($_[1], $_[2], $_[3]); | ||
| 5748 | } | ||
| 5749 | ], | ||
| 5750 | [#Rule 139 | ||
| 5751 | 'and_expr', 1, undef | ||
| 5752 | ], | ||
| 5753 | [#Rule 140 | ||
| 5754 | 'and_expr', 3, | ||
| 5755 | sub | ||
| 5756 | #line 915 "ParserXp.yp" | ||
| 5757 | { | ||
| 5758 | BuildBinop($_[1], $_[2], $_[3]); | ||
| 5759 | } | ||
| 5760 | ], | ||
| 5761 | [#Rule 141 | ||
| 5762 | 'shift_expr', 1, undef | ||
| 5763 | ], | ||
| 5764 | [#Rule 142 | ||
| 5765 | 'shift_expr', 3, | ||
| 5766 | sub | ||
| 5767 | #line 925 "ParserXp.yp" | ||
| 5768 | { | ||
| 5769 | BuildBinop($_[1], $_[2], $_[3]); | ||
| 5770 | } | ||
| 5771 | ], | ||
| 5772 | [#Rule 143 | ||
| 5773 | 'shift_expr', 3, | ||
| 5774 | sub | ||
| 5775 | #line 929 "ParserXp.yp" | ||
| 5776 | { | ||
| 5777 | BuildBinop($_[1], $_[2], $_[3]); | ||
| 5778 | } | ||
| 5779 | ], | ||
| 5780 | [#Rule 144 | ||
| 5781 | 'add_expr', 1, undef | ||
| 5782 | ], | ||
| 5783 | [#Rule 145 | ||
| 5784 | 'add_expr', 3, | ||
| 5785 | sub | ||
| 5786 | #line 939 "ParserXp.yp" | ||
| 5787 | { | ||
| 5788 | BuildBinop($_[1], $_[2], $_[3]); | ||
| 5789 | } | ||
| 5790 | ], | ||
| 5791 | [#Rule 146 | ||
| 5792 | 'add_expr', 3, | ||
| 5793 | sub | ||
| 5794 | #line 943 "ParserXp.yp" | ||
| 5795 | { | ||
| 5796 | BuildBinop($_[1], $_[2], $_[3]); | ||
| 5797 | } | ||
| 5798 | ], | ||
| 5799 | [#Rule 147 | ||
| 5800 | 'mult_expr', 1, undef | ||
| 5801 | ], | ||
| 5802 | [#Rule 148 | ||
| 5803 | 'mult_expr', 3, | ||
| 5804 | sub | ||
| 5805 | #line 953 "ParserXp.yp" | ||
| 5806 | { | ||
| 5807 | BuildBinop($_[1], $_[2], $_[3]); | ||
| 5808 | } | ||
| 5809 | ], | ||
| 5810 | [#Rule 149 | ||
| 5811 | 'mult_expr', 3, | ||
| 5812 | sub | ||
| 5813 | #line 957 "ParserXp.yp" | ||
| 5814 | { | ||
| 5815 | BuildBinop($_[1], $_[2], $_[3]); | ||
| 5816 | } | ||
| 5817 | ], | ||
| 5818 | [#Rule 150 | ||
| 5819 | 'mult_expr', 3, | ||
| 5820 | sub | ||
| 5821 | #line 961 "ParserXp.yp" | ||
| 5822 | { | ||
| 5823 | BuildBinop($_[1], $_[2], $_[3]); | ||
| 5824 | } | ||
| 5825 | ], | ||
| 5826 | [#Rule 151 | ||
| 5827 | 'unary_expr', 2, | ||
| 5828 | sub | ||
| 5829 | #line 969 "ParserXp.yp" | ||
| 5830 | { | ||
| 5831 | BuildUnop($_[1], $_[2]); | ||
| 5832 | } | ||
| 5833 | ], | ||
| 5834 | [#Rule 152 | ||
| 5835 | 'unary_expr', 1, undef | ||
| 5836 | ], | ||
| 5837 | [#Rule 153 | ||
| 5838 | 'unary_operator', 1, undef | ||
| 5839 | ], | ||
| 5840 | [#Rule 154 | ||
| 5841 | 'unary_operator', 1, undef | ||
| 5842 | ], | ||
| 5843 | [#Rule 155 | ||
| 5844 | 'unary_operator', 1, undef | ||
| 5845 | ], | ||
| 5846 | [#Rule 156 | ||
| 5847 | 'primary_expr', 1, | ||
| 5848 | sub | ||
| 5849 | #line 989 "ParserXp.yp" | ||
| 5850 | { | ||
| 5851 | [ | ||
| 5852 | CORBA::IDL::Constant->Lookup($_[0], $_[1]) | ||
| 5853 | ]; | ||
| 5854 | } | ||
| 5855 | ], | ||
| 5856 | [#Rule 157 | ||
| 5857 | 'primary_expr', 1, | ||
| 5858 | sub | ||
| 5859 | #line 995 "ParserXp.yp" | ||
| 5860 | { | ||
| 5861 | [ $_[1] ]; | ||
| 5862 | } | ||
| 5863 | ], | ||
| 5864 | [#Rule 158 | ||
| 5865 | 'primary_expr', 3, | ||
| 5866 | sub | ||
| 5867 | #line 999 "ParserXp.yp" | ||
| 5868 | { | ||
| 5869 | $_[2]; | ||
| 5870 | } | ||
| 5871 | ], | ||
| 5872 | [#Rule 159 | ||
| 5873 | 'primary_expr', 3, | ||
| 5874 | sub | ||
| 5875 | #line 1003 "ParserXp.yp" | ||
| 5876 | { | ||
| 5877 | $_[0]->Error("Expression expected.\n"); | ||
| 5878 | $_[0]->YYErrok(); | ||
| 5879 | } | ||
| 5880 | ], | ||
| 5881 | [#Rule 160 | ||
| 5882 | 'literal', 1, | ||
| 5883 | sub | ||
| 5884 | #line 1012 "ParserXp.yp" | ||
| 5885 | { | ||
| 5886 | new CORBA::IDL::IntegerLiteral($_[0], | ||
| 5887 | 'value' => $_[1], | ||
| 5888 | 'lexeme' => $_[0]->YYData->{lexeme} | ||
| 5889 | ); | ||
| 5890 | } | ||
| 5891 | ], | ||
| 5892 | [#Rule 161 | ||
| 5893 | 'literal', 1, | ||
| 5894 | sub | ||
| 5895 | #line 1019 "ParserXp.yp" | ||
| 5896 | { | ||
| 5897 | new CORBA::IDL::StringLiteral($_[0], | ||
| 5898 | 'value' => $_[1] | ||
| 5899 | ); | ||
| 5900 | } | ||
| 5901 | ], | ||
| 5902 | [#Rule 162 | ||
| 5903 | 'literal', 1, | ||
| 5904 | sub | ||
| 5905 | #line 1025 "ParserXp.yp" | ||
| 5906 | { | ||
| 5907 | new CORBA::IDL::WideStringLiteral($_[0], | ||
| 5908 | 'value' => $_[1] | ||
| 5909 | ); | ||
| 5910 | } | ||
| 5911 | ], | ||
| 5912 | [#Rule 163 | ||
| 5913 | 'literal', 1, | ||
| 5914 | sub | ||
| 5915 | #line 1031 "ParserXp.yp" | ||
| 5916 | { | ||
| 5917 | new CORBA::IDL::CharacterLiteral($_[0], | ||
| 5918 | 'value' => $_[1] | ||
| 5919 | ); | ||
| 5920 | } | ||
| 5921 | ], | ||
| 5922 | [#Rule 164 | ||
| 5923 | 'literal', 1, | ||
| 5924 | sub | ||
| 5925 | #line 1037 "ParserXp.yp" | ||
| 5926 | { | ||
| 5927 | new CORBA::IDL::WideCharacterLiteral($_[0], | ||
| 5928 | 'value' => $_[1] | ||
| 5929 | ); | ||
| 5930 | } | ||
| 5931 | ], | ||
| 5932 | [#Rule 165 | ||
| 5933 | 'literal', 1, | ||
| 5934 | sub | ||
| 5935 | #line 1043 "ParserXp.yp" | ||
| 5936 | { | ||
| 5937 | new CORBA::IDL::FixedPtLiteral($_[0], | ||
| 5938 | 'value' => $_[1], | ||
| 5939 | 'lexeme' => $_[0]->YYData->{lexeme} | ||
| 5940 | ); | ||
| 5941 | } | ||
| 5942 | ], | ||
| 5943 | [#Rule 166 | ||
| 5944 | 'literal', 1, | ||
| 5945 | sub | ||
| 5946 | #line 1050 "ParserXp.yp" | ||
| 5947 | { | ||
| 5948 | new CORBA::IDL::FloatingPtLiteral($_[0], | ||
| 5949 | 'value' => $_[1], | ||
| 5950 | 'lexeme' => $_[0]->YYData->{lexeme} | ||
| 5951 | ); | ||
| 5952 | } | ||
| 5953 | ], | ||
| 5954 | [#Rule 167 | ||
| 5955 | 'literal', 1, undef | ||
| 5956 | ], | ||
| 5957 | [#Rule 168 | ||
| 5958 | 'string_literal', 1, undef | ||
| 5959 | ], | ||
| 5960 | [#Rule 169 | ||
| 5961 | 'string_literal', 2, | ||
| 5962 | sub | ||
| 5963 | #line 1064 "ParserXp.yp" | ||
| 5964 | { | ||
| 5965 | $_[1] . $_[2]; | ||
| 5966 | } | ||
| 5967 | ], | ||
| 5968 | [#Rule 170 | ||
| 5969 | 'wide_string_literal', 1, undef | ||
| 5970 | ], | ||
| 5971 | [#Rule 171 | ||
| 5972 | 'wide_string_literal', 2, | ||
| 5973 | sub | ||
| 5974 | #line 1073 "ParserXp.yp" | ||
| 5975 | { | ||
| 5976 | $_[1] . $_[2]; | ||
| 5977 | } | ||
| 5978 | ], | ||
| 5979 | [#Rule 172 | ||
| 5980 | 'boolean_literal', 1, | ||
| 5981 | sub | ||
| 5982 | #line 1081 "ParserXp.yp" | ||
| 5983 | { | ||
| 5984 | new CORBA::IDL::BooleanLiteral($_[0], | ||
| 5985 | 'value' => $_[1] | ||
| 5986 | ); | ||
| 5987 | } | ||
| 5988 | ], | ||
| 5989 | [#Rule 173 | ||
| 5990 | 'boolean_literal', 1, | ||
| 5991 | sub | ||
| 5992 | #line 1087 "ParserXp.yp" | ||
| 5993 | { | ||
| 5994 | new CORBA::IDL::BooleanLiteral($_[0], | ||
| 5995 | 'value' => $_[1] | ||
| 5996 | ); | ||
| 5997 | } | ||
| 5998 | ], | ||
| 5999 | [#Rule 174 | ||
| 6000 | 'positive_int_const', 1, | ||
| 6001 | sub | ||
| 6002 | #line 1097 "ParserXp.yp" | ||
| 6003 | { | ||
| 6004 | new CORBA::IDL::Expression($_[0], | ||
| 6005 | 'list_expr' => $_[1] | ||
| 6006 | ); | ||
| 6007 | } | ||
| 6008 | ], | ||
| 6009 | [#Rule 175 | ||
| 6010 | 'type_dcl', 2, | ||
| 6011 | sub | ||
| 6012 | #line 1107 "ParserXp.yp" | ||
| 6013 | { | ||
| 6014 | $_[2]->Configure($_[0], | ||
| 6015 | 'declspec' => $_[1] | ||
| 6016 | ) if ($_[2]); | ||
| 6017 | } | ||
| 6018 | ], | ||
| 6019 | [#Rule 176 | ||
| 6020 | 'type_dcl_def', 3, | ||
| 6021 | sub | ||
| 6022 | #line 1116 "ParserXp.yp" | ||
| 6023 | { | ||
| 6024 | $_[3]->Configure($_[0], | ||
| 6025 | 'props' => $_[1] | ||
| 6026 | ); | ||
| 6027 | } | ||
| 6028 | ], | ||
| 6029 | [#Rule 177 | ||
| 6030 | 'type_dcl_def', 1, undef | ||
| 6031 | ], | ||
| 6032 | [#Rule 178 | ||
| 6033 | 'type_dcl_def', 1, undef | ||
| 6034 | ], | ||
| 6035 | [#Rule 179 | ||
| 6036 | 'type_dcl_def', 1, undef | ||
| 6037 | ], | ||
| 6038 | [#Rule 180 | ||
| 6039 | 'type_dcl_def', 3, | ||
| 6040 | sub | ||
| 6041 | #line 1128 "ParserXp.yp" | ||
| 6042 | { | ||
| 6043 | new CORBA::IDL::NativeType($_[0], | ||
| 6044 | 'props' => $_[1], | ||
| 6045 | 'idf' => $_[3], | ||
| 6046 | ); | ||
| 6047 | } | ||
| 6048 | ], | ||
| 6049 | [#Rule 181 | ||
| 6050 | '@1-4', 0, | ||
| 6051 | sub | ||
| 6052 | #line 1135 "ParserXp.yp" | ||
| 6053 | { | ||
| 6054 | $_[0]->YYData->{native} = 1; | ||
| 6055 | } | ||
| 6056 | ], | ||
| 6057 | [#Rule 182 | ||
| 6058 | 'type_dcl_def', 6, | ||
| 6059 | sub | ||
| 6060 | #line 1139 "ParserXp.yp" | ||
| 6061 | { | ||
| 6062 | $_[0]->YYData->{native} = 0; | ||
| 6063 | new CORBA::IDL::NativeType($_[0], | ||
| 6064 | 'props' => $_[1], | ||
| 6065 | 'idf' => $_[3], | ||
| 6066 | 'native' => $_[6], | ||
| 6067 | ); | ||
| 6068 | } | ||
| 6069 | ], | ||
| 6070 | [#Rule 183 | ||
| 6071 | 'type_dcl_def', 1, undef | ||
| 6072 | ], | ||
| 6073 | [#Rule 184 | ||
| 6074 | 'type_dcl_def', 3, | ||
| 6075 | sub | ||
| 6076 | #line 1150 "ParserXp.yp" | ||
| 6077 | { | ||
| 6078 | $_[0]->Error("type_declarator expected.\n"); | ||
| 6079 | $_[0]->YYErrok(); | ||
| 6080 | } | ||
| 6081 | ], | ||
| 6082 | [#Rule 185 | ||
| 6083 | 'type_declarator', 2, | ||
| 6084 | sub | ||
| 6085 | #line 1159 "ParserXp.yp" | ||
| 6086 | { | ||
| 6087 | new CORBA::IDL::TypeDeclarators($_[0], | ||
| 6088 | 'type' => $_[1], | ||
| 6089 | 'list_expr' => $_[2] | ||
| 6090 | ); | ||
| 6091 | } | ||
| 6092 | ], | ||
| 6093 | [#Rule 186 | ||
| 6094 | 'type_spec', 1, undef | ||
| 6095 | ], | ||
| 6096 | [#Rule 187 | ||
| 6097 | 'type_spec', 1, undef | ||
| 6098 | ], | ||
| 6099 | [#Rule 188 | ||
| 6100 | 'simple_type_spec', 1, undef | ||
| 6101 | ], | ||
| 6102 | [#Rule 189 | ||
| 6103 | 'simple_type_spec', 1, undef | ||
| 6104 | ], | ||
| 6105 | [#Rule 190 | ||
| 6106 | 'simple_type_spec', 1, | ||
| 6107 | sub | ||
| 6108 | #line 1182 "ParserXp.yp" | ||
| 6109 | { | ||
| 6110 | CORBA::IDL::TypeDeclarator->Lookup($_[0], $_[1]); | ||
| 6111 | } | ||
| 6112 | ], | ||
| 6113 | [#Rule 191 | ||
| 6114 | 'simple_type_spec', 1, | ||
| 6115 | sub | ||
| 6116 | #line 1186 "ParserXp.yp" | ||
| 6117 | { | ||
| 6118 | $_[0]->Error("simple_type_spec expected.\n"); | ||
| 6119 | new CORBA::IDL::VoidType($_[0], | ||
| 6120 | 'value' => $_[1] | ||
| 6121 | ); | ||
| 6122 | } | ||
| 6123 | ], | ||
| 6124 | [#Rule 192 | ||
| 6125 | 'base_type_spec', 1, undef | ||
| 6126 | ], | ||
| 6127 | [#Rule 193 | ||
| 6128 | 'base_type_spec', 1, undef | ||
| 6129 | ], | ||
| 6130 | [#Rule 194 | ||
| 6131 | 'base_type_spec', 1, undef | ||
| 6132 | ], | ||
| 6133 | [#Rule 195 | ||
| 6134 | 'base_type_spec', 1, undef | ||
| 6135 | ], | ||
| 6136 | [#Rule 196 | ||
| 6137 | 'base_type_spec', 1, undef | ||
| 6138 | ], | ||
| 6139 | [#Rule 197 | ||
| 6140 | 'base_type_spec', 1, undef | ||
| 6141 | ], | ||
| 6142 | [#Rule 198 | ||
| 6143 | 'base_type_spec', 1, undef | ||
| 6144 | ], | ||
| 6145 | [#Rule 199 | ||
| 6146 | 'base_type_spec', 1, undef | ||
| 6147 | ], | ||
| 6148 | [#Rule 200 | ||
| 6149 | 'base_type_spec', 1, undef | ||
| 6150 | ], | ||
| 6151 | [#Rule 201 | ||
| 6152 | 'template_type_spec', 1, undef | ||
| 6153 | ], | ||
| 6154 | [#Rule 202 | ||
| 6155 | 'template_type_spec', 1, undef | ||
| 6156 | ], | ||
| 6157 | [#Rule 203 | ||
| 6158 | 'template_type_spec', 1, undef | ||
| 6159 | ], | ||
| 6160 | [#Rule 204 | ||
| 6161 | 'template_type_spec', 1, undef | ||
| 6162 | ], | ||
| 6163 | [#Rule 205 | ||
| 6164 | 'constr_type_spec', 1, undef | ||
| 6165 | ], | ||
| 6166 | [#Rule 206 | ||
| 6167 | 'constr_type_spec', 1, undef | ||
| 6168 | ], | ||
| 6169 | [#Rule 207 | ||
| 6170 | 'constr_type_spec', 1, undef | ||
| 6171 | ], | ||
| 6172 | [#Rule 208 | ||
| 6173 | 'declarators', 1, | ||
| 6174 | sub | ||
| 6175 | #line 1241 "ParserXp.yp" | ||
| 6176 | { | ||
| 6177 | [$_[1]]; | ||
| 6178 | } | ||
| 6179 | ], | ||
| 6180 | [#Rule 209 | ||
| 6181 | 'declarators', 3, | ||
| 6182 | sub | ||
| 6183 | #line 1245 "ParserXp.yp" | ||
| 6184 | { | ||
| 6185 | unshift @{$_[3]}, $_[1]; | ||
| 6186 | $_[3]; | ||
| 6187 | } | ||
| 6188 | ], | ||
| 6189 | [#Rule 210 | ||
| 6190 | 'declarator', 1, | ||
| 6191 | sub | ||
| 6192 | #line 1254 "ParserXp.yp" | ||
| 6193 | { | ||
| 6194 | [$_[1]]; | ||
| 6195 | } | ||
| 6196 | ], | ||
| 6197 | [#Rule 211 | ||
| 6198 | 'declarator', 1, undef | ||
| 6199 | ], | ||
| 6200 | [#Rule 212 | ||
| 6201 | 'simple_declarator', 1, undef | ||
| 6202 | ], | ||
| 6203 | [#Rule 213 | ||
| 6204 | 'simple_declarator', 2, | ||
| 6205 | sub | ||
| 6206 | #line 1266 "ParserXp.yp" | ||
| 6207 | { | ||
| 6208 | $_[0]->Error("Identifier expected.\n"); | ||
| 6209 | $_[0]->YYErrok(); | ||
| 6210 | } | ||
| 6211 | ], | ||
| 6212 | [#Rule 214 | ||
| 6213 | 'simple_declarator', 2, | ||
| 6214 | sub | ||
| 6215 | #line 1271 "ParserXp.yp" | ||
| 6216 | { | ||
| 6217 | $_[0]->Error("Identifier expected.\n"); | ||
| 6218 | $_[0]->YYErrok(); | ||
| 6219 | } | ||
| 6220 | ], | ||
| 6221 | [#Rule 215 | ||
| 6222 | 'complex_declarator', 1, undef | ||
| 6223 | ], | ||
| 6224 | [#Rule 216 | ||
| 6225 | 'floating_pt_type', 1, | ||
| 6226 | sub | ||
| 6227 | #line 1286 "ParserXp.yp" | ||
| 6228 | { | ||
| 6229 | new CORBA::IDL::FloatingPtType($_[0], | ||
| 6230 | 'value' => $_[1] | ||
| 6231 | ); | ||
| 6232 | } | ||
| 6233 | ], | ||
| 6234 | [#Rule 217 | ||
| 6235 | 'floating_pt_type', 1, | ||
| 6236 | sub | ||
| 6237 | #line 1292 "ParserXp.yp" | ||
| 6238 | { | ||
| 6239 | new CORBA::IDL::FloatingPtType($_[0], | ||
| 6240 | 'value' => $_[1] | ||
| 6241 | ); | ||
| 6242 | } | ||
| 6243 | ], | ||
| 6244 | [#Rule 218 | ||
| 6245 | 'floating_pt_type', 2, | ||
| 6246 | sub | ||
| 6247 | #line 1298 "ParserXp.yp" | ||
| 6248 | { | ||
| 6249 | new CORBA::IDL::FloatingPtType($_[0], | ||
| 6250 | 'value' => $_[1] . q{ } . $_[2] | ||
| 6251 | ); | ||
| 6252 | } | ||
| 6253 | ], | ||
| 6254 | [#Rule 219 | ||
| 6255 | 'integer_type', 1, undef | ||
| 6256 | ], | ||
| 6257 | [#Rule 220 | ||
| 6258 | 'integer_type', 1, undef | ||
| 6259 | ], | ||
| 6260 | [#Rule 221 | ||
| 6261 | 'signed_int', 1, undef | ||
| 6262 | ], | ||
| 6263 | [#Rule 222 | ||
| 6264 | 'signed_int', 1, undef | ||
| 6265 | ], | ||
| 6266 | [#Rule 223 | ||
| 6267 | 'signed_int', 1, undef | ||
| 6268 | ], | ||
| 6269 | [#Rule 224 | ||
| 6270 | 'signed_short_int', 1, | ||
| 6271 | sub | ||
| 6272 | #line 1326 "ParserXp.yp" | ||
| 6273 | { | ||
| 6274 | new CORBA::IDL::IntegerType($_[0], | ||
| 6275 | 'value' => $_[1] | ||
| 6276 | ); | ||
| 6277 | } | ||
| 6278 | ], | ||
| 6279 | [#Rule 225 | ||
| 6280 | 'signed_long_int', 1, | ||
| 6281 | sub | ||
| 6282 | #line 1336 "ParserXp.yp" | ||
| 6283 | { | ||
| 6284 | new CORBA::IDL::IntegerType($_[0], | ||
| 6285 | 'value' => $_[1] | ||
| 6286 | ); | ||
| 6287 | } | ||
| 6288 | ], | ||
| 6289 | [#Rule 226 | ||
| 6290 | 'signed_longlong_int', 2, | ||
| 6291 | sub | ||
| 6292 | #line 1346 "ParserXp.yp" | ||
| 6293 | { | ||
| 6294 | new CORBA::IDL::IntegerType($_[0], | ||
| 6295 | 'value' => $_[1] . q{ } . $_[2] | ||
| 6296 | ); | ||
| 6297 | } | ||
| 6298 | ], | ||
| 6299 | [#Rule 227 | ||
| 6300 | 'unsigned_int', 1, undef | ||
| 6301 | ], | ||
| 6302 | [#Rule 228 | ||
| 6303 | 'unsigned_int', 1, undef | ||
| 6304 | ], | ||
| 6305 | [#Rule 229 | ||
| 6306 | 'unsigned_int', 1, undef | ||
| 6307 | ], | ||
| 6308 | [#Rule 230 | ||
| 6309 | 'unsigned_short_int', 2, | ||
| 6310 | sub | ||
| 6311 | #line 1366 "ParserXp.yp" | ||
| 6312 | { | ||
| 6313 | new CORBA::IDL::IntegerType($_[0], | ||
| 6314 | 'value' => $_[1] . q{ } . $_[2] | ||
| 6315 | ); | ||
| 6316 | } | ||
| 6317 | ], | ||
| 6318 | [#Rule 231 | ||
| 6319 | 'unsigned_long_int', 2, | ||
| 6320 | sub | ||
| 6321 | #line 1376 "ParserXp.yp" | ||
| 6322 | { | ||
| 6323 | new CORBA::IDL::IntegerType($_[0], | ||
| 6324 | 'value' => $_[1] . q{ } . $_[2] | ||
| 6325 | ); | ||
| 6326 | } | ||
| 6327 | ], | ||
| 6328 | [#Rule 232 | ||
| 6329 | 'unsigned_longlong_int', 3, | ||
| 6330 | sub | ||
| 6331 | #line 1386 "ParserXp.yp" | ||
| 6332 | { | ||
| 6333 | new CORBA::IDL::IntegerType($_[0], | ||
| 6334 | 'value' => $_[1] . q{ } . $_[2] . q{ } . $_[3] | ||
| 6335 | ); | ||
| 6336 | } | ||
| 6337 | ], | ||
| 6338 | [#Rule 233 | ||
| 6339 | 'char_type', 1, | ||
| 6340 | sub | ||
| 6341 | #line 1396 "ParserXp.yp" | ||
| 6342 | { | ||
| 6343 | new CORBA::IDL::CharType($_[0], | ||
| 6344 | 'value' => $_[1] | ||
| 6345 | ); | ||
| 6346 | } | ||
| 6347 | ], | ||
| 6348 | [#Rule 234 | ||
| 6349 | 'wide_char_type', 1, | ||
| 6350 | sub | ||
| 6351 | #line 1406 "ParserXp.yp" | ||
| 6352 | { | ||
| 6353 | new CORBA::IDL::WideCharType($_[0], | ||
| 6354 | 'value' => $_[1] | ||
| 6355 | ); | ||
| 6356 | } | ||
| 6357 | ], | ||
| 6358 | [#Rule 235 | ||
| 6359 | 'boolean_type', 1, | ||
| 6360 | sub | ||
| 6361 | #line 1416 "ParserXp.yp" | ||
| 6362 | { | ||
| 6363 | new CORBA::IDL::BooleanType($_[0], | ||
| 6364 | 'value' => $_[1] | ||
| 6365 | ); | ||
| 6366 | } | ||
| 6367 | ], | ||
| 6368 | [#Rule 236 | ||
| 6369 | 'octet_type', 1, | ||
| 6370 | sub | ||
| 6371 | #line 1426 "ParserXp.yp" | ||
| 6372 | { | ||
| 6373 | new CORBA::IDL::OctetType($_[0], | ||
| 6374 | 'value' => $_[1] | ||
| 6375 | ); | ||
| 6376 | } | ||
| 6377 | ], | ||
| 6378 | [#Rule 237 | ||
| 6379 | 'any_type', 1, | ||
| 6380 | sub | ||
| 6381 | #line 1436 "ParserXp.yp" | ||
| 6382 | { | ||
| 6383 | new CORBA::IDL::AnyType($_[0], | ||
| 6384 | 'value' => $_[1] | ||
| 6385 | ); | ||
| 6386 | } | ||
| 6387 | ], | ||
| 6388 | [#Rule 238 | ||
| 6389 | 'object_type', 1, | ||
| 6390 | sub | ||
| 6391 | #line 1446 "ParserXp.yp" | ||
| 6392 | { | ||
| 6393 | new CORBA::IDL::ObjectType($_[0], | ||
| 6394 | 'value' => $_[1] | ||
| 6395 | ); | ||
| 6396 | } | ||
| 6397 | ], | ||
| 6398 | [#Rule 239 | ||
| 6399 | 'struct_type', 4, | ||
| 6400 | sub | ||
| 6401 | #line 1456 "ParserXp.yp" | ||
| 6402 | { | ||
| 6403 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 6404 | $_[1]->Configure($_[0], | ||
| 6405 | 'list_expr' => $_[3] | ||
| 6406 | ) if (defined $_[1]); | ||
| 6407 | } | ||
| 6408 | ], | ||
| 6409 | [#Rule 240 | ||
| 6410 | 'struct_type', 4, | ||
| 6411 | sub | ||
| 6412 | #line 1463 "ParserXp.yp" | ||
| 6413 | { | ||
| 6414 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 6415 | $_[0]->Error("member expected.\n"); | ||
| 6416 | $_[0]->YYErrok(); | ||
| 6417 | $_[1]; | ||
| 6418 | } | ||
| 6419 | ], | ||
| 6420 | [#Rule 241 | ||
| 6421 | 'struct_header', 3, | ||
| 6422 | sub | ||
| 6423 | #line 1473 "ParserXp.yp" | ||
| 6424 | { | ||
| 6425 | new CORBA::IDL::StructType($_[0], | ||
| 6426 | 'props' => $_[1], | ||
| 6427 | 'idf' => $_[3] | ||
| 6428 | ); | ||
| 6429 | } | ||
| 6430 | ], | ||
| 6431 | [#Rule 242 | ||
| 6432 | 'struct_header', 3, | ||
| 6433 | sub | ||
| 6434 | #line 1480 "ParserXp.yp" | ||
| 6435 | { | ||
| 6436 | $_[0]->Error("Identifier expected.\n"); | ||
| 6437 | $_[0]->YYErrok(); | ||
| 6438 | } | ||
| 6439 | ], | ||
| 6440 | [#Rule 243 | ||
| 6441 | 'member_list', 1, | ||
| 6442 | sub | ||
| 6443 | #line 1489 "ParserXp.yp" | ||
| 6444 | { | ||
| 6445 | [$_[1]]; | ||
| 6446 | } | ||
| 6447 | ], | ||
| 6448 | [#Rule 244 | ||
| 6449 | 'member_list', 2, | ||
| 6450 | sub | ||
| 6451 | #line 1493 "ParserXp.yp" | ||
| 6452 | { | ||
| 6453 | unshift @{$_[2]}, $_[1]; | ||
| 6454 | $_[2]; | ||
| 6455 | } | ||
| 6456 | ], | ||
| 6457 | [#Rule 245 | ||
| 6458 | 'member', 4, | ||
| 6459 | sub | ||
| 6460 | #line 1502 "ParserXp.yp" | ||
| 6461 | { | ||
| 6462 | new CORBA::IDL::Members($_[0], | ||
| 6463 | 'props' => $_[1], | ||
| 6464 | 'type' => $_[2], | ||
| 6465 | 'list_expr' => $_[3] | ||
| 6466 | ); | ||
| 6467 | } | ||
| 6468 | ], | ||
| 6469 | [#Rule 246 | ||
| 6470 | 'member', 3, | ||
| 6471 | sub | ||
| 6472 | #line 1510 "ParserXp.yp" | ||
| 6473 | { | ||
| 6474 | new CORBA::IDL::Members($_[0], | ||
| 6475 | 'type' => $_[1], | ||
| 6476 | 'list_expr' => $_[2] | ||
| 6477 | ); | ||
| 6478 | } | ||
| 6479 | ], | ||
| 6480 | [#Rule 247 | ||
| 6481 | 'union_type', 8, | ||
| 6482 | sub | ||
| 6483 | #line 1521 "ParserXp.yp" | ||
| 6484 | { | ||
| 6485 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 6486 | $_[1]->Configure($_[0], | ||
| 6487 | 'type' => $_[4], | ||
| 6488 | 'list_expr' => $_[7] | ||
| 6489 | ) if (defined $_[1]); | ||
| 6490 | } | ||
| 6491 | ], | ||
| 6492 | [#Rule 248 | ||
| 6493 | 'union_type', 8, | ||
| 6494 | sub | ||
| 6495 | #line 1529 "ParserXp.yp" | ||
| 6496 | { | ||
| 6497 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 6498 | $_[0]->Error("switch_body expected.\n"); | ||
| 6499 | $_[0]->YYErrok(); | ||
| 6500 | $_[1]; | ||
| 6501 | } | ||
| 6502 | ], | ||
| 6503 | [#Rule 249 | ||
| 6504 | 'union_type', 6, | ||
| 6505 | sub | ||
| 6506 | #line 1536 "ParserXp.yp" | ||
| 6507 | { | ||
| 6508 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 6509 | $_[0]->Error("'\x7b' expected.\n"); | ||
| 6510 | $_[0]->YYErrok(); | ||
| 6511 | $_[1]; | ||
| 6512 | } | ||
| 6513 | ], | ||
| 6514 | [#Rule 250 | ||
| 6515 | 'union_type', 5, | ||
| 6516 | sub | ||
| 6517 | #line 1543 "ParserXp.yp" | ||
| 6518 | { | ||
| 6519 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 6520 | $_[0]->Error("switch_type_spec expected.\n"); | ||
| 6521 | $_[0]->YYErrok(); | ||
| 6522 | $_[1]; | ||
| 6523 | } | ||
| 6524 | ], | ||
| 6525 | [#Rule 251 | ||
| 6526 | 'union_type', 3, | ||
| 6527 | sub | ||
| 6528 | #line 1550 "ParserXp.yp" | ||
| 6529 | { | ||
| 6530 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 6531 | $_[0]->Error("'(' expected.\n"); | ||
| 6532 | $_[0]->YYErrok(); | ||
| 6533 | $_[1]; | ||
| 6534 | } | ||
| 6535 | ], | ||
| 6536 | [#Rule 252 | ||
| 6537 | 'union_header', 3, | ||
| 6538 | sub | ||
| 6539 | #line 1560 "ParserXp.yp" | ||
| 6540 | { | ||
| 6541 | new CORBA::IDL::UnionType($_[0], | ||
| 6542 | 'props' => $_[1], | ||
| 6543 | 'idf' => $_[3], | ||
| 6544 | ); | ||
| 6545 | } | ||
| 6546 | ], | ||
| 6547 | [#Rule 253 | ||
| 6548 | 'union_header', 3, | ||
| 6549 | sub | ||
| 6550 | #line 1567 "ParserXp.yp" | ||
| 6551 | { | ||
| 6552 | $_[0]->Error("Identifier expected.\n"); | ||
| 6553 | $_[0]->YYErrok(); | ||
| 6554 | } | ||
| 6555 | ], | ||
| 6556 | [#Rule 254 | ||
| 6557 | 'switch_type_spec', 1, undef | ||
| 6558 | ], | ||
| 6559 | [#Rule 255 | ||
| 6560 | 'switch_type_spec', 1, undef | ||
| 6561 | ], | ||
| 6562 | [#Rule 256 | ||
| 6563 | 'switch_type_spec', 1, undef | ||
| 6564 | ], | ||
| 6565 | [#Rule 257 | ||
| 6566 | 'switch_type_spec', 1, undef | ||
| 6567 | ], | ||
| 6568 | [#Rule 258 | ||
| 6569 | 'switch_type_spec', 1, | ||
| 6570 | sub | ||
| 6571 | #line 1584 "ParserXp.yp" | ||
| 6572 | { | ||
| 6573 | CORBA::IDL::TypeDeclarator->Lookup($_[0], $_[1]); | ||
| 6574 | } | ||
| 6575 | ], | ||
| 6576 | [#Rule 259 | ||
| 6577 | 'switch_body', 1, | ||
| 6578 | sub | ||
| 6579 | #line 1592 "ParserXp.yp" | ||
| 6580 | { | ||
| 6581 | [$_[1]]; | ||
| 6582 | } | ||
| 6583 | ], | ||
| 6584 | [#Rule 260 | ||
| 6585 | 'switch_body', 2, | ||
| 6586 | sub | ||
| 6587 | #line 1596 "ParserXp.yp" | ||
| 6588 | { | ||
| 6589 | unshift @{$_[2]}, $_[1]; | ||
| 6590 | $_[2]; | ||
| 6591 | } | ||
| 6592 | ], | ||
| 6593 | [#Rule 261 | ||
| 6594 | 'case', 3, | ||
| 6595 | sub | ||
| 6596 | #line 1605 "ParserXp.yp" | ||
| 6597 | { | ||
| 6598 | new CORBA::IDL::Case($_[0], | ||
| 6599 | 'list_label' => $_[1], | ||
| 6600 | 'element' => $_[2] | ||
| 6601 | ); | ||
| 6602 | } | ||
| 6603 | ], | ||
| 6604 | [#Rule 262 | ||
| 6605 | 'case_labels', 1, | ||
| 6606 | sub | ||
| 6607 | #line 1615 "ParserXp.yp" | ||
| 6608 | { | ||
| 6609 | [$_[1]]; | ||
| 6610 | } | ||
| 6611 | ], | ||
| 6612 | [#Rule 263 | ||
| 6613 | 'case_labels', 2, | ||
| 6614 | sub | ||
| 6615 | #line 1619 "ParserXp.yp" | ||
| 6616 | { | ||
| 6617 | unshift @{$_[2]}, $_[1]; | ||
| 6618 | $_[2]; | ||
| 6619 | } | ||
| 6620 | ], | ||
| 6621 | [#Rule 264 | ||
| 6622 | 'case_label', 3, | ||
| 6623 | sub | ||
| 6624 | #line 1628 "ParserXp.yp" | ||
| 6625 | { | ||
| 6626 | $_[2]; # here only a expression, type is not known | ||
| 6627 | } | ||
| 6628 | ], | ||
| 6629 | [#Rule 265 | ||
| 6630 | 'case_label', 3, | ||
| 6631 | sub | ||
| 6632 | #line 1632 "ParserXp.yp" | ||
| 6633 | { | ||
| 6634 | $_[0]->Error("':' expected.\n"); | ||
| 6635 | $_[0]->YYErrok(); | ||
| 6636 | $_[2]; | ||
| 6637 | } | ||
| 6638 | ], | ||
| 6639 | [#Rule 266 | ||
| 6640 | 'case_label', 2, | ||
| 6641 | sub | ||
| 6642 | #line 1638 "ParserXp.yp" | ||
| 6643 | { | ||
| 6644 | $_[0]->Error("Expression expected.\n"); | ||
| 6645 | $_[0]->YYErrok(); | ||
| 6646 | } | ||
| 6647 | ], | ||
| 6648 | [#Rule 267 | ||
| 6649 | 'case_label', 2, | ||
| 6650 | sub | ||
| 6651 | #line 1643 "ParserXp.yp" | ||
| 6652 | { | ||
| 6653 | new CORBA::IDL::Default($_[0]); | ||
| 6654 | } | ||
| 6655 | ], | ||
| 6656 | [#Rule 268 | ||
| 6657 | 'case_label', 2, | ||
| 6658 | sub | ||
| 6659 | #line 1647 "ParserXp.yp" | ||
| 6660 | { | ||
| 6661 | $_[0]->Error("':' expected.\n"); | ||
| 6662 | $_[0]->YYErrok(); | ||
| 6663 | new CORBA::IDL::Default($_[0]); | ||
| 6664 | } | ||
| 6665 | ], | ||
| 6666 | [#Rule 269 | ||
| 6667 | 'element_spec', 3, | ||
| 6668 | sub | ||
| 6669 | #line 1657 "ParserXp.yp" | ||
| 6670 | { | ||
| 6671 | new CORBA::IDL::Element($_[0], | ||
| 6672 | 'props' => $_[1], | ||
| 6673 | 'type' => $_[2], | ||
| 6674 | 'list_expr' => $_[3] | ||
| 6675 | ); | ||
| 6676 | } | ||
| 6677 | ], | ||
| 6678 | [#Rule 270 | ||
| 6679 | 'element_spec', 2, | ||
| 6680 | sub | ||
| 6681 | #line 1665 "ParserXp.yp" | ||
| 6682 | { | ||
| 6683 | new CORBA::IDL::Element($_[0], | ||
| 6684 | 'type' => $_[1], | ||
| 6685 | 'list_expr' => $_[2] | ||
| 6686 | ); | ||
| 6687 | } | ||
| 6688 | ], | ||
| 6689 | [#Rule 271 | ||
| 6690 | 'enum_type', 4, | ||
| 6691 | sub | ||
| 6692 | #line 1676 "ParserXp.yp" | ||
| 6693 | { | ||
| 6694 | $_[1]->Configure($_[0], | ||
| 6695 | 'list_expr' => $_[3] | ||
| 6696 | ) if (defined $_[1]); | ||
| 6697 | } | ||
| 6698 | ], | ||
| 6699 | [#Rule 272 | ||
| 6700 | 'enum_type', 4, | ||
| 6701 | sub | ||
| 6702 | #line 1682 "ParserXp.yp" | ||
| 6703 | { | ||
| 6704 | $_[0]->Error("enumerator expected.\n"); | ||
| 6705 | $_[0]->YYErrok(); | ||
| 6706 | $_[1]; | ||
| 6707 | } | ||
| 6708 | ], | ||
| 6709 | [#Rule 273 | ||
| 6710 | 'enum_type', 2, | ||
| 6711 | sub | ||
| 6712 | #line 1688 "ParserXp.yp" | ||
| 6713 | { | ||
| 6714 | $_[0]->Error("'\x7b' expected.\n"); | ||
| 6715 | $_[0]->YYErrok(); | ||
| 6716 | $_[1]; | ||
| 6717 | } | ||
| 6718 | ], | ||
| 6719 | [#Rule 274 | ||
| 6720 | 'enum_header', 3, | ||
| 6721 | sub | ||
| 6722 | #line 1697 "ParserXp.yp" | ||
| 6723 | { | ||
| 6724 | new CORBA::IDL::EnumType($_[0], | ||
| 6725 | 'props' => $_[1], | ||
| 6726 | 'idf' => $_[3], | ||
| 6727 | ); | ||
| 6728 | } | ||
| 6729 | ], | ||
| 6730 | [#Rule 275 | ||
| 6731 | 'enum_header', 3, | ||
| 6732 | sub | ||
| 6733 | #line 1704 "ParserXp.yp" | ||
| 6734 | { | ||
| 6735 | $_[0]->Error("Identifier expected.\n"); | ||
| 6736 | $_[0]->YYErrok(); | ||
| 6737 | } | ||
| 6738 | ], | ||
| 6739 | [#Rule 276 | ||
| 6740 | 'enumerators', 1, | ||
| 6741 | sub | ||
| 6742 | #line 1712 "ParserXp.yp" | ||
| 6743 | { | ||
| 6744 | [$_[1]]; | ||
| 6745 | } | ||
| 6746 | ], | ||
| 6747 | [#Rule 277 | ||
| 6748 | 'enumerators', 3, | ||
| 6749 | sub | ||
| 6750 | #line 1716 "ParserXp.yp" | ||
| 6751 | { | ||
| 6752 | unshift @{$_[3]}, $_[1]; | ||
| 6753 | $_[3]; | ||
| 6754 | } | ||
| 6755 | ], | ||
| 6756 | [#Rule 278 | ||
| 6757 | 'enumerators', 2, | ||
| 6758 | sub | ||
| 6759 | #line 1721 "ParserXp.yp" | ||
| 6760 | { | ||
| 6761 | $_[0]->Warning("',' unexpected.\n"); | ||
| 6762 | [$_[1]]; | ||
| 6763 | } | ||
| 6764 | ], | ||
| 6765 | [#Rule 279 | ||
| 6766 | 'enumerators', 2, | ||
| 6767 | sub | ||
| 6768 | #line 1726 "ParserXp.yp" | ||
| 6769 | { | ||
| 6770 | $_[0]->Error("';' unexpected.\n"); | ||
| 6771 | [$_[1]]; | ||
| 6772 | } | ||
| 6773 | ], | ||
| 6774 | [#Rule 280 | ||
| 6775 | 'enumerator', 1, | ||
| 6776 | sub | ||
| 6777 | #line 1735 "ParserXp.yp" | ||
| 6778 | { | ||
| 6779 | new CORBA::IDL::Enum($_[0], | ||
| 6780 | 'idf' => $_[1] | ||
| 6781 | ); | ||
| 6782 | } | ||
| 6783 | ], | ||
| 6784 | [#Rule 281 | ||
| 6785 | 'sequence_type', 6, | ||
| 6786 | sub | ||
| 6787 | #line 1745 "ParserXp.yp" | ||
| 6788 | { | ||
| 6789 | new CORBA::IDL::SequenceType($_[0], | ||
| 6790 | 'value' => $_[1], | ||
| 6791 | 'type' => $_[3], | ||
| 6792 | 'max' => $_[5] | ||
| 6793 | ); | ||
| 6794 | } | ||
| 6795 | ], | ||
| 6796 | [#Rule 282 | ||
| 6797 | 'sequence_type', 6, | ||
| 6798 | sub | ||
| 6799 | #line 1753 "ParserXp.yp" | ||
| 6800 | { | ||
| 6801 | $_[0]->Error("Expression expected.\n"); | ||
| 6802 | $_[0]->YYErrok(); | ||
| 6803 | } | ||
| 6804 | ], | ||
| 6805 | [#Rule 283 | ||
| 6806 | 'sequence_type', 4, | ||
| 6807 | sub | ||
| 6808 | #line 1758 "ParserXp.yp" | ||
| 6809 | { | ||
| 6810 | new CORBA::IDL::SequenceType($_[0], | ||
| 6811 | 'value' => $_[1], | ||
| 6812 | 'type' => $_[3] | ||
| 6813 | ); | ||
| 6814 | } | ||
| 6815 | ], | ||
| 6816 | [#Rule 284 | ||
| 6817 | 'sequence_type', 4, | ||
| 6818 | sub | ||
| 6819 | #line 1765 "ParserXp.yp" | ||
| 6820 | { | ||
| 6821 | $_[0]->Error("simple_type_spec expected.\n"); | ||
| 6822 | $_[0]->YYErrok(); | ||
| 6823 | } | ||
| 6824 | ], | ||
| 6825 | [#Rule 285 | ||
| 6826 | 'sequence_type', 2, | ||
| 6827 | sub | ||
| 6828 | #line 1770 "ParserXp.yp" | ||
| 6829 | { | ||
| 6830 | $_[0]->Error("'<' expected.\n"); | ||
| 6831 | $_[0]->YYErrok(); | ||
| 6832 | } | ||
| 6833 | ], | ||
| 6834 | [#Rule 286 | ||
| 6835 | 'string_type', 4, | ||
| 6836 | sub | ||
| 6837 | #line 1779 "ParserXp.yp" | ||
| 6838 | { | ||
| 6839 | new CORBA::IDL::StringType($_[0], | ||
| 6840 | 'value' => $_[1], | ||
| 6841 | 'max' => $_[3] | ||
| 6842 | ); | ||
| 6843 | } | ||
| 6844 | ], | ||
| 6845 | [#Rule 287 | ||
| 6846 | 'string_type', 1, | ||
| 6847 | sub | ||
| 6848 | #line 1786 "ParserXp.yp" | ||
| 6849 | { | ||
| 6850 | new CORBA::IDL::StringType($_[0], | ||
| 6851 | 'value' => $_[1] | ||
| 6852 | ); | ||
| 6853 | } | ||
| 6854 | ], | ||
| 6855 | [#Rule 288 | ||
| 6856 | 'string_type', 4, | ||
| 6857 | sub | ||
| 6858 | #line 1792 "ParserXp.yp" | ||
| 6859 | { | ||
| 6860 | $_[0]->Error("Expression expected.\n"); | ||
| 6861 | $_[0]->YYErrok(); | ||
| 6862 | } | ||
| 6863 | ], | ||
| 6864 | [#Rule 289 | ||
| 6865 | 'wide_string_type', 4, | ||
| 6866 | sub | ||
| 6867 | #line 1801 "ParserXp.yp" | ||
| 6868 | { | ||
| 6869 | new CORBA::IDL::WideStringType($_[0], | ||
| 6870 | 'value' => $_[1], | ||
| 6871 | 'max' => $_[3] | ||
| 6872 | ); | ||
| 6873 | } | ||
| 6874 | ], | ||
| 6875 | [#Rule 290 | ||
| 6876 | 'wide_string_type', 1, | ||
| 6877 | sub | ||
| 6878 | #line 1808 "ParserXp.yp" | ||
| 6879 | { | ||
| 6880 | new CORBA::IDL::WideStringType($_[0], | ||
| 6881 | 'value' => $_[1] | ||
| 6882 | ); | ||
| 6883 | } | ||
| 6884 | ], | ||
| 6885 | [#Rule 291 | ||
| 6886 | 'wide_string_type', 4, | ||
| 6887 | sub | ||
| 6888 | #line 1814 "ParserXp.yp" | ||
| 6889 | { | ||
| 6890 | $_[0]->Error("Expression expected.\n"); | ||
| 6891 | $_[0]->YYErrok(); | ||
| 6892 | } | ||
| 6893 | ], | ||
| 6894 | [#Rule 292 | ||
| 6895 | 'array_declarator', 2, | ||
| 6896 | sub | ||
| 6897 | #line 1823 "ParserXp.yp" | ||
| 6898 | { | ||
| 6899 | unshift @{$_[2]}, $_[1]; | ||
| 6900 | $_[2]; | ||
| 6901 | } | ||
| 6902 | ], | ||
| 6903 | [#Rule 293 | ||
| 6904 | 'fixed_array_sizes', 1, | ||
| 6905 | sub | ||
| 6906 | #line 1831 "ParserXp.yp" | ||
| 6907 | { | ||
| 6908 | [$_[1]]; | ||
| 6909 | } | ||
| 6910 | ], | ||
| 6911 | [#Rule 294 | ||
| 6912 | 'fixed_array_sizes', 2, | ||
| 6913 | sub | ||
| 6914 | #line 1835 "ParserXp.yp" | ||
| 6915 | { | ||
| 6916 | unshift @{$_[2]}, $_[1]; | ||
| 6917 | $_[2]; | ||
| 6918 | } | ||
| 6919 | ], | ||
| 6920 | [#Rule 295 | ||
| 6921 | 'fixed_array_size', 3, | ||
| 6922 | sub | ||
| 6923 | #line 1844 "ParserXp.yp" | ||
| 6924 | { | ||
| 6925 | $_[2]; | ||
| 6926 | } | ||
| 6927 | ], | ||
| 6928 | [#Rule 296 | ||
| 6929 | 'fixed_array_size', 3, | ||
| 6930 | sub | ||
| 6931 | #line 1848 "ParserXp.yp" | ||
| 6932 | { | ||
| 6933 | $_[0]->Error("Expression expected.\n"); | ||
| 6934 | $_[0]->YYErrok(); | ||
| 6935 | } | ||
| 6936 | ], | ||
| 6937 | [#Rule 297 | ||
| 6938 | 'attr_dcl', 1, undef | ||
| 6939 | ], | ||
| 6940 | [#Rule 298 | ||
| 6941 | 'attr_dcl', 1, undef | ||
| 6942 | ], | ||
| 6943 | [#Rule 299 | ||
| 6944 | 'except_dcl', 3, | ||
| 6945 | sub | ||
| 6946 | #line 1865 "ParserXp.yp" | ||
| 6947 | { | ||
| 6948 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 6949 | $_[1]; | ||
| 6950 | } | ||
| 6951 | ], | ||
| 6952 | [#Rule 300 | ||
| 6953 | 'except_dcl', 4, | ||
| 6954 | sub | ||
| 6955 | #line 1870 "ParserXp.yp" | ||
| 6956 | { | ||
| 6957 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 6958 | $_[1]->Configure($_[0], | ||
| 6959 | 'list_expr' => $_[3] | ||
| 6960 | ) if (defined $_[1]); | ||
| 6961 | } | ||
| 6962 | ], | ||
| 6963 | [#Rule 301 | ||
| 6964 | 'except_dcl', 4, | ||
| 6965 | sub | ||
| 6966 | #line 1877 "ParserXp.yp" | ||
| 6967 | { | ||
| 6968 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 6969 | $_[0]->Error("'members expected.\n"); | ||
| 6970 | $_[0]->YYErrok(); | ||
| 6971 | $_[1]; | ||
| 6972 | } | ||
| 6973 | ], | ||
| 6974 | [#Rule 302 | ||
| 6975 | 'except_dcl', 2, | ||
| 6976 | sub | ||
| 6977 | #line 1884 "ParserXp.yp" | ||
| 6978 | { | ||
| 6979 | $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]); | ||
| 6980 | $_[0]->Error("'\x7b' expected.\n"); | ||
| 6981 | $_[0]->YYErrok(); | ||
| 6982 | $_[1]; | ||
| 6983 | } | ||
| 6984 | ], | ||
| 6985 | [#Rule 303 | ||
| 6986 | 'exception_header', 3, | ||
| 6987 | sub | ||
| 6988 | #line 1894 "ParserXp.yp" | ||
| 6989 | { | ||
| 6990 | new CORBA::IDL::Exception($_[0], | ||
| 6991 | 'declspec' => $_[1], | ||
| 6992 | 'idf' => $_[3], | ||
| 6993 | ); | ||
| 6994 | } | ||
| 6995 | ], | ||
| 6996 | [#Rule 304 | ||
| 6997 | 'exception_header', 3, | ||
| 6998 | sub | ||
| 6999 | #line 1901 "ParserXp.yp" | ||
| 7000 | { | ||
| 7001 | $_[0]->Error("Identifier expected.\n"); | ||
| 7002 | $_[0]->YYErrok(); | ||
| 7003 | } | ||
| 7004 | ], | ||
| 7005 | [#Rule 305 | ||
| 7006 | 'op_dcl', 4, | ||
| 7007 | sub | ||
| 7008 | #line 1910 "ParserXp.yp" | ||
| 7009 | { | ||
| 7010 | delete $_[0]->YYData->{unnamed_symbtab} | ||
| 7011 | if (exists $_[0]->YYData->{unnamed_symbtab}); | ||
| 7012 | $_[1]->Configure($_[0], | ||
| 7013 | 'list_param' => $_[2], | ||
| 7014 | 'list_raise' => $_[3], | ||
| 7015 | 'list_context' => $_[4] | ||
| 7016 | ) if (defined $_[1]); | ||
| 7017 | } | ||
| 7018 | ], | ||
| 7019 | [#Rule 306 | ||
| 7020 | 'op_dcl', 2, | ||
| 7021 | sub | ||
| 7022 | #line 1920 "ParserXp.yp" | ||
| 7023 | { | ||
| 7024 | delete $_[0]->YYData->{unnamed_symbtab} | ||
| 7025 | if (exists $_[0]->YYData->{unnamed_symbtab}); | ||
| 7026 | $_[0]->Error("parameters declaration expected.\n"); | ||
| 7027 | $_[0]->YYErrok(); | ||
| 7028 | $_[1]; | ||
| 7029 | } | ||
| 7030 | ], | ||
| 7031 | [#Rule 307 | ||
| 7032 | 'op_header', 5, | ||
| 7033 | sub | ||
| 7034 | #line 1931 "ParserXp.yp" | ||
| 7035 | { | ||
| 7036 | new CORBA::IDL::Operation($_[0], | ||
| 7037 | 'declspec' => $_[1], | ||
| 7038 | 'props' => $_[2], | ||
| 7039 | 'modifier' => $_[3], | ||
| 7040 | 'type' => $_[4], | ||
| 7041 | 'idf' => $_[5] | ||
| 7042 | ); | ||
| 7043 | } | ||
| 7044 | ], | ||
| 7045 | [#Rule 308 | ||
| 7046 | 'op_header', 5, | ||
| 7047 | sub | ||
| 7048 | #line 1941 "ParserXp.yp" | ||
| 7049 | { | ||
| 7050 | $_[0]->Error("Identifier expected.\n"); | ||
| 7051 | $_[0]->YYErrok(); | ||
| 7052 | } | ||
| 7053 | ], | ||
| 7054 | [#Rule 309 | ||
| 7055 | 'op_mod', 1, undef | ||
| 7056 | ], | ||
| 7057 | [#Rule 310 | ||
| 7058 | 'op_mod', 0, undef | ||
| 7059 | ], | ||
| 7060 | [#Rule 311 | ||
| 7061 | 'op_attribute', 1, undef | ||
| 7062 | ], | ||
| 7063 | [#Rule 312 | ||
| 7064 | 'op_type_spec', 1, undef | ||
| 7065 | ], | ||
| 7066 | [#Rule 313 | ||
| 7067 | 'op_type_spec', 1, | ||
| 7068 | sub | ||
| 7069 | #line 1965 "ParserXp.yp" | ||
| 7070 | { | ||
| 7071 | new CORBA::IDL::VoidType($_[0], | ||
| 7072 | 'value' => $_[1] | ||
| 7073 | ); | ||
| 7074 | } | ||
| 7075 | ], | ||
| 7076 | [#Rule 314 | ||
| 7077 | 'op_type_spec', 1, | ||
| 7078 | sub | ||
| 7079 | #line 1971 "ParserXp.yp" | ||
| 7080 | { | ||
| 7081 | $_[0]->Error("op_type_spec expected.\n"); | ||
| 7082 | $_[1]; #default action | ||
| 7083 | } | ||
| 7084 | ], | ||
| 7085 | [#Rule 315 | ||
| 7086 | 'op_type_spec', 1, | ||
| 7087 | sub | ||
| 7088 | #line 1976 "ParserXp.yp" | ||
| 7089 | { | ||
| 7090 | $_[0]->Error("op_type_spec expected.\n"); | ||
| 7091 | $_[1]; #default action | ||
| 7092 | } | ||
| 7093 | ], | ||
| 7094 | [#Rule 316 | ||
| 7095 | 'parameter_dcls', 3, | ||
| 7096 | sub | ||
| 7097 | #line 1985 "ParserXp.yp" | ||
| 7098 | { | ||
| 7099 | $_[2]; | ||
| 7100 | } | ||
| 7101 | ], | ||
| 7102 | [#Rule 317 | ||
| 7103 | 'parameter_dcls', 5, | ||
| 7104 | sub | ||
| 7105 | #line 1989 "ParserXp.yp" | ||
| 7106 | { | ||
| 7107 | push @{$_[2]}, new CORBA::IDL::Ellipsis($_[0]); | ||
| 7108 | $_[2]; | ||
| 7109 | } | ||
| 7110 | ], | ||
| 7111 | [#Rule 318 | ||
| 7112 | 'parameter_dcls', 4, | ||
| 7113 | sub | ||
| 7114 | #line 1994 "ParserXp.yp" | ||
| 7115 | { | ||
| 7116 | $_[0]->Warning("',' unexpected.\n"); | ||
| 7117 | $_[2]; | ||
| 7118 | } | ||
| 7119 | ], | ||
| 7120 | [#Rule 319 | ||
| 7121 | 'parameter_dcls', 2, | ||
| 7122 | sub | ||
| 7123 | #line 1999 "ParserXp.yp" | ||
| 7124 | { | ||
| 7125 | undef; | ||
| 7126 | } | ||
| 7127 | ], | ||
| 7128 | [#Rule 320 | ||
| 7129 | 'parameter_dcls', 3, | ||
| 7130 | sub | ||
| 7131 | #line 2003 "ParserXp.yp" | ||
| 7132 | { | ||
| 7133 | $_[0]->Error("'...' unexpected.\n"); | ||
| 7134 | undef; | ||
| 7135 | } | ||
| 7136 | ], | ||
| 7137 | [#Rule 321 | ||
| 7138 | 'parameter_dcls', 3, | ||
| 7139 | sub | ||
| 7140 | #line 2008 "ParserXp.yp" | ||
| 7141 | { | ||
| 7142 | new CORBA::IDL::Ellipsis($_[0]); | ||
| 7143 | } | ||
| 7144 | ], | ||
| 7145 | [#Rule 322 | ||
| 7146 | 'param_dcls', 1, | ||
| 7147 | sub | ||
| 7148 | #line 2015 "ParserXp.yp" | ||
| 7149 | { | ||
| 7150 | [$_[1]]; | ||
| 7151 | } | ||
| 7152 | ], | ||
| 7153 | [#Rule 323 | ||
| 7154 | 'param_dcls', 3, | ||
| 7155 | sub | ||
| 7156 | #line 2019 "ParserXp.yp" | ||
| 7157 | { | ||
| 7158 | push @{$_[1]}, $_[3]; | ||
| 7159 | $_[1]; | ||
| 7160 | } | ||
| 7161 | ], | ||
| 7162 | [#Rule 324 | ||
| 7163 | 'param_dcls', 2, | ||
| 7164 | sub | ||
| 7165 | #line 2024 "ParserXp.yp" | ||
| 7166 | { | ||
| 7167 | $_[0]->Error("';' unexpected.\n"); | ||
| 7168 | [$_[1]]; | ||
| 7169 | } | ||
| 7170 | ], | ||
| 7171 | [#Rule 325 | ||
| 7172 | 'param_dcl', 4, | ||
| 7173 | sub | ||
| 7174 | #line 2033 "ParserXp.yp" | ||
| 7175 | { | ||
| 7176 | new CORBA::IDL::Parameter($_[0], | ||
| 7177 | 'props' => $_[1], | ||
| 7178 | 'attr' => $_[2], | ||
| 7179 | 'type' => $_[3], | ||
| 7180 | 'idf' => $_[4] | ||
| 7181 | ); | ||
| 7182 | } | ||
| 7183 | ], | ||
| 7184 | [#Rule 326 | ||
| 7185 | 'param_attribute', 1, undef | ||
| 7186 | ], | ||
| 7187 | [#Rule 327 | ||
| 7188 | 'param_attribute', 1, undef | ||
| 7189 | ], | ||
| 7190 | [#Rule 328 | ||
| 7191 | 'param_attribute', 1, undef | ||
| 7192 | ], | ||
| 7193 | [#Rule 329 | ||
| 7194 | 'param_attribute', 0, | ||
| 7195 | sub | ||
| 7196 | #line 2052 "ParserXp.yp" | ||
| 7197 | { | ||
| 7198 | $_[0]->Error("(in|out|inout) expected.\n"); | ||
| 7199 | $_[0]->YYErrok(); | ||
| 7200 | } | ||
| 7201 | ], | ||
| 7202 | [#Rule 330 | ||
| 7203 | 'raises_expr', 4, | ||
| 7204 | sub | ||
| 7205 | #line 2061 "ParserXp.yp" | ||
| 7206 | { | ||
| 7207 | $_[3]; | ||
| 7208 | } | ||
| 7209 | ], | ||
| 7210 | [#Rule 331 | ||
| 7211 | 'raises_expr', 4, | ||
| 7212 | sub | ||
| 7213 | #line 2065 "ParserXp.yp" | ||
| 7214 | { | ||
| 7215 | $_[0]->Error("name expected.\n"); | ||
| 7216 | $_[0]->YYErrok(); | ||
| 7217 | } | ||
| 7218 | ], | ||
| 7219 | [#Rule 332 | ||
| 7220 | 'raises_expr', 2, | ||
| 7221 | sub | ||
| 7222 | #line 2070 "ParserXp.yp" | ||
| 7223 | { | ||
| 7224 | $_[0]->Error("'(' expected.\n"); | ||
| 7225 | $_[0]->YYErrok(); | ||
| 7226 | } | ||
| 7227 | ], | ||
| 7228 | [#Rule 333 | ||
| 7229 | 'raises_expr', 0, undef | ||
| 7230 | ], | ||
| 7231 | [#Rule 334 | ||
| 7232 | 'exception_names', 1, | ||
| 7233 | sub | ||
| 7234 | #line 2080 "ParserXp.yp" | ||
| 7235 | { | ||
| 7236 | [$_[1]]; | ||
| 7237 | } | ||
| 7238 | ], | ||
| 7239 | [#Rule 335 | ||
| 7240 | 'exception_names', 3, | ||
| 7241 | sub | ||
| 7242 | #line 2084 "ParserXp.yp" | ||
| 7243 | { | ||
| 7244 | unshift @{$_[3]}, $_[1]; | ||
| 7245 | $_[3]; | ||
| 7246 | } | ||
| 7247 | ], | ||
| 7248 | [#Rule 336 | ||
| 7249 | 'exception_name', 1, | ||
| 7250 | sub | ||
| 7251 | #line 2092 "ParserXp.yp" | ||
| 7252 | { | ||
| 7253 | CORBA::IDL::Interface->Lookup($_[0], $_[1], 1); | ||
| 7254 | } | ||
| 7255 | ], | ||
| 7256 | [#Rule 337 | ||
| 7257 | 'context_expr', 4, | ||
| 7258 | sub | ||
| 7259 | #line 2100 "ParserXp.yp" | ||
| 7260 | { | ||
| 7261 | $_[3]; | ||
| 7262 | } | ||
| 7263 | ], | ||
| 7264 | [#Rule 338 | ||
| 7265 | 'context_expr', 4, | ||
| 7266 | sub | ||
| 7267 | #line 2104 "ParserXp.yp" | ||
| 7268 | { | ||
| 7269 | $_[0]->Error("string expected.\n"); | ||
| 7270 | $_[0]->YYErrok(); | ||
| 7271 | } | ||
| 7272 | ], | ||
| 7273 | [#Rule 339 | ||
| 7274 | 'context_expr', 2, | ||
| 7275 | sub | ||
| 7276 | #line 2109 "ParserXp.yp" | ||
| 7277 | { | ||
| 7278 | $_[0]->Error("'(' expected.\n"); | ||
| 7279 | $_[0]->YYErrok(); | ||
| 7280 | } | ||
| 7281 | ], | ||
| 7282 | [#Rule 340 | ||
| 7283 | 'context_expr', 0, undef | ||
| 7284 | ], | ||
| 7285 | [#Rule 341 | ||
| 7286 | 'string_literals', 1, | ||
| 7287 | sub | ||
| 7288 | #line 2119 "ParserXp.yp" | ||
| 7289 | { | ||
| 7290 | [$_[1]]; | ||
| 7291 | } | ||
| 7292 | ], | ||
| 7293 | [#Rule 342 | ||
| 7294 | 'string_literals', 3, | ||
| 7295 | sub | ||
| 7296 | #line 2123 "ParserXp.yp" | ||
| 7297 | { | ||
| 7298 | unshift @{$_[3]}, $_[1]; | ||
| 7299 | $_[3]; | ||
| 7300 | } | ||
| 7301 | ], | ||
| 7302 | [#Rule 343 | ||
| 7303 | 'param_type_spec', 1, undef | ||
| 7304 | ], | ||
| 7305 | [#Rule 344 | ||
| 7306 | 'param_type_spec', 1, | ||
| 7307 | sub | ||
| 7308 | #line 2134 "ParserXp.yp" | ||
| 7309 | { | ||
| 7310 | $_[0]->Error("param_type_spec expected.\n"); | ||
| 7311 | $_[1]; #default action | ||
| 7312 | } | ||
| 7313 | ], | ||
| 7314 | [#Rule 345 | ||
| 7315 | 'param_type_spec', 1, | ||
| 7316 | sub | ||
| 7317 | #line 2139 "ParserXp.yp" | ||
| 7318 | { | ||
| 7319 | $_[0]->Error("param_type_spec expected.\n"); | ||
| 7320 | $_[1]; #default action | ||
| 7321 | } | ||
| 7322 | ], | ||
| 7323 | [#Rule 346 | ||
| 7324 | 'param_type_spec', 1, | ||
| 7325 | sub | ||
| 7326 | #line 2144 "ParserXp.yp" | ||
| 7327 | { | ||
| 7328 | $_[0]->Error("param_type_spec expected.\n"); | ||
| 7329 | $_[1]; #default action | ||
| 7330 | } | ||
| 7331 | ], | ||
| 7332 | [#Rule 347 | ||
| 7333 | 'op_param_type_spec', 1, undef | ||
| 7334 | ], | ||
| 7335 | [#Rule 348 | ||
| 7336 | 'op_param_type_spec', 1, undef | ||
| 7337 | ], | ||
| 7338 | [#Rule 349 | ||
| 7339 | 'op_param_type_spec', 1, undef | ||
| 7340 | ], | ||
| 7341 | [#Rule 350 | ||
| 7342 | 'op_param_type_spec', 1, | ||
| 7343 | sub | ||
| 7344 | #line 2158 "ParserXp.yp" | ||
| 7345 | { | ||
| 7346 | CORBA::IDL::TypeDeclarator->Lookup($_[0], $_[1]); | ||
| 7347 | } | ||
| 7348 | ], | ||
| 7349 | [#Rule 351 | ||
| 7350 | 'fixed_pt_type', 6, | ||
| 7351 | sub | ||
| 7352 | #line 2166 "ParserXp.yp" | ||
| 7353 | { | ||
| 7354 | new CORBA::IDL::FixedPtType($_[0], | ||
| 7355 | 'value' => $_[1], | ||
| 7356 | 'd' => $_[3], | ||
| 7357 | 's' => $_[5] | ||
| 7358 | ); | ||
| 7359 | } | ||
| 7360 | ], | ||
| 7361 | [#Rule 352 | ||
| 7362 | 'fixed_pt_type', 6, | ||
| 7363 | sub | ||
| 7364 | #line 2174 "ParserXp.yp" | ||
| 7365 | { | ||
| 7366 | $_[0]->Error("Expression expected.\n"); | ||
| 7367 | $_[0]->YYErrok(); | ||
| 7368 | } | ||
| 7369 | ], | ||
| 7370 | [#Rule 353 | ||
| 7371 | 'fixed_pt_type', 4, | ||
| 7372 | sub | ||
| 7373 | #line 2179 "ParserXp.yp" | ||
| 7374 | { | ||
| 7375 | $_[0]->Error("Expression expected.\n"); | ||
| 7376 | $_[0]->YYErrok(); | ||
| 7377 | } | ||
| 7378 | ], | ||
| 7379 | [#Rule 354 | ||
| 7380 | 'fixed_pt_type', 2, | ||
| 7381 | sub | ||
| 7382 | #line 2184 "ParserXp.yp" | ||
| 7383 | { | ||
| 7384 | $_[0]->Error("'<' expected.\n"); | ||
| 7385 | $_[0]->YYErrok(); | ||
| 7386 | } | ||
| 7387 | ], | ||
| 7388 | [#Rule 355 | ||
| 7389 | 'fixed_pt_const_type', 1, | ||
| 7390 | sub | ||
| 7391 | #line 2193 "ParserXp.yp" | ||
| 7392 | { | ||
| 7393 | new CORBA::IDL::FixedPtConstType($_[0], | ||
| 7394 | 'value' => $_[1] | ||
| 7395 | ); | ||
| 7396 | } | ||
| 7397 | ], | ||
| 7398 | [#Rule 356 | ||
| 7399 | 'value_base_type', 1, | ||
| 7400 | sub | ||
| 7401 | #line 2203 "ParserXp.yp" | ||
| 7402 | { | ||
| 7403 | new CORBA::IDL::ValueBaseType($_[0], | ||
| 7404 | 'value' => $_[1] | ||
| 7405 | ); | ||
| 7406 | } | ||
| 7407 | ], | ||
| 7408 | [#Rule 357 | ||
| 7409 | 'constr_forward_decl', 3, | ||
| 7410 | sub | ||
| 7411 | #line 2213 "ParserXp.yp" | ||
| 7412 | { | ||
| 7413 | $_[0]->Warning("Ignoring properties for forward declaration.\n") | ||
| 7414 | if (defined $_[1]); | ||
| 7415 | new CORBA::IDL::ForwardStructType($_[0], | ||
| 7416 | 'idf' => $_[3] | ||
| 7417 | ); | ||
| 7418 | } | ||
| 7419 | ], | ||
| 7420 | [#Rule 358 | ||
| 7421 | 'constr_forward_decl', 3, | ||
| 7422 | sub | ||
| 7423 | #line 2221 "ParserXp.yp" | ||
| 7424 | { | ||
| 7425 | $_[0]->Error("Identifier expected.\n"); | ||
| 7426 | $_[0]->YYErrok(); | ||
| 7427 | } | ||
| 7428 | ], | ||
| 7429 | [#Rule 359 | ||
| 7430 | 'constr_forward_decl', 3, | ||
| 7431 | sub | ||
| 7432 | #line 2226 "ParserXp.yp" | ||
| 7433 | { | ||
| 7434 | $_[0]->Warning("Ignoring properties for forward declaration.\n") | ||
| 7435 | if (defined $_[1]); | ||
| 7436 | new CORBA::IDL::ForwardUnionType($_[0], | ||
| 7437 | 'idf' => $_[3] | ||
| 7438 | ); | ||
| 7439 | } | ||
| 7440 | ], | ||
| 7441 | [#Rule 360 | ||
| 7442 | 'constr_forward_decl', 3, | ||
| 7443 | sub | ||
| 7444 | #line 2234 "ParserXp.yp" | ||
| 7445 | { | ||
| 7446 | $_[0]->Error("Identifier expected.\n"); | ||
| 7447 | $_[0]->YYErrok(); | ||
| 7448 | } | ||
| 7449 | ], | ||
| 7450 | [#Rule 361 | ||
| 7451 | 'import', 3, | ||
| 7452 | sub | ||
| 7453 | #line 2243 "ParserXp.yp" | ||
| 7454 | { | ||
| 7455 | new CORBA::IDL::Import($_[0], | ||
| 7456 | 'value' => $_[2] | ||
| 7457 | ); | ||
| 7458 | } | ||
| 7459 | ], | ||
| 7460 | [#Rule 362 | ||
| 7461 | 'import', 2, | ||
| 7462 | sub | ||
| 7463 | #line 2249 "ParserXp.yp" | ||
| 7464 | { | ||
| 7465 | $_[0]->Error("Scoped name expected.\n"); | ||
| 7466 | $_[0]->YYErrok(); | ||
| 7467 | } | ||
| 7468 | ], | ||
| 7469 | [#Rule 363 | ||
| 7470 | 'imported_scope', 1, undef | ||
| 7471 | ], | ||
| 7472 | [#Rule 364 | ||
| 7473 | 'imported_scope', 1, undef | ||
| 7474 | ], | ||
| 7475 | [#Rule 365 | ||
| 7476 | 'type_id_dcl', 3, | ||
| 7477 | sub | ||
| 7478 | #line 2266 "ParserXp.yp" | ||
| 7479 | { | ||
| 7480 | new CORBA::IDL::TypeId($_[0], | ||
| 7481 | 'idf' => $_[2], | ||
| 7482 | 'value' => $_[3] | ||
| 7483 | ); | ||
| 7484 | } | ||
| 7485 | ], | ||
| 7486 | [#Rule 366 | ||
| 7487 | 'type_id_dcl', 3, | ||
| 7488 | sub | ||
| 7489 | #line 2273 "ParserXp.yp" | ||
| 7490 | { | ||
| 7491 | $_[0]->Error("String literal expected.\n"); | ||
| 7492 | $_[0]->YYErrok(); | ||
| 7493 | } | ||
| 7494 | ], | ||
| 7495 | [#Rule 367 | ||
| 7496 | 'type_id_dcl', 2, | ||
| 7497 | sub | ||
| 7498 | #line 2278 "ParserXp.yp" | ||
| 7499 | { | ||
| 7500 | $_[0]->Error("Scoped name expected.\n"); | ||
| 7501 | $_[0]->YYErrok(); | ||
| 7502 | } | ||
| 7503 | ], | ||
| 7504 | [#Rule 368 | ||
| 7505 | 'type_prefix_dcl', 3, | ||
| 7506 | sub | ||
| 7507 | #line 2287 "ParserXp.yp" | ||
| 7508 | { | ||
| 7509 | new CORBA::IDL::TypePrefix($_[0], | ||
| 7510 | 'idf' => $_[2], | ||
| 7511 | 'value' => $_[3] | ||
| 7512 | ); | ||
| 7513 | } | ||
| 7514 | ], | ||
| 7515 | [#Rule 369 | ||
| 7516 | 'type_prefix_dcl', 3, | ||
| 7517 | sub | ||
| 7518 | #line 2294 "ParserXp.yp" | ||
| 7519 | { | ||
| 7520 | $_[0]->Error("String literal expected.\n"); | ||
| 7521 | $_[0]->YYErrok(); | ||
| 7522 | } | ||
| 7523 | ], | ||
| 7524 | [#Rule 370 | ||
| 7525 | 'type_prefix_dcl', 3, | ||
| 7526 | sub | ||
| 7527 | #line 2299 "ParserXp.yp" | ||
| 7528 | { | ||
| 7529 | new CORBA::IDL::TypePrefix($_[0], | ||
| 7530 | 'idf' => '', | ||
| 7531 | 'value' => $_[3] | ||
| 7532 | ); | ||
| 7533 | } | ||
| 7534 | ], | ||
| 7535 | [#Rule 371 | ||
| 7536 | 'type_prefix_dcl', 2, | ||
| 7537 | sub | ||
| 7538 | #line 2306 "ParserXp.yp" | ||
| 7539 | { | ||
| 7540 | $_[0]->Error("Scoped name expected.\n"); | ||
| 7541 | $_[0]->YYErrok(); | ||
| 7542 | } | ||
| 7543 | ], | ||
| 7544 | [#Rule 372 | ||
| 7545 | 'readonly_attr_spec', 6, | ||
| 7546 | sub | ||
| 7547 | #line 2315 "ParserXp.yp" | ||
| 7548 | { | ||
| 7549 | new CORBA::IDL::Attributes($_[0], | ||
| 7550 | 'declspec' => $_[1], | ||
| 7551 | 'props' => $_[2], | ||
| 7552 | 'modifier' => $_[3], | ||
| 7553 | 'type' => $_[5], | ||
| 7554 | 'list_expr' => $_[6]->{list_expr}, | ||
| 7555 | 'list_getraise' => $_[6]->{list_getraise}, | ||
| 7556 | ); | ||
| 7557 | } | ||
| 7558 | ], | ||
| 7559 | [#Rule 373 | ||
| 7560 | 'readonly_attr_spec', 5, | ||
| 7561 | sub | ||
| 7562 | #line 2326 "ParserXp.yp" | ||
| 7563 | { | ||
| 7564 | $_[0]->Error("type expected.\n"); | ||
| 7565 | $_[0]->YYErrok(); | ||
| 7566 | } | ||
| 7567 | ], | ||
| 7568 | [#Rule 374 | ||
| 7569 | 'readonly_attr_spec', 4, | ||
| 7570 | sub | ||
| 7571 | #line 2331 "ParserXp.yp" | ||
| 7572 | { | ||
| 7573 | $_[0]->Error("'attribute' expected.\n"); | ||
| 7574 | $_[0]->YYErrok(); | ||
| 7575 | } | ||
| 7576 | ], | ||
| 7577 | [#Rule 375 | ||
| 7578 | 'readonly_attr_declarator', 2, | ||
| 7579 | sub | ||
| 7580 | #line 2340 "ParserXp.yp" | ||
| 7581 | { | ||
| 7582 | { | ||
| 7583 | 'list_expr' => [$_[1]], | ||
| 7584 | 'list_getraise' => $_[2] | ||
| 7585 | }; | ||
| 7586 | } | ||
| 7587 | ], | ||
| 7588 | [#Rule 376 | ||
| 7589 | 'readonly_attr_declarator', 3, | ||
| 7590 | sub | ||
| 7591 | #line 2347 "ParserXp.yp" | ||
| 7592 | { | ||
| 7593 | unshift @{$_[3]}, $_[1]; | ||
| 7594 | { | ||
| 7595 | 'list_expr' => $_[3] | ||
| 7596 | }; | ||
| 7597 | } | ||
| 7598 | ], | ||
| 7599 | [#Rule 377 | ||
| 7600 | 'simple_declarators', 1, | ||
| 7601 | sub | ||
| 7602 | #line 2357 "ParserXp.yp" | ||
| 7603 | { | ||
| 7604 | [$_[1]]; | ||
| 7605 | } | ||
| 7606 | ], | ||
| 7607 | [#Rule 378 | ||
| 7608 | 'simple_declarators', 3, | ||
| 7609 | sub | ||
| 7610 | #line 2361 "ParserXp.yp" | ||
| 7611 | { | ||
| 7612 | unshift @{$_[3]}, $_[1]; | ||
| 7613 | $_[3]; | ||
| 7614 | } | ||
| 7615 | ], | ||
| 7616 | [#Rule 379 | ||
| 7617 | 'attr_spec', 5, | ||
| 7618 | sub | ||
| 7619 | #line 2370 "ParserXp.yp" | ||
| 7620 | { | ||
| 7621 | new CORBA::IDL::Attributes($_[0], | ||
| 7622 | 'declspec' => $_[1], | ||
| 7623 | 'props' => $_[2], | ||
| 7624 | 'type' => $_[4], | ||
| 7625 | 'list_expr' => $_[5]->{list_expr}, | ||
| 7626 | 'list_getraise' => $_[5]->{list_getraise}, | ||
| 7627 | 'list_setraise' => $_[5]->{list_setraise}, | ||
| 7628 | ); | ||
| 7629 | } | ||
| 7630 | ], | ||
| 7631 | [#Rule 380 | ||
| 7632 | 'attr_spec', 4, | ||
| 7633 | sub | ||
| 7634 | #line 2381 "ParserXp.yp" | ||
| 7635 | { | ||
| 7636 | $_[0]->Error("type expected.\n"); | ||
| 7637 | $_[0]->YYErrok(); | ||
| 7638 | } | ||
| 7639 | ], | ||
| 7640 | [#Rule 381 | ||
| 7641 | 'attr_declarator', 2, | ||
| 7642 | sub | ||
| 7643 | #line 2390 "ParserXp.yp" | ||
| 7644 | { | ||
| 7645 | { | ||
| 7646 | 'list_expr' => [$_[1]], | ||
| 7647 | 'list_getraise' => $_[2]->{list_getraise}, | ||
| 7648 | 'list_setraise' => $_[2]->{list_setraise} | ||
| 7649 | }; | ||
| 7650 | } | ||
| 7651 | ], | ||
| 7652 | [#Rule 382 | ||
| 7653 | 'attr_declarator', 3, | ||
| 7654 | sub | ||
| 7655 | #line 2398 "ParserXp.yp" | ||
| 7656 | { | ||
| 7657 | unshift @{$_[3]}, $_[1]; | ||
| 7658 | { | ||
| 7659 | 'list_expr' => $_[3] | ||
| 7660 | }; | ||
| 7661 | } | ||
| 7662 | ], | ||
| 7663 | [#Rule 383 | ||
| 7664 | 'attr_raises_expr', 2, | ||
| 7665 | sub | ||
| 7666 | #line 2409 "ParserXp.yp" | ||
| 7667 | { | ||
| 7668 | { | ||
| 7669 | 'list_getraise' => $_[1], | ||
| 7670 | 'list_setraise' => $_[2] | ||
| 7671 | }; | ||
| 7672 | } | ||
| 7673 | ], | ||
| 7674 | [#Rule 384 | ||
| 7675 | 'attr_raises_expr', 1, | ||
| 7676 | sub | ||
| 7677 | #line 2416 "ParserXp.yp" | ||
| 7678 | { | ||
| 7679 | { | ||
| 7680 | 'list_getraise' => $_[1], | ||
| 7681 | }; | ||
| 7682 | } | ||
| 7683 | ], | ||
| 7684 | [#Rule 385 | ||
| 7685 | 'attr_raises_expr', 1, | ||
| 7686 | sub | ||
| 7687 | #line 2422 "ParserXp.yp" | ||
| 7688 | { | ||
| 7689 | { | ||
| 7690 | 'list_setraise' => $_[1] | ||
| 7691 | }; | ||
| 7692 | } | ||
| 7693 | ], | ||
| 7694 | [#Rule 386 | ||
| 7695 | 'attr_raises_expr', 0, undef | ||
| 7696 | ], | ||
| 7697 | [#Rule 387 | ||
| 7698 | 'get_except_expr', 2, | ||
| 7699 | sub | ||
| 7700 | #line 2434 "ParserXp.yp" | ||
| 7701 | { | ||
| 7702 | $_[2]; | ||
| 7703 | } | ||
| 7704 | ], | ||
| 7705 | [#Rule 388 | ||
| 7706 | 'get_except_expr', 2, | ||
| 7707 | sub | ||
| 7708 | #line 2438 "ParserXp.yp" | ||
| 7709 | { | ||
| 7710 | $_[0]->Error("'(' expected.\n"); | ||
| 7711 | $_[0]->YYErrok(); | ||
| 7712 | } | ||
| 7713 | ], | ||
| 7714 | [#Rule 389 | ||
| 7715 | 'set_except_expr', 2, | ||
| 7716 | sub | ||
| 7717 | #line 2447 "ParserXp.yp" | ||
| 7718 | { | ||
| 7719 | $_[2]; | ||
| 7720 | } | ||
| 7721 | ], | ||
| 7722 | [#Rule 390 | ||
| 7723 | 'set_except_expr', 2, | ||
| 7724 | sub | ||
| 7725 | #line 2451 "ParserXp.yp" | ||
| 7726 | { | ||
| 7727 | $_[0]->Error("'(' expected.\n"); | ||
| 7728 | $_[0]->YYErrok(); | ||
| 7729 | } | ||
| 7730 | ], | ||
| 7731 | [#Rule 391 | ||
| 7732 | 'exception_list', 3, | ||
| 7733 | sub | ||
| 7734 | #line 2460 "ParserXp.yp" | ||
| 7735 | { | ||
| 7736 | $_[2]; | ||
| 7737 | } | ||
| 7738 | ], | ||
| 7739 | [#Rule 392 | ||
| 7740 | 'exception_list', 3, | ||
| 7741 | sub | ||
| 7742 | #line 2464 "ParserXp.yp" | ||
| 7743 | { | ||
| 7744 | $_[0]->Error("name expected.\n"); | ||
| 7745 | $_[0]->YYErrok(); | ||
| 7746 | } | ||
| 7747 | ], | ||
| 7748 | [#Rule 393 | ||
| 7749 | 'code_frag', 2, | ||
| 7750 | sub | ||
| 7751 | #line 2474 "ParserXp.yp" | ||
| 7752 | { | ||
| 7753 | new CORBA::IDL::CodeFragment($_[0], | ||
| 7754 | 'declspec' => $_[1], | ||
| 7755 | 'value' => $_[2], | ||
| 7756 | ); | ||
| 7757 | } | ||
| 7758 | ], | ||
| 7759 | [#Rule 394 | ||
| 7760 | 'declspec', 0, undef | ||
| 7761 | ], | ||
| 7762 | [#Rule 395 | ||
| 7763 | 'declspec', 1, undef | ||
| 7764 | ], | ||
| 7765 | [#Rule 396 | ||
| 7766 | 'props', 0, undef | ||
| 7767 | ], | ||
| 7768 | [#Rule 397 | ||
| 7769 | '@2-1', 0, | ||
| 7770 | sub | ||
| 7771 | #line 2493 "ParserXp.yp" | ||
| 7772 | { | ||
| 7773 | $_[0]->YYData->{prop} = 1; | ||
| 7774 | } | ||
| 7775 | ], | ||
| 7776 | [#Rule 398 | ||
| 7777 | 'props', 4, | ||
| 7778 | sub | ||
| 7779 | #line 2497 "ParserXp.yp" | ||
| 7780 | { | ||
| 7781 | $_[0]->YYData->{prop} = 0; | ||
| 7782 | $_[3]; | ||
| 7783 | } | ||
| 7784 | ], | ||
| 7785 | [#Rule 399 | ||
| 7786 | 'prop_list', 2, | ||
| 7787 | sub | ||
| 7788 | #line 2505 "ParserXp.yp" | ||
| 7789 | { | ||
| 7790 | my $hash = {}; | ||
| 7791 | $hash->{$_[1]} = $_[2]; | ||
| 7792 | $hash; | ||
| 7793 | } | ||
| 7794 | ], | ||
| 7795 | [#Rule 400 | ||
| 7796 | 'prop_list', 4, | ||
| 7797 | sub | ||
| 7798 | #line 2511 "ParserXp.yp" | ||
| 7799 | { | ||
| 7800 | $_[1]->{$_[3]} = $_[4]; | ||
| 7801 | $_[1]; | ||
| 7802 | } | ||
| 7803 | ], | ||
| 7804 | [#Rule 401 | ||
| 7805 | 'prop_list', 1, | ||
| 7806 | sub | ||
| 7807 | #line 2516 "ParserXp.yp" | ||
| 7808 | { | ||
| 7809 | my $hash = {}; | ||
| 7810 | $hash->{$_[1]} = undef; | ||
| 7811 | $hash; | ||
| 7812 | } | ||
| 7813 | ], | ||
| 7814 | [#Rule 402 | ||
| 7815 | 'prop_list', 3, | ||
| 7816 | sub | ||
| 7817 | #line 2522 "ParserXp.yp" | ||
| 7818 | { | ||
| 7819 | $_[1]->{$_[3]} = undef; | ||
| 7820 | $_[1]; | ||
| 7821 | } | ||
| 7822 | ] | ||
| 7823 | ], | ||
| 7824 | @_); | ||
| 7825 | bless($self,$class); | ||
| 7826 | } | ||
| 7827 | |||
| 7828 | #line 2528 "ParserXp.yp" | ||
| 7829 | |||
| 7830 | |||
| 7831 | use warnings; | ||
| 7832 | |||
| 7833 | our $VERSION = '2.61'; | ||
| 7834 | our $IDL_VERSION = '3.0'; | ||
| 7835 | |||
| 7836 | sub BuildUnop | ||
| 7837 | { | ||
| 7838 | my ($op, $expr) = @_; | ||
| 7839 | |||
| 7840 | my $node = new CORBA::IDL::UnaryOp($_[0], | ||
| 7841 | 'op' => $op | ||
| 7842 | ); | ||
| 7843 | push @$expr, $node; | ||
| 7844 | return $expr; | ||
| 7845 | } | ||
| 7846 | |||
| 7847 | sub BuildBinop | ||
| 7848 | { | ||
| 7849 | my ($left, $op, $right) = @_; | ||
| 7850 | |||
| 7851 | my $node = new CORBA::IDL::BinaryOp($_[0], | ||
| 7852 | 'op' => $op | ||
| 7853 | ); | ||
| 7854 | push @$left, @$right; | ||
| 7855 | push @$left, $node; | ||
| 7856 | return $left; | ||
| 7857 | } | ||
| 7858 | |||
| 7859 | |||
| 7860 | 1; |