IDL/Parser20.pm untested

filter: Statementstmt 0.0% 0 / 840 Branchbran 0.0% 0 / 20 Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 875 CC 11 SCAR 44.6
CC
11
Cov
0%
new
132.0
BuildUnop
2.0
BuildBinop
2.0
CRAP 86.1
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 '' => -2,
30 'IDENTIFIER' => 22,
31 'INTERFACE' => 3,
32 'ENUM' => 2,
33 'MODULE' => 23,
34 'CONST' => 25,
35 'STRUCT' => 24,
36 'UNION' => 10,
37 'TYPEDEF' => 14,
38 'EXCEPTION' => 15,
39 'error' => 16
40 },
41 GOTOS => {
42 'union_type' => 1,
43 'enum_header' => 4,
44 'definitions' => 5,
45 'definition' => 8,
46 'module_header' => 7,
47 'struct_type' => 6,
48 'union_header' => 9,
49 'specification' => 11,
50 'except_dcl' => 12,
51 'struct_header' => 13,
52 'interface' => 17,
53 'type_dcl' => 18,
54 'module' => 20,
55 'interface_header' => 19,
56 'enum_type' => 21,
57 'forward_dcl' => 27,
58 'exception_header' => 26,
59 'const_dcl' => 28,
60 'interface_dcl' => 29
61 }
62 },
63 {#State 1
64 DEFAULT => -97
65 },
66 {#State 2
67 ACTIONS => {
68 'IDENTIFIER' => 31,
69 'error' => 30
70 }
71 },
72 {#State 3
73 ACTIONS => {
74 'IDENTIFIER' => 33,
75 'error' => 32
76 }
77 },
78 {#State 4
79 ACTIONS => {
80 "{" => 35,
81 'error' => 34
82 }
83 },
84 {#State 5
85 DEFAULT => -1
86 },
87 {#State 6
88 DEFAULT => -96
89 },
90 {#State 7
91 ACTIONS => {
92 "{" => 37,
93 'error' => 36
94 }
95 },
96 {#State 8
97 ACTIONS => {
98 'IDENTIFIER' => 22,
99 'INTERFACE' => 3,
100 'ENUM' => 2,
101 'MODULE' => 23,
102 'CONST' => 25,
103 'STRUCT' => 24,
104 'UNION' => 10,
105 'TYPEDEF' => 14,
106 'EXCEPTION' => 15
107 },
108 DEFAULT => -4,
109 GOTOS => {
110 'union_type' => 1,
111 'enum_header' => 4,
112 'definitions' => 38,
113 'definition' => 8,
114 'module_header' => 7,
115 'struct_type' => 6,
116 'union_header' => 9,
117 'except_dcl' => 12,
118 'struct_header' => 13,
119 'interface' => 17,
120 'type_dcl' => 18,
121 'module' => 20,
122 'interface_header' => 19,
123 'enum_type' => 21,
124 'exception_header' => 26,
125 'forward_dcl' => 27,
126 'const_dcl' => 28,
127 'interface_dcl' => 29
128 }
129 },
130 {#State 9
131 ACTIONS => {
132 'SWITCH' => 39
133 }
134 },
135 {#State 10
136 ACTIONS => {
137 'IDENTIFIER' => 41,
138 'error' => 40
139 }
140 },
141 {#State 11
142 ACTIONS => {
143 '' => 42
144 }
145 },
146 {#State 12
147 ACTIONS => {
148 ";" => 43,
149 'error' => 44
150 },
151 GOTOS => {
152 'check_semicolon' => 45
153 }
154 },
155 {#State 13
156 ACTIONS => {
157 "{" => 46
158 }
159 },
160 {#State 14
161 ACTIONS => {
162 "::" => 67,
163 'ENUM' => 2,
164 'CHAR' => 68,
165 'STRING' => 73,
166 'OCTET' => 49,
167 'UNION' => 10,
168 'UNSIGNED' => 51,
169 'error' => 75,
170 'ANY' => 52,
171 'FLOAT' => 77,
172 'LONG' => 54,
173 'SEQUENCE' => 78,
174 'IDENTIFIER' => 58,
175 'DOUBLE' => 79,
176 'SHORT' => 81,
177 'BOOLEAN' => 82,
178 'STRUCT' => 24,
179 'VOID' => 63
180 },
181 GOTOS => {
182 'union_type' => 47,
183 'type_spec' => 69,
184 'integer_type' => 70,
185 'unsigned_int' => 72,
186 'sequence_type' => 71,
187 'enum_header' => 4,
188 'unsigned_short_int' => 48,
189 'struct_type' => 50,
190 'union_header' => 9,
191 'constr_type_spec' => 74,
192 'struct_header' => 13,
193 'floating_pt_type' => 76,
194 'type_declarator' => 53,
195 'enum_type' => 55,
196 'any_type' => 56,
197 'template_type_spec' => 57,
198 'base_type_spec' => 80,
199 'unsigned_long_int' => 59,
200 'scoped_name' => 60,
201 'signed_int' => 83,
202 'string_type' => 61,
203 'simple_type_spec' => 84,
204 'char_type' => 62,
205 'signed_long_int' => 64,
206 'signed_short_int' => 65,
207 'boolean_type' => 85,
208 'octet_type' => 66
209 }
210 },
211 {#State 15
212 ACTIONS => {
213 'IDENTIFIER' => 86,
214 'error' => 87
215 }
216 },
217 {#State 16
218 DEFAULT => -3
219 },
220 {#State 17
221 ACTIONS => {
222 ";" => 43,
223 'error' => 44
224 },
225 GOTOS => {
226 'check_semicolon' => 88
227 }
228 },
229 {#State 18
230 ACTIONS => {
231 ";" => 43,
232 'error' => 44
233 },
234 GOTOS => {
235 'check_semicolon' => 89
236 }
237 },
238 {#State 19
239 ACTIONS => {
240 "{" => 90
241 }
242 },
243 {#State 20
244 ACTIONS => {
245 ";" => 43,
246 'error' => 44
247 },
248 GOTOS => {
249 'check_semicolon' => 91
250 }
251 },
252 {#State 21
253 DEFAULT => -98
254 },
255 {#State 22
256 ACTIONS => {
257 'error' => 92
258 }
259 },
260 {#State 23
261 ACTIONS => {
262 'IDENTIFIER' => 93,
263 'error' => 94
264 }
265 },
266 {#State 24
267 ACTIONS => {
268 'IDENTIFIER' => 95
269 }
270 },
271 {#State 25
272 ACTIONS => {
273 'DOUBLE' => 79,
274 "::" => 67,
275 'IDENTIFIER' => 58,
276 'SHORT' => 81,
277 'CHAR' => 68,
278 'BOOLEAN' => 82,
279 'STRING' => 73,
280 'UNSIGNED' => 51,
281 'error' => 101,
282 'FLOAT' => 77,
283 'LONG' => 54
284 },
285 GOTOS => {
286 'integer_type' => 99,
287 'unsigned_long_int' => 59,
288 'unsigned_int' => 72,
289 'scoped_name' => 96,
290 'signed_int' => 83,
291 'string_type' => 97,
292 'unsigned_short_int' => 48,
293 'char_type' => 98,
294 'signed_long_int' => 64,
295 'signed_short_int' => 65,
296 'floating_pt_type' => 100,
297 'const_type' => 102,
298 'boolean_type' => 103
299 }
300 },
301 {#State 26
302 ACTIONS => {
303 "{" => 105,
304 'error' => 104
305 }
306 },
307 {#State 27
308 DEFAULT => -21
309 },
310 {#State 28
311 ACTIONS => {
312 ";" => 43,
313 'error' => 44
314 },
315 GOTOS => {
316 'check_semicolon' => 106
317 }
318 },
319 {#State 29
320 DEFAULT => -20
321 },
322 {#State 30
323 DEFAULT => -176
324 },
325 {#State 31
326 DEFAULT => -175
327 },
328 {#State 32
329 ACTIONS => {
330 "{" => -28
331 },
332 DEFAULT => -26
333 },
334 {#State 33
335 ACTIONS => {
336 ":" => 107,
337 "{" => -39
338 },
339 DEFAULT => -25,
340 GOTOS => {
341 'interface_inheritance_spec' => 108
342 }
343 },
344 {#State 34
345 DEFAULT => -174
346 },
347 {#State 35
348 ACTIONS => {
349 'IDENTIFIER' => 109,
350 'error' => 111
351 },
352 GOTOS => {
353 'enumerators' => 112,
354 'enumerator' => 110
355 }
356 },
357 {#State 36
358 ACTIONS => {
359 "}" => 113
360 }
361 },
362 {#State 37
363 ACTIONS => {
364 "}" => 114,
365 'INTERFACE' => 3,
366 'ENUM' => 2,
367 'IDENTIFIER' => 22,
368 'MODULE' => 23,
369 'CONST' => 25,
370 'STRUCT' => 24,
371 'UNION' => 10,
372 'TYPEDEF' => 14,
373 'error' => 116,
374 'EXCEPTION' => 15
375 },
376 GOTOS => {
377 'union_type' => 1,
378 'enum_header' => 4,
379 'definitions' => 115,
380 'definition' => 8,
381 'module_header' => 7,
382 'struct_type' => 6,
383 'union_header' => 9,
384 'except_dcl' => 12,
385 'struct_header' => 13,
386 'interface' => 17,
387 'type_dcl' => 18,
388 'module' => 20,
389 'interface_header' => 19,
390 'enum_type' => 21,
391 'forward_dcl' => 27,
392 'exception_header' => 26,
393 'const_dcl' => 28,
394 'interface_dcl' => 29
395 }
396 },
397 {#State 38
398 DEFAULT => -5
399 },
400 {#State 39
401 ACTIONS => {
402 "(" => 117,
403 'error' => 118
404 }
405 },
406 {#State 40
407 DEFAULT => -155
408 },
409 {#State 41
410 DEFAULT => -154
411 },
412 {#State 42
413 DEFAULT => 0
414 },
415 {#State 43
416 DEFAULT => -12
417 },
418 {#State 44
419 DEFAULT => -13
420 },
421 {#State 45
422 DEFAULT => -8
423 },
424 {#State 46
425 ACTIONS => {
426 "::" => 67,
427 'ENUM' => 2,
428 'CHAR' => 68,
429 'STRING' => 73,
430 'OCTET' => 49,
431 'UNION' => 10,
432 'UNSIGNED' => 51,
433 'error' => 122,
434 'ANY' => 52,
435 'FLOAT' => 77,
436 'LONG' => 54,
437 'SEQUENCE' => 78,
438 'IDENTIFIER' => 58,
439 'DOUBLE' => 79,
440 'SHORT' => 81,
441 'BOOLEAN' => 82,
442 'STRUCT' => 24,
443 'VOID' => 63
444 },
445 GOTOS => {
446 'union_type' => 47,
447 'type_spec' => 121,
448 'integer_type' => 70,
449 'sequence_type' => 71,
450 'unsigned_int' => 72,
451 'enum_header' => 4,
452 'unsigned_short_int' => 48,
453 'struct_type' => 50,
454 'union_header' => 9,
455 'constr_type_spec' => 74,
456 'struct_header' => 13,
457 'floating_pt_type' => 76,
458 'member_list' => 119,
459 'enum_type' => 55,
460 'any_type' => 56,
461 'template_type_spec' => 57,
462 'base_type_spec' => 80,
463 'member' => 120,
464 'unsigned_long_int' => 59,
465 'scoped_name' => 60,
466 'signed_int' => 83,
467 'string_type' => 61,
468 'simple_type_spec' => 84,
469 'char_type' => 62,
470 'signed_short_int' => 65,
471 'signed_long_int' => 64,
472 'boolean_type' => 85,
473 'octet_type' => 66
474 }
475 },
476 {#State 47
477 DEFAULT => -116
478 },
479 {#State 48
480 DEFAULT => -134
481 },
482 {#State 49
483 DEFAULT => -140
484 },
485 {#State 50
486 DEFAULT => -115
487 },
488 {#State 51
489 ACTIONS => {
490 'SHORT' => 124,
491 'LONG' => 123
492 }
493 },
494 {#State 52
495 DEFAULT => -141
496 },
497 {#State 53
498 DEFAULT => -95
499 },
500 {#State 54
501 DEFAULT => -132
502 },
503 {#State 55
504 DEFAULT => -117
505 },
506 {#State 56
507 DEFAULT => -112
508 },
509 {#State 57
510 DEFAULT => -104
511 },
512 {#State 58
513 DEFAULT => -43
514 },
515 {#State 59
516 DEFAULT => -135
517 },
518 {#State 60
519 ACTIONS => {
520 "::" => 125
521 },
522 DEFAULT => -105
523 },
524 {#State 61
525 DEFAULT => -114
526 },
527 {#State 62
528 DEFAULT => -109
529 },
530 {#State 63
531 DEFAULT => -106
532 },
533 {#State 64
534 DEFAULT => -131
535 },
536 {#State 65
537 DEFAULT => -130
538 },
539 {#State 66
540 DEFAULT => -111
541 },
542 {#State 67
543 ACTIONS => {
544 'IDENTIFIER' => 126,
545 'error' => 127
546 }
547 },
548 {#State 68
549 DEFAULT => -138
550 },
551 {#State 69
552 ACTIONS => {
553 'IDENTIFIER' => 129,
554 'error' => 131
555 },
556 GOTOS => {
557 'declarators' => 132,
558 'array_declarator' => 133,
559 'simple_declarator' => 128,
560 'declarator' => 130,
561 'complex_declarator' => 134
562 }
563 },
564 {#State 70
565 DEFAULT => -108
566 },
567 {#State 71
568 DEFAULT => -113
569 },
570 {#State 72
571 DEFAULT => -129
572 },
573 {#State 73
574 ACTIONS => {
575 "<" => 135
576 },
577 DEFAULT => -188
578 },
579 {#State 74
580 DEFAULT => -102
581 },
582 {#State 75
583 DEFAULT => -99
584 },
585 {#State 76
586 DEFAULT => -107
587 },
588 {#State 77
589 DEFAULT => -126
590 },
591 {#State 78
592 ACTIONS => {
593 "<" => 136,
594 'error' => 137
595 }
596 },
597 {#State 79
598 DEFAULT => -127
599 },
600 {#State 80
601 DEFAULT => -103
602 },
603 {#State 81
604 DEFAULT => -133
605 },
606 {#State 82
607 DEFAULT => -139
608 },
609 {#State 83
610 DEFAULT => -128
611 },
612 {#State 84
613 DEFAULT => -101
614 },
615 {#State 85
616 DEFAULT => -110
617 },
618 {#State 86
619 DEFAULT => -205
620 },
621 {#State 87
622 DEFAULT => -206
623 },
624 {#State 88
625 DEFAULT => -9
626 },
627 {#State 89
628 DEFAULT => -6
629 },
630 {#State 90
631 ACTIONS => {
632 "}" => 138,
633 "::" => -212,
634 'ENUM' => 2,
635 'CHAR' => -212,
636 'STRING' => -212,
637 'OCTET' => -212,
638 'ONEWAY' => 149,
639 'UNION' => 10,
640 'UNSIGNED' => -212,
641 'TYPEDEF' => 14,
642 'error' => 152,
643 'EXCEPTION' => 15,
644 'ANY' => -212,
645 'FLOAT' => -212,
646 'LONG' => -212,
647 'ATTRIBUTE' => -198,
648 'SEQUENCE' => -212,
649 'IDENTIFIER' => -212,
650 'DOUBLE' => -212,
651 'SHORT' => -212,
652 'BOOLEAN' => -212,
653 'STRUCT' => 24,
654 'CONST' => 25,
655 'READONLY' => 153,
656 'VOID' => -212
657 },
658 GOTOS => {
659 'op_header' => 146,
660 'union_type' => 1,
661 'interface_body' => 147,
662 'attr_mod' => 139,
663 'enum_header' => 4,
664 'op_dcl' => 148,
665 'exports' => 151,
666 'attr_dcl' => 150,
667 'struct_type' => 6,
668 'union_header' => 9,
669 'except_dcl' => 140,
670 'struct_header' => 13,
671 'export' => 142,
672 'type_dcl' => 141,
673 'enum_type' => 21,
674 'op_attribute' => 143,
675 'op_mod' => 144,
676 'exception_header' => 26,
677 'const_dcl' => 145
678 }
679 },
680 {#State 91
681 DEFAULT => -10
682 },
683 {#State 92
684 ACTIONS => {
685 ";" => 154
686 }
687 },
688 {#State 93
689 DEFAULT => -18
690 },
691 {#State 94
692 DEFAULT => -19
693 },
694 {#State 95
695 DEFAULT => -144
696 },
697 {#State 96
698 ACTIONS => {
699 "::" => 125
700 },
701 DEFAULT => -58
702 },
703 {#State 97
704 DEFAULT => -57
705 },
706 {#State 98
707 DEFAULT => -54
708 },
709 {#State 99
710 DEFAULT => -53
711 },
712 {#State 100
713 DEFAULT => -56
714 },
715 {#State 101
716 DEFAULT => -52
717 },
718 {#State 102
719 ACTIONS => {
720 'IDENTIFIER' => 155,
721 'error' => 156
722 }
723 },
724 {#State 103
725 DEFAULT => -55
726 },
727 {#State 104
728 DEFAULT => -204
729 },
730 {#State 105
731 ACTIONS => {
732 "}" => 157,
733 "::" => 67,
734 'ENUM' => 2,
735 'CHAR' => 68,
736 'STRING' => 73,
737 'OCTET' => 49,
738 'UNION' => 10,
739 'UNSIGNED' => 51,
740 'error' => 159,
741 'ANY' => 52,
742 'FLOAT' => 77,
743 'LONG' => 54,
744 'SEQUENCE' => 78,
745 'DOUBLE' => 79,
746 'IDENTIFIER' => 58,
747 'SHORT' => 81,
748 'BOOLEAN' => 82,
749 'STRUCT' => 24,
750 'VOID' => 63
751 },
752 GOTOS => {
753 'union_type' => 47,
754 'type_spec' => 121,
755 'integer_type' => 70,
756 'sequence_type' => 71,
757 'unsigned_int' => 72,
758 'enum_header' => 4,
759 'unsigned_short_int' => 48,
760 'struct_type' => 50,
761 'union_header' => 9,
762 'constr_type_spec' => 74,
763 'struct_header' => 13,
764 'floating_pt_type' => 76,
765 'member_list' => 158,
766 'enum_type' => 55,
767 'any_type' => 56,
768 'template_type_spec' => 57,
769 'base_type_spec' => 80,
770 'member' => 120,
771 'unsigned_long_int' => 59,
772 'scoped_name' => 60,
773 'signed_int' => 83,
774 'string_type' => 61,
775 'simple_type_spec' => 84,
776 'char_type' => 62,
777 'signed_short_int' => 65,
778 'signed_long_int' => 64,
779 'boolean_type' => 85,
780 'octet_type' => 66
781 }
782 },
783 {#State 106
784 DEFAULT => -7
785 },
786 {#State 107
787 ACTIONS => {
788 "::" => 67,
789 'IDENTIFIER' => 58,
790 'error' => 161
791 },
792 GOTOS => {
793 'interface_name' => 163,
794 'interface_names' => 162,
795 'scoped_name' => 160
796 }
797 },
798 {#State 108
799 DEFAULT => -27
800 },
801 {#State 109
802 DEFAULT => -181
803 },
804 {#State 110
805 ACTIONS => {
806 ";" => 164,
807 "," => 165
808 },
809 DEFAULT => -177
810 },
811 {#State 111
812 ACTIONS => {
813 "}" => 166
814 }
815 },
816 {#State 112
817 ACTIONS => {
818 "}" => 167
819 }
820 },
821 {#State 113
822 DEFAULT => -17
823 },
824 {#State 114
825 DEFAULT => -16
826 },
827 {#State 115
828 ACTIONS => {
829 "}" => 168
830 }
831 },
832 {#State 116
833 ACTIONS => {
834 "}" => 169
835 }
836 },
837 {#State 117
838 ACTIONS => {
839 "::" => 67,
840 'ENUM' => 2,
841 'IDENTIFIER' => 58,
842 'SHORT' => 81,
843 'CHAR' => 68,
844 'BOOLEAN' => 82,
845 'UNSIGNED' => 51,
846 'error' => 174,
847 'LONG' => 54
848 },
849 GOTOS => {
850 'enum_type' => 170,
851 'integer_type' => 173,
852 'unsigned_long_int' => 59,
853 'unsigned_int' => 72,
854 'scoped_name' => 171,
855 'enum_header' => 4,
856 'signed_int' => 83,
857 'unsigned_short_int' => 48,
858 'char_type' => 172,
859 'signed_long_int' => 64,
860 'signed_short_int' => 65,
861 'boolean_type' => 176,
862 'switch_type_spec' => 175
863 }
864 },
865 {#State 118
866 DEFAULT => -153
867 },
868 {#State 119
869 ACTIONS => {
870 "}" => 177
871 }
872 },
873 {#State 120
874 ACTIONS => {
875 "::" => 67,
876 'ENUM' => 2,
877 'CHAR' => 68,
878 'STRING' => 73,
879 'OCTET' => 49,
880 'UNION' => 10,
881 'UNSIGNED' => 51,
882 'ANY' => 52,
883 'FLOAT' => 77,
884 'LONG' => 54,
885 'SEQUENCE' => 78,
886 'IDENTIFIER' => 58,
887 'DOUBLE' => 79,
888 'SHORT' => 81,
889 'BOOLEAN' => 82,
890 'STRUCT' => 24,
891 'VOID' => 63
892 },
893 DEFAULT => -146,
894 GOTOS => {
895 'union_type' => 47,
896 'type_spec' => 121,
897 'integer_type' => 70,
898 'sequence_type' => 71,
899 'unsigned_int' => 72,
900 'enum_header' => 4,
901 'unsigned_short_int' => 48,
902 'struct_type' => 50,
903 'union_header' => 9,
904 'constr_type_spec' => 74,
905 'struct_header' => 13,
906 'floating_pt_type' => 76,
907 'member_list' => 178,
908 'enum_type' => 55,
909 'any_type' => 56,
910 'template_type_spec' => 57,
911 'base_type_spec' => 80,
912 'member' => 120,
913 'unsigned_long_int' => 59,
914 'scoped_name' => 60,
915 'signed_int' => 83,
916 'string_type' => 61,
917 'simple_type_spec' => 84,
918 'char_type' => 62,
919 'signed_short_int' => 65,
920 'signed_long_int' => 64,
921 'boolean_type' => 85,
922 'octet_type' => 66
923 }
924 },
925 {#State 121
926 ACTIONS => {
927 'IDENTIFIER' => 129,
928 'error' => 131
929 },
930 GOTOS => {
931 'declarators' => 179,
932 'array_declarator' => 133,
933 'simple_declarator' => 128,
934 'declarator' => 130,
935 'complex_declarator' => 134
936 }
937 },
938 {#State 122
939 ACTIONS => {
940 "}" => 180
941 }
942 },
943 {#State 123
944 DEFAULT => -136
945 },
946 {#State 124
947 DEFAULT => -137
948 },
949 {#State 125
950 ACTIONS => {
951 'IDENTIFIER' => 181,
952 'error' => 182
953 }
954 },
955 {#State 126
956 DEFAULT => -44
957 },
958 {#State 127
959 DEFAULT => -45
960 },
961 {#State 128
962 DEFAULT => -120
963 },
964 {#State 129
965 ACTIONS => {
966 "[" => 184
967 },
968 DEFAULT => -122,
969 GOTOS => {
970 'fixed_array_sizes' => 183,
971 'fixed_array_size' => 185
972 }
973 },
974 {#State 130
975 ACTIONS => {
976 "," => 186
977 },
978 DEFAULT => -118
979 },
980 {#State 131
981 ACTIONS => {
982 ";" => 187,
983 "," => 188
984 }
985 },
986 {#State 132
987 DEFAULT => -100
988 },
989 {#State 133
990 DEFAULT => -125
991 },
992 {#State 134
993 DEFAULT => -121
994 },
995 {#State 135
996 ACTIONS => {
997 "-" => 189,
998 "::" => 67,
999 'TRUE' => 201,
1000 'IDENTIFIER' => 58,
1001 "+" => 202,
1002 "~" => 190,
1003 'INTEGER_LITERAL' => 203,
1004 'FLOATING_PT_LITERAL' => 205,
1005 "(" => 199,
1006 'FALSE' => 192,
1007 'STRING_LITERAL' => 213,
1008 'error' => 206,
1009 'CHARACTER_LITERAL' => 207
1010 },
1011 GOTOS => {
1012 'and_expr' => 196,
1013 'or_expr' => 197,
1014 'mult_expr' => 208,
1015 'shift_expr' => 204,
1016 'scoped_name' => 198,
1017 'boolean_literal' => 209,
1018 'add_expr' => 210,
1019 'literal' => 191,
1020 'positive_int_const' => 211,
1021 'primary_expr' => 212,
1022 'unary_expr' => 200,
1023 'const_exp' => 193,
1024 'unary_operator' => 194,
1025 'xor_expr' => 214,
1026 'string_literal' => 195
1027 }
1028 },
1029 {#State 136
1030 ACTIONS => {
1031 'SEQUENCE' => 78,
1032 'DOUBLE' => 79,
1033 "::" => 67,
1034 'IDENTIFIER' => 58,
1035 'SHORT' => 81,
1036 'CHAR' => 68,
1037 'BOOLEAN' => 82,
1038 'STRING' => 73,
1039 'OCTET' => 49,
1040 'VOID' => 63,
1041 'UNSIGNED' => 51,
1042 'error' => 215,
1043 'ANY' => 52,
1044 'FLOAT' => 77,
1045 'LONG' => 54
1046 },
1047 GOTOS => {
1048 'integer_type' => 70,
1049 'sequence_type' => 71,
1050 'unsigned_int' => 72,
1051 'unsigned_short_int' => 48,
1052 'floating_pt_type' => 76,
1053 'any_type' => 56,
1054 'template_type_spec' => 57,
1055 'base_type_spec' => 80,
1056 'unsigned_long_int' => 59,
1057 'scoped_name' => 60,
1058 'string_type' => 61,
1059 'signed_int' => 83,
1060 'simple_type_spec' => 216,
1061 'char_type' => 62,
1062 'signed_short_int' => 65,
1063 'signed_long_int' => 64,
1064 'boolean_type' => 85,
1065 'octet_type' => 66
1066 }
1067 },
1068 {#State 137
1069 DEFAULT => -186
1070 },
1071 {#State 138
1072 DEFAULT => -22
1073 },
1074 {#State 139
1075 ACTIONS => {
1076 'ATTRIBUTE' => 217
1077 }
1078 },
1079 {#State 140
1080 ACTIONS => {
1081 ";" => 43,
1082 'error' => 44
1083 },
1084 GOTOS => {
1085 'check_semicolon' => 218
1086 }
1087 },
1088 {#State 141
1089 ACTIONS => {
1090 ";" => 43,
1091 'error' => 44
1092 },
1093 GOTOS => {
1094 'check_semicolon' => 219
1095 }
1096 },
1097 {#State 142
1098 ACTIONS => {
1099 "}" => -30,
1100 'ENUM' => 2,
1101 'ONEWAY' => 149,
1102 'UNION' => 10,
1103 'TYPEDEF' => 14,
1104 'EXCEPTION' => 15,
1105 'ATTRIBUTE' => -198,
1106 'STRUCT' => 24,
1107 'CONST' => 25,
1108 'READONLY' => 153
1109 },
1110 DEFAULT => -212,
1111 GOTOS => {
1112 'op_header' => 146,
1113 'union_type' => 1,
1114 'attr_mod' => 139,
1115 'enum_header' => 4,
1116 'op_dcl' => 148,
1117 'exports' => 220,
1118 'attr_dcl' => 150,
1119 'struct_type' => 6,
1120 'union_header' => 9,
1121 'except_dcl' => 140,
1122 'struct_header' => 13,
1123 'export' => 142,
1124 'type_dcl' => 141,
1125 'enum_type' => 21,
1126 'op_attribute' => 143,
1127 'op_mod' => 144,
1128 'exception_header' => 26,
1129 'const_dcl' => 145
1130 }
1131 },
1132 {#State 143
1133 DEFAULT => -211
1134 },
1135 {#State 144
1136 ACTIONS => {
1137 'SEQUENCE' => 78,
1138 'DOUBLE' => 79,
1139 "::" => 67,
1140 'IDENTIFIER' => 58,
1141 'SHORT' => 81,
1142 'CHAR' => 68,
1143 'BOOLEAN' => 82,
1144 'STRING' => 73,
1145 'OCTET' => 49,
1146 'VOID' => 223,
1147 'UNSIGNED' => 51,
1148 'ANY' => 52,
1149 'FLOAT' => 77,
1150 'LONG' => 54
1151 },
1152 GOTOS => {
1153 'integer_type' => 70,
1154 'unsigned_int' => 72,
1155 'sequence_type' => 224,
1156 'op_param_type_spec' => 225,
1157 'unsigned_short_int' => 48,
1158 'floating_pt_type' => 76,
1159 'any_type' => 56,
1160 'base_type_spec' => 226,
1161 'unsigned_long_int' => 59,
1162 'scoped_name' => 221,
1163 'string_type' => 222,
1164 'signed_int' => 83,
1165 'char_type' => 62,
1166 'signed_short_int' => 65,
1167 'signed_long_int' => 64,
1168 'op_type_spec' => 227,
1169 'boolean_type' => 85,
1170 'octet_type' => 66
1171 }
1172 },
1173 {#State 145
1174 ACTIONS => {
1175 ";" => 43,
1176 'error' => 44
1177 },
1178 GOTOS => {
1179 'check_semicolon' => 228
1180 }
1181 },
1182 {#State 146
1183 ACTIONS => {
1184 "(" => 229,
1185 'error' => 230
1186 },
1187 GOTOS => {
1188 'parameter_dcls' => 231
1189 }
1190 },
1191 {#State 147
1192 ACTIONS => {
1193 "}" => 232
1194 }
1195 },
1196 {#State 148
1197 ACTIONS => {
1198 ";" => 43,
1199 'error' => 44
1200 },
1201 GOTOS => {
1202 'check_semicolon' => 233
1203 }
1204 },
1205 {#State 149
1206 DEFAULT => -213
1207 },
1208 {#State 150
1209 ACTIONS => {
1210 ";" => 43,
1211 'error' => 44
1212 },
1213 GOTOS => {
1214 'check_semicolon' => 234
1215 }
1216 },
1217 {#State 151
1218 DEFAULT => -29
1219 },
1220 {#State 152
1221 ACTIONS => {
1222 "}" => 235
1223 }
1224 },
1225 {#State 153
1226 DEFAULT => -197
1227 },
1228 {#State 154
1229 DEFAULT => -11
1230 },
1231 {#State 155
1232 ACTIONS => {
1233 'error' => 236,
1234 "=" => 237
1235 }
1236 },
1237 {#State 156
1238 DEFAULT => -51
1239 },
1240 {#State 157
1241 DEFAULT => -201
1242 },
1243 {#State 158
1244 ACTIONS => {
1245 "}" => 238
1246 }
1247 },
1248 {#State 159
1249 ACTIONS => {
1250 "}" => 239
1251 }
1252 },
1253 {#State 160
1254 ACTIONS => {
1255 "::" => 125
1256 },
1257 DEFAULT => -42
1258 },
1259 {#State 161
1260 DEFAULT => -38
1261 },
1262 {#State 162
1263 DEFAULT => -37
1264 },
1265 {#State 163
1266 ACTIONS => {
1267 "," => 240
1268 },
1269 DEFAULT => -40
1270 },
1271 {#State 164
1272 DEFAULT => -180
1273 },
1274 {#State 165
1275 ACTIONS => {
1276 'IDENTIFIER' => 109
1277 },
1278 DEFAULT => -179,
1279 GOTOS => {
1280 'enumerators' => 241,
1281 'enumerator' => 110
1282 }
1283 },
1284 {#State 166
1285 DEFAULT => -173
1286 },
1287 {#State 167
1288 DEFAULT => -172
1289 },
1290 {#State 168
1291 DEFAULT => -14
1292 },
1293 {#State 169
1294 DEFAULT => -15
1295 },
1296 {#State 170
1297 DEFAULT => -159
1298 },
1299 {#State 171
1300 ACTIONS => {
1301 "::" => 125
1302 },
1303 DEFAULT => -160
1304 },
1305 {#State 172
1306 DEFAULT => -157
1307 },
1308 {#State 173
1309 DEFAULT => -156
1310 },
1311 {#State 174
1312 ACTIONS => {
1313 ")" => 242
1314 }
1315 },
1316 {#State 175
1317 ACTIONS => {
1318 ")" => 243
1319 }
1320 },
1321 {#State 176
1322 DEFAULT => -158
1323 },
1324 {#State 177
1325 DEFAULT => -142
1326 },
1327 {#State 178
1328 DEFAULT => -147
1329 },
1330 {#State 179
1331 ACTIONS => {
1332 ";" => 43,
1333 'error' => 44
1334 },
1335 GOTOS => {
1336 'check_semicolon' => 244
1337 }
1338 },
1339 {#State 180
1340 ACTIONS => {
1341 "{" => -145
1342 },
1343 DEFAULT => -143
1344 },
1345 {#State 181
1346 DEFAULT => -46
1347 },
1348 {#State 182
1349 DEFAULT => -47
1350 },
1351 {#State 183
1352 DEFAULT => -190
1353 },
1354 {#State 184
1355 ACTIONS => {
1356 "-" => 189,
1357 "::" => 67,
1358 'TRUE' => 201,
1359 'IDENTIFIER' => 58,
1360 "+" => 202,
1361 "~" => 190,
1362 'INTEGER_LITERAL' => 203,
1363 'FLOATING_PT_LITERAL' => 205,
1364 "(" => 199,
1365 'FALSE' => 192,
1366 'STRING_LITERAL' => 213,
1367 'error' => 245,
1368 'CHARACTER_LITERAL' => 207
1369 },
1370 GOTOS => {
1371 'and_expr' => 196,
1372 'or_expr' => 197,
1373 'mult_expr' => 208,
1374 'shift_expr' => 204,
1375 'scoped_name' => 198,
1376 'boolean_literal' => 209,
1377 'add_expr' => 210,
1378 'literal' => 191,
1379 'positive_int_const' => 246,
1380 'primary_expr' => 212,
1381 'unary_expr' => 200,
1382 'const_exp' => 193,
1383 'unary_operator' => 194,
1384 'xor_expr' => 214,
1385 'string_literal' => 195
1386 }
1387 },
1388 {#State 185
1389 ACTIONS => {
1390 "[" => 184
1391 },
1392 DEFAULT => -191,
1393 GOTOS => {
1394 'fixed_array_sizes' => 247,
1395 'fixed_array_size' => 185
1396 }
1397 },
1398 {#State 186
1399 ACTIONS => {
1400 'IDENTIFIER' => 129,
1401 'error' => 131
1402 },
1403 GOTOS => {
1404 'declarators' => 248,
1405 'array_declarator' => 133,
1406 'simple_declarator' => 128,
1407 'declarator' => 130,
1408 'complex_declarator' => 134
1409 }
1410 },
1411 {#State 187
1412 DEFAULT => -124
1413 },
1414 {#State 188
1415 DEFAULT => -123
1416 },
1417 {#State 189
1418 DEFAULT => -78
1419 },
1420 {#State 190
1421 DEFAULT => -80
1422 },
1423 {#State 191
1424 DEFAULT => -82
1425 },
1426 {#State 192
1427 DEFAULT => -93
1428 },
1429 {#State 193
1430 DEFAULT => -94
1431 },
1432 {#State 194
1433 ACTIONS => {
1434 "::" => 67,
1435 'TRUE' => 201,
1436 'IDENTIFIER' => 58,
1437 'INTEGER_LITERAL' => 203,
1438 'FLOATING_PT_LITERAL' => 205,
1439 "(" => 199,
1440 'FALSE' => 192,
1441 'STRING_LITERAL' => 213,
1442 'CHARACTER_LITERAL' => 207
1443 },
1444 GOTOS => {
1445 'literal' => 191,
1446 'primary_expr' => 249,
1447 'scoped_name' => 198,
1448 'boolean_literal' => 209,
1449 'string_literal' => 195
1450 }
1451 },
1452 {#State 195
1453 DEFAULT => -86
1454 },
1455 {#State 196
1456 ACTIONS => {
1457 "&" => 250
1458 },
1459 DEFAULT => -62
1460 },
1461 {#State 197
1462 ACTIONS => {
1463 "|" => 251
1464 },
1465 DEFAULT => -59
1466 },
1467 {#State 198
1468 ACTIONS => {
1469 "::" => 125
1470 },
1471 DEFAULT => -81
1472 },
1473 {#State 199
1474 ACTIONS => {
1475 "-" => 189,
1476 "::" => 67,
1477 'TRUE' => 201,
1478 'IDENTIFIER' => 58,
1479 "+" => 202,
1480 "~" => 190,
1481 'INTEGER_LITERAL' => 203,
1482 'FLOATING_PT_LITERAL' => 205,
1483 "(" => 199,
1484 'FALSE' => 192,
1485 'STRING_LITERAL' => 213,
1486 'error' => 253,
1487 'CHARACTER_LITERAL' => 207
1488 },
1489 GOTOS => {
1490 'and_expr' => 196,
1491 'or_expr' => 197,
1492 'mult_expr' => 208,
1493 'shift_expr' => 204,
1494 'scoped_name' => 198,
1495 'boolean_literal' => 209,
1496 'add_expr' => 210,
1497 'literal' => 191,
1498 'primary_expr' => 212,
1499 'unary_expr' => 200,
1500 'unary_operator' => 194,
1501 'const_exp' => 252,
1502 'xor_expr' => 214,
1503 'string_literal' => 195
1504 }
1505 },
1506 {#State 200
1507 DEFAULT => -72
1508 },
1509 {#State 201
1510 DEFAULT => -92
1511 },
1512 {#State 202
1513 DEFAULT => -79
1514 },
1515 {#State 203
1516 DEFAULT => -85
1517 },
1518 {#State 204
1519 ACTIONS => {
1520 "<<" => 255,
1521 ">>" => 254
1522 },
1523 DEFAULT => -64
1524 },
1525 {#State 205
1526 DEFAULT => -88
1527 },
1528 {#State 206
1529 ACTIONS => {
1530 ">" => 256
1531 }
1532 },
1533 {#State 207
1534 DEFAULT => -87
1535 },
1536 {#State 208
1537 ACTIONS => {
1538 "%" => 257,
1539 "*" => 258,
1540 "/" => 259
1541 },
1542 DEFAULT => -69
1543 },
1544 {#State 209
1545 DEFAULT => -89
1546 },
1547 {#State 210
1548 ACTIONS => {
1549 "-" => 260,
1550 "+" => 261
1551 },
1552 DEFAULT => -66
1553 },
1554 {#State 211
1555 ACTIONS => {
1556 ">" => 262
1557 }
1558 },
1559 {#State 212
1560 DEFAULT => -77
1561 },
1562 {#State 213
1563 ACTIONS => {
1564 'STRING_LITERAL' => 213
1565 },
1566 DEFAULT => -90,
1567 GOTOS => {
1568 'string_literal' => 263
1569 }
1570 },
1571 {#State 214
1572 ACTIONS => {
1573 "^" => 264
1574 },
1575 DEFAULT => -60
1576 },
1577 {#State 215
1578 ACTIONS => {
1579 ">" => 265
1580 }
1581 },
1582 {#State 216
1583 ACTIONS => {
1584 "," => 267,
1585 ">" => 266
1586 }
1587 },
1588 {#State 217
1589 ACTIONS => {
1590 "::" => 67,
1591 'ENUM' => 2,
1592 'CHAR' => 68,
1593 'STRING' => 73,
1594 'OCTET' => 49,
1595 'UNION' => 10,
1596 'UNSIGNED' => 51,
1597 'error' => 273,
1598 'ANY' => 52,
1599 'FLOAT' => 77,
1600 'LONG' => 54,
1601 'SEQUENCE' => 78,
1602 'IDENTIFIER' => 58,
1603 'DOUBLE' => 79,
1604 'SHORT' => 81,
1605 'BOOLEAN' => 82,
1606 'STRUCT' => 24,
1607 'VOID' => 268
1608 },
1609 GOTOS => {
1610 'union_type' => 47,
1611 'integer_type' => 70,
1612 'unsigned_int' => 72,
1613 'sequence_type' => 270,
1614 'enum_header' => 4,
1615 'op_param_type_spec' => 271,
1616 'unsigned_short_int' => 48,
1617 'struct_type' => 50,
1618 'union_header' => 9,
1619 'constr_type_spec' => 272,
1620 'struct_header' => 13,
1621 'floating_pt_type' => 76,
1622 'enum_type' => 55,
1623 'any_type' => 56,
1624 'base_type_spec' => 226,
1625 'unsigned_long_int' => 59,
1626 'scoped_name' => 221,
1627 'signed_int' => 83,
1628 'string_type' => 222,
1629 'char_type' => 62,
1630 'signed_long_int' => 64,
1631 'signed_short_int' => 65,
1632 'param_type_spec' => 269,
1633 'boolean_type' => 85,
1634 'octet_type' => 66
1635 }
1636 },
1637 {#State 218
1638 DEFAULT => -34
1639 },
1640 {#State 219
1641 DEFAULT => -32
1642 },
1643 {#State 220
1644 DEFAULT => -31
1645 },
1646 {#State 221
1647 ACTIONS => {
1648 "::" => 125
1649 },
1650 DEFAULT => -250
1651 },
1652 {#State 222
1653 DEFAULT => -249
1654 },
1655 {#State 223
1656 DEFAULT => -215
1657 },
1658 {#State 224
1659 DEFAULT => -216
1660 },
1661 {#State 225
1662 DEFAULT => -214
1663 },
1664 {#State 226
1665 DEFAULT => -248
1666 },
1667 {#State 227
1668 ACTIONS => {
1669 'IDENTIFIER' => 274,
1670 'error' => 275
1671 }
1672 },
1673 {#State 228
1674 DEFAULT => -33
1675 },
1676 {#State 229
1677 ACTIONS => {
1678 "::" => -230,
1679 'ENUM' => -230,
1680 'CHAR' => -230,
1681 'STRING' => -230,
1682 'OCTET' => -230,
1683 'UNION' => -230,
1684 'UNSIGNED' => -230,
1685 'error' => 281,
1686 'ANY' => -230,
1687 'FLOAT' => -230,
1688 ")" => 282,
1689 'LONG' => -230,
1690 'SEQUENCE' => -230,
1691 'DOUBLE' => -230,
1692 'IDENTIFIER' => -230,
1693 'SHORT' => -230,
1694 'BOOLEAN' => -230,
1695 'INOUT' => 277,
1696 "..." => 283,
1697 'STRUCT' => -230,
1698 'OUT' => 278,
1699 'IN' => 284,
1700 'VOID' => -230
1701 },
1702 GOTOS => {
1703 'param_attribute' => 276,
1704 'param_dcl' => 279,
1705 'param_dcls' => 280
1706 }
1707 },
1708 {#State 230
1709 DEFAULT => -208
1710 },
1711 {#State 231
1712 ACTIONS => {
1713 'RAISES' => 285
1714 },
1715 DEFAULT => -234,
1716 GOTOS => {
1717 'raises_expr' => 286
1718 }
1719 },
1720 {#State 232
1721 DEFAULT => -23
1722 },
1723 {#State 233
1724 DEFAULT => -36
1725 },
1726 {#State 234
1727 DEFAULT => -35
1728 },
1729 {#State 235
1730 DEFAULT => -24
1731 },
1732 {#State 236
1733 DEFAULT => -50
1734 },
1735 {#State 237
1736 ACTIONS => {
1737 "-" => 189,
1738 "::" => 67,
1739 'TRUE' => 201,
1740 'IDENTIFIER' => 58,
1741 "+" => 202,
1742 "~" => 190,
1743 'INTEGER_LITERAL' => 203,
1744 'FLOATING_PT_LITERAL' => 205,
1745 "(" => 199,
1746 'FALSE' => 192,
1747 'STRING_LITERAL' => 213,
1748 'error' => 288,
1749 'CHARACTER_LITERAL' => 207
1750 },
1751 GOTOS => {
1752 'and_expr' => 196,
1753 'or_expr' => 197,
1754 'mult_expr' => 208,
1755 'shift_expr' => 204,
1756 'scoped_name' => 198,
1757 'boolean_literal' => 209,
1758 'add_expr' => 210,
1759 'literal' => 191,
1760 'primary_expr' => 212,
1761 'unary_expr' => 200,
1762 'unary_operator' => 194,
1763 'const_exp' => 287,
1764 'xor_expr' => 214,
1765 'string_literal' => 195
1766 }
1767 },
1768 {#State 238
1769 DEFAULT => -202
1770 },
1771 {#State 239
1772 DEFAULT => -203
1773 },
1774 {#State 240
1775 ACTIONS => {
1776 "::" => 67,
1777 'IDENTIFIER' => 58
1778 },
1779 GOTOS => {
1780 'interface_name' => 163,
1781 'interface_names' => 289,
1782 'scoped_name' => 160
1783 }
1784 },
1785 {#State 241
1786 DEFAULT => -178
1787 },
1788 {#State 242
1789 DEFAULT => -152
1790 },
1791 {#State 243
1792 ACTIONS => {
1793 "{" => 291,
1794 'error' => 290
1795 }
1796 },
1797 {#State 244
1798 DEFAULT => -148
1799 },
1800 {#State 245
1801 ACTIONS => {
1802 "]" => 292
1803 }
1804 },
1805 {#State 246
1806 ACTIONS => {
1807 "]" => 293
1808 }
1809 },
1810 {#State 247
1811 DEFAULT => -192
1812 },
1813 {#State 248
1814 DEFAULT => -119
1815 },
1816 {#State 249
1817 DEFAULT => -76
1818 },
1819 {#State 250
1820 ACTIONS => {
1821 "-" => 189,
1822 "::" => 67,
1823 'TRUE' => 201,
1824 'IDENTIFIER' => 58,
1825 "+" => 202,
1826 "~" => 190,
1827 'INTEGER_LITERAL' => 203,
1828 'FLOATING_PT_LITERAL' => 205,
1829 "(" => 199,
1830 'FALSE' => 192,
1831 'STRING_LITERAL' => 213,
1832 'CHARACTER_LITERAL' => 207
1833 },
1834 GOTOS => {
1835 'mult_expr' => 208,
1836 'shift_expr' => 294,
1837 'scoped_name' => 198,
1838 'boolean_literal' => 209,
1839 'add_expr' => 210,
1840 'literal' => 191,
1841 'primary_expr' => 212,
1842 'unary_expr' => 200,
1843 'unary_operator' => 194,
1844 'string_literal' => 195
1845 }
1846 },
1847 {#State 251
1848 ACTIONS => {
1849 "-" => 189,
1850 "::" => 67,
1851 'TRUE' => 201,
1852 'IDENTIFIER' => 58,
1853 "+" => 202,
1854 "~" => 190,
1855 'INTEGER_LITERAL' => 203,
1856 'FLOATING_PT_LITERAL' => 205,
1857 "(" => 199,
1858 'FALSE' => 192,
1859 'STRING_LITERAL' => 213,
1860 'CHARACTER_LITERAL' => 207
1861 },
1862 GOTOS => {
1863 'and_expr' => 196,
1864 'mult_expr' => 208,
1865 'shift_expr' => 204,
1866 'scoped_name' => 198,
1867 'boolean_literal' => 209,
1868 'add_expr' => 210,
1869 'literal' => 191,
1870 'primary_expr' => 212,
1871 'unary_expr' => 200,
1872 'unary_operator' => 194,
1873 'xor_expr' => 295,
1874 'string_literal' => 195
1875 }
1876 },
1877 {#State 252
1878 ACTIONS => {
1879 ")" => 296
1880 }
1881 },
1882 {#State 253
1883 ACTIONS => {
1884 ")" => 297
1885 }
1886 },
1887 {#State 254
1888 ACTIONS => {
1889 "-" => 189,
1890 "::" => 67,
1891 'TRUE' => 201,
1892 'IDENTIFIER' => 58,
1893 "+" => 202,
1894 "~" => 190,
1895 'INTEGER_LITERAL' => 203,
1896 'FLOATING_PT_LITERAL' => 205,
1897 "(" => 199,
1898 'FALSE' => 192,
1899 'STRING_LITERAL' => 213,
1900 'CHARACTER_LITERAL' => 207
1901 },
1902 GOTOS => {
1903 'mult_expr' => 208,
1904 'scoped_name' => 198,
1905 'boolean_literal' => 209,
1906 'literal' => 191,
1907 'add_expr' => 298,
1908 'primary_expr' => 212,
1909 'unary_expr' => 200,
1910 'unary_operator' => 194,
1911 'string_literal' => 195
1912 }
1913 },
1914 {#State 255
1915 ACTIONS => {
1916 "-" => 189,
1917 "::" => 67,
1918 'TRUE' => 201,
1919 'IDENTIFIER' => 58,
1920 "+" => 202,
1921 "~" => 190,
1922 'INTEGER_LITERAL' => 203,
1923 'FLOATING_PT_LITERAL' => 205,
1924 "(" => 199,
1925 'FALSE' => 192,
1926 'STRING_LITERAL' => 213,
1927 'CHARACTER_LITERAL' => 207
1928 },
1929 GOTOS => {
1930 'mult_expr' => 208,
1931 'scoped_name' => 198,
1932 'boolean_literal' => 209,
1933 'literal' => 191,
1934 'add_expr' => 299,
1935 'primary_expr' => 212,
1936 'unary_expr' => 200,
1937 'unary_operator' => 194,
1938 'string_literal' => 195
1939 }
1940 },
1941 {#State 256
1942 DEFAULT => -189
1943 },
1944 {#State 257
1945 ACTIONS => {
1946 "-" => 189,
1947 "::" => 67,
1948 'TRUE' => 201,
1949 'IDENTIFIER' => 58,
1950 "+" => 202,
1951 "~" => 190,
1952 'INTEGER_LITERAL' => 203,
1953 'FLOATING_PT_LITERAL' => 205,
1954 "(" => 199,
1955 'FALSE' => 192,
1956 'STRING_LITERAL' => 213,
1957 'CHARACTER_LITERAL' => 207
1958 },
1959 GOTOS => {
1960 'literal' => 191,
1961 'primary_expr' => 212,
1962 'unary_expr' => 300,
1963 'unary_operator' => 194,
1964 'scoped_name' => 198,
1965 'boolean_literal' => 209,
1966 'string_literal' => 195
1967 }
1968 },
1969 {#State 258
1970 ACTIONS => {
1971 "-" => 189,
1972 "::" => 67,
1973 'TRUE' => 201,
1974 'IDENTIFIER' => 58,
1975 "+" => 202,
1976 "~" => 190,
1977 'INTEGER_LITERAL' => 203,
1978 'FLOATING_PT_LITERAL' => 205,
1979 "(" => 199,
1980 'FALSE' => 192,
1981 'STRING_LITERAL' => 213,
1982 'CHARACTER_LITERAL' => 207
1983 },
1984 GOTOS => {
1985 'literal' => 191,
1986 'primary_expr' => 212,
1987 'unary_expr' => 301,
1988 'unary_operator' => 194,
1989 'scoped_name' => 198,
1990 'boolean_literal' => 209,
1991 'string_literal' => 195
1992 }
1993 },
1994 {#State 259
1995 ACTIONS => {
1996 "-" => 189,
1997 "::" => 67,
1998 'TRUE' => 201,
1999 'IDENTIFIER' => 58,
2000 "+" => 202,
2001 "~" => 190,
2002 'INTEGER_LITERAL' => 203,
2003 'FLOATING_PT_LITERAL' => 205,
2004 "(" => 199,
2005 'FALSE' => 192,
2006 'STRING_LITERAL' => 213,
2007 'CHARACTER_LITERAL' => 207
2008 },
2009 GOTOS => {
2010 'literal' => 191,
2011 'primary_expr' => 212,
2012 'unary_expr' => 302,
2013 'unary_operator' => 194,
2014 'scoped_name' => 198,
2015 'boolean_literal' => 209,
2016 'string_literal' => 195
2017 }
2018 },
2019 {#State 260
2020 ACTIONS => {
2021 "-" => 189,
2022 "::" => 67,
2023 'TRUE' => 201,
2024 'IDENTIFIER' => 58,
2025 "+" => 202,
2026 "~" => 190,
2027 'INTEGER_LITERAL' => 203,
2028 'FLOATING_PT_LITERAL' => 205,
2029 "(" => 199,
2030 'FALSE' => 192,
2031 'STRING_LITERAL' => 213,
2032 'CHARACTER_LITERAL' => 207
2033 },
2034 GOTOS => {
2035 'mult_expr' => 303,
2036 'scoped_name' => 198,
2037 'boolean_literal' => 209,
2038 'literal' => 191,
2039 'unary_expr' => 200,
2040 'primary_expr' => 212,
2041 'unary_operator' => 194,
2042 'string_literal' => 195
2043 }
2044 },
2045 {#State 261
2046 ACTIONS => {
2047 "-" => 189,
2048 "::" => 67,
2049 'TRUE' => 201,
2050 'IDENTIFIER' => 58,
2051 "+" => 202,
2052 "~" => 190,
2053 'INTEGER_LITERAL' => 203,
2054 'FLOATING_PT_LITERAL' => 205,
2055 "(" => 199,
2056 'FALSE' => 192,
2057 'STRING_LITERAL' => 213,
2058 'CHARACTER_LITERAL' => 207
2059 },
2060 GOTOS => {
2061 'mult_expr' => 304,
2062 'scoped_name' => 198,
2063 'boolean_literal' => 209,
2064 'literal' => 191,
2065 'unary_expr' => 200,
2066 'primary_expr' => 212,
2067 'unary_operator' => 194,
2068 'string_literal' => 195
2069 }
2070 },
2071 {#State 262
2072 DEFAULT => -187
2073 },
2074 {#State 263
2075 DEFAULT => -91
2076 },
2077 {#State 264
2078 ACTIONS => {
2079 "-" => 189,
2080 "::" => 67,
2081 'TRUE' => 201,
2082 'IDENTIFIER' => 58,
2083 "+" => 202,
2084 "~" => 190,
2085 'INTEGER_LITERAL' => 203,
2086 'FLOATING_PT_LITERAL' => 205,
2087 "(" => 199,
2088 'FALSE' => 192,
2089 'STRING_LITERAL' => 213,
2090 'CHARACTER_LITERAL' => 207
2091 },
2092 GOTOS => {
2093 'and_expr' => 305,
2094 'mult_expr' => 208,
2095 'shift_expr' => 204,
2096 'scoped_name' => 198,
2097 'boolean_literal' => 209,
2098 'add_expr' => 210,
2099 'literal' => 191,
2100 'primary_expr' => 212,
2101 'unary_expr' => 200,
2102 'unary_operator' => 194,
2103 'string_literal' => 195
2104 }
2105 },
2106 {#State 265
2107 DEFAULT => -185
2108 },
2109 {#State 266
2110 DEFAULT => -184
2111 },
2112 {#State 267
2113 ACTIONS => {
2114 "-" => 189,
2115 "::" => 67,
2116 'TRUE' => 201,
2117 'IDENTIFIER' => 58,
2118 "+" => 202,
2119 "~" => 190,
2120 'INTEGER_LITERAL' => 203,
2121 'FLOATING_PT_LITERAL' => 205,
2122 "(" => 199,
2123 'FALSE' => 192,
2124 'STRING_LITERAL' => 213,
2125 'error' => 306,
2126 'CHARACTER_LITERAL' => 207
2127 },
2128 GOTOS => {
2129 'and_expr' => 196,
2130 'or_expr' => 197,
2131 'mult_expr' => 208,
2132 'shift_expr' => 204,
2133 'scoped_name' => 198,
2134 'boolean_literal' => 209,
2135 'add_expr' => 210,
2136 'literal' => 191,
2137 'positive_int_const' => 307,
2138 'primary_expr' => 212,
2139 'unary_expr' => 200,
2140 'const_exp' => 193,
2141 'unary_operator' => 194,
2142 'xor_expr' => 214,
2143 'string_literal' => 195
2144 }
2145 },
2146 {#State 268
2147 DEFAULT => -245
2148 },
2149 {#State 269
2150 ACTIONS => {
2151 'IDENTIFIER' => 309,
2152 'error' => 131
2153 },
2154 GOTOS => {
2155 'simple_declarators' => 310,
2156 'simple_declarator' => 308
2157 }
2158 },
2159 {#State 270
2160 DEFAULT => -246
2161 },
2162 {#State 271
2163 DEFAULT => -244
2164 },
2165 {#State 272
2166 DEFAULT => -247
2167 },
2168 {#State 273
2169 DEFAULT => -196
2170 },
2171 {#State 274
2172 DEFAULT => -209
2173 },
2174 {#State 275
2175 DEFAULT => -210
2176 },
2177 {#State 276
2178 ACTIONS => {
2179 "::" => 67,
2180 'ENUM' => 2,
2181 'CHAR' => 68,
2182 'STRING' => 73,
2183 'OCTET' => 49,
2184 'UNION' => 10,
2185 'UNSIGNED' => 51,
2186 'ANY' => 52,
2187 'FLOAT' => 77,
2188 'LONG' => 54,
2189 'SEQUENCE' => 78,
2190 'IDENTIFIER' => 58,
2191 'DOUBLE' => 79,
2192 'SHORT' => 81,
2193 'BOOLEAN' => 82,
2194 'STRUCT' => 24,
2195 'VOID' => 268
2196 },
2197 GOTOS => {
2198 'union_type' => 47,
2199 'integer_type' => 70,
2200 'unsigned_int' => 72,
2201 'sequence_type' => 270,
2202 'enum_header' => 4,
2203 'op_param_type_spec' => 271,
2204 'unsigned_short_int' => 48,
2205 'struct_type' => 50,
2206 'union_header' => 9,
2207 'constr_type_spec' => 272,
2208 'struct_header' => 13,
2209 'floating_pt_type' => 76,
2210 'enum_type' => 55,
2211 'any_type' => 56,
2212 'base_type_spec' => 226,
2213 'unsigned_long_int' => 59,
2214 'scoped_name' => 221,
2215 'signed_int' => 83,
2216 'string_type' => 222,
2217 'char_type' => 62,
2218 'signed_long_int' => 64,
2219 'signed_short_int' => 65,
2220 'param_type_spec' => 311,
2221 'boolean_type' => 85,
2222 'octet_type' => 66
2223 }
2224 },
2225 {#State 277
2226 DEFAULT => -229
2227 },
2228 {#State 278
2229 DEFAULT => -228
2230 },
2231 {#State 279
2232 ACTIONS => {
2233 ";" => 312
2234 },
2235 DEFAULT => -223
2236 },
2237 {#State 280
2238 ACTIONS => {
2239 "," => 313,
2240 ")" => 314
2241 }
2242 },
2243 {#State 281
2244 ACTIONS => {
2245 ")" => 315
2246 }
2247 },
2248 {#State 282
2249 DEFAULT => -220
2250 },
2251 {#State 283
2252 ACTIONS => {
2253 ")" => 316
2254 }
2255 },
2256 {#State 284
2257 DEFAULT => -227
2258 },
2259 {#State 285
2260 ACTIONS => {
2261 "(" => 317,
2262 'error' => 318
2263 }
2264 },
2265 {#State 286
2266 ACTIONS => {
2267 'CONTEXT' => 320
2268 },
2269 DEFAULT => -241,
2270 GOTOS => {
2271 'context_expr' => 319
2272 }
2273 },
2274 {#State 287
2275 DEFAULT => -48
2276 },
2277 {#State 288
2278 DEFAULT => -49
2279 },
2280 {#State 289
2281 DEFAULT => -41
2282 },
2283 {#State 290
2284 DEFAULT => -151
2285 },
2286 {#State 291
2287 ACTIONS => {
2288 'DEFAULT' => 326,
2289 'error' => 324,
2290 'CASE' => 321
2291 },
2292 GOTOS => {
2293 'case_label' => 327,
2294 'switch_body' => 322,
2295 'case' => 323,
2296 'case_labels' => 325
2297 }
2298 },
2299 {#State 292
2300 DEFAULT => -194
2301 },
2302 {#State 293
2303 DEFAULT => -193
2304 },
2305 {#State 294
2306 ACTIONS => {
2307 "<<" => 255,
2308 ">>" => 254
2309 },
2310 DEFAULT => -65
2311 },
2312 {#State 295
2313 ACTIONS => {
2314 "^" => 264
2315 },
2316 DEFAULT => -61
2317 },
2318 {#State 296
2319 DEFAULT => -83
2320 },
2321 {#State 297
2322 DEFAULT => -84
2323 },
2324 {#State 298
2325 ACTIONS => {
2326 "-" => 260,
2327 "+" => 261
2328 },
2329 DEFAULT => -67
2330 },
2331 {#State 299
2332 ACTIONS => {
2333 "-" => 260,
2334 "+" => 261
2335 },
2336 DEFAULT => -68
2337 },
2338 {#State 300
2339 DEFAULT => -75
2340 },
2341 {#State 301
2342 DEFAULT => -73
2343 },
2344 {#State 302
2345 DEFAULT => -74
2346 },
2347 {#State 303
2348 ACTIONS => {
2349 "%" => 257,
2350 "*" => 258,
2351 "/" => 259
2352 },
2353 DEFAULT => -71
2354 },
2355 {#State 304
2356 ACTIONS => {
2357 "%" => 257,
2358 "*" => 258,
2359 "/" => 259
2360 },
2361 DEFAULT => -70
2362 },
2363 {#State 305
2364 ACTIONS => {
2365 "&" => 250
2366 },
2367 DEFAULT => -63
2368 },
2369 {#State 306
2370 ACTIONS => {
2371 ">" => 328
2372 }
2373 },
2374 {#State 307
2375 ACTIONS => {
2376 ">" => 329
2377 }
2378 },
2379 {#State 308
2380 ACTIONS => {
2381 "," => 330
2382 },
2383 DEFAULT => -199
2384 },
2385 {#State 309
2386 DEFAULT => -122
2387 },
2388 {#State 310
2389 DEFAULT => -195
2390 },
2391 {#State 311
2392 ACTIONS => {
2393 'IDENTIFIER' => 309,
2394 'error' => 131
2395 },
2396 GOTOS => {
2397 'simple_declarator' => 331
2398 }
2399 },
2400 {#State 312
2401 DEFAULT => -225
2402 },
2403 {#State 313
2404 ACTIONS => {
2405 ")" => 333,
2406 'INOUT' => 277,
2407 "..." => 334,
2408 'OUT' => 278,
2409 'IN' => 284
2410 },
2411 DEFAULT => -230,
2412 GOTOS => {
2413 'param_attribute' => 276,
2414 'param_dcl' => 332
2415 }
2416 },
2417 {#State 314
2418 DEFAULT => -217
2419 },
2420 {#State 315
2421 DEFAULT => -222
2422 },
2423 {#State 316
2424 DEFAULT => -221
2425 },
2426 {#State 317
2427 ACTIONS => {
2428 "::" => 67,
2429 'IDENTIFIER' => 58,
2430 'error' => 336
2431 },
2432 GOTOS => {
2433 'exception_names' => 337,
2434 'scoped_name' => 335,
2435 'exception_name' => 338
2436 }
2437 },
2438 {#State 318
2439 DEFAULT => -233
2440 },
2441 {#State 319
2442 DEFAULT => -207
2443 },
2444 {#State 320
2445 ACTIONS => {
2446 "(" => 339,
2447 'error' => 340
2448 }
2449 },
2450 {#State 321
2451 ACTIONS => {
2452 "-" => 189,
2453 "::" => 67,
2454 'TRUE' => 201,
2455 'IDENTIFIER' => 58,
2456 "+" => 202,
2457 "~" => 190,
2458 'INTEGER_LITERAL' => 203,
2459 'FLOATING_PT_LITERAL' => 205,
2460 "(" => 199,
2461 'FALSE' => 192,
2462 'STRING_LITERAL' => 213,
2463 'error' => 342,
2464 'CHARACTER_LITERAL' => 207
2465 },
2466 GOTOS => {
2467 'and_expr' => 196,
2468 'or_expr' => 197,
2469 'mult_expr' => 208,
2470 'shift_expr' => 204,
2471 'scoped_name' => 198,
2472 'boolean_literal' => 209,
2473 'add_expr' => 210,
2474 'literal' => 191,
2475 'primary_expr' => 212,
2476 'unary_expr' => 200,
2477 'unary_operator' => 194,
2478 'const_exp' => 341,
2479 'xor_expr' => 214,
2480 'string_literal' => 195
2481 }
2482 },
2483 {#State 322
2484 ACTIONS => {
2485 "}" => 343
2486 }
2487 },
2488 {#State 323
2489 ACTIONS => {
2490 'DEFAULT' => 326,
2491 'CASE' => 321
2492 },
2493 DEFAULT => -161,
2494 GOTOS => {
2495 'case_label' => 327,
2496 'switch_body' => 344,
2497 'case' => 323,
2498 'case_labels' => 325
2499 }
2500 },
2501 {#State 324
2502 ACTIONS => {
2503 "}" => 345
2504 }
2505 },
2506 {#State 325
2507 ACTIONS => {
2508 "::" => 67,
2509 'ENUM' => 2,
2510 'CHAR' => 68,
2511 'STRING' => 73,
2512 'OCTET' => 49,
2513 'UNION' => 10,
2514 'UNSIGNED' => 51,
2515 'ANY' => 52,
2516 'FLOAT' => 77,
2517 'LONG' => 54,
2518 'SEQUENCE' => 78,
2519 'IDENTIFIER' => 58,
2520 'DOUBLE' => 79,
2521 'SHORT' => 81,
2522 'BOOLEAN' => 82,
2523 'STRUCT' => 24,
2524 'VOID' => 63
2525 },
2526 GOTOS => {
2527 'union_type' => 47,
2528 'type_spec' => 347,
2529 'integer_type' => 70,
2530 'sequence_type' => 71,
2531 'unsigned_int' => 72,
2532 'enum_header' => 4,
2533 'unsigned_short_int' => 48,
2534 'struct_type' => 50,
2535 'union_header' => 9,
2536 'constr_type_spec' => 74,
2537 'struct_header' => 13,
2538 'floating_pt_type' => 76,
2539 'enum_type' => 55,
2540 'any_type' => 56,
2541 'template_type_spec' => 57,
2542 'base_type_spec' => 80,
2543 'element_spec' => 346,
2544 'unsigned_long_int' => 59,
2545 'scoped_name' => 60,
2546 'signed_int' => 83,
2547 'string_type' => 61,
2548 'simple_type_spec' => 84,
2549 'char_type' => 62,
2550 'signed_long_int' => 64,
2551 'signed_short_int' => 65,
2552 'boolean_type' => 85,
2553 'octet_type' => 66
2554 }
2555 },
2556 {#State 326
2557 ACTIONS => {
2558 ":" => 348,
2559 'error' => 349
2560 }
2561 },
2562 {#State 327
2563 ACTIONS => {
2564 'CASE' => 321,
2565 'DEFAULT' => 326
2566 },
2567 DEFAULT => -164,
2568 GOTOS => {
2569 'case_label' => 327,
2570 'case_labels' => 350
2571 }
2572 },
2573 {#State 328
2574 DEFAULT => -183
2575 },
2576 {#State 329
2577 DEFAULT => -182
2578 },
2579 {#State 330
2580 ACTIONS => {
2581 'IDENTIFIER' => 309,
2582 'error' => 131
2583 },
2584 GOTOS => {
2585 'simple_declarators' => 351,
2586 'simple_declarator' => 308
2587 }
2588 },
2589 {#State 331
2590 DEFAULT => -226
2591 },
2592 {#State 332
2593 DEFAULT => -224
2594 },
2595 {#State 333
2596 DEFAULT => -219
2597 },
2598 {#State 334
2599 ACTIONS => {
2600 ")" => 352
2601 }
2602 },
2603 {#State 335
2604 ACTIONS => {
2605 "::" => 125
2606 },
2607 DEFAULT => -237
2608 },
2609 {#State 336
2610 ACTIONS => {
2611 ")" => 353
2612 }
2613 },
2614 {#State 337
2615 ACTIONS => {
2616 ")" => 354
2617 }
2618 },
2619 {#State 338
2620 ACTIONS => {
2621 "," => 355
2622 },
2623 DEFAULT => -235
2624 },
2625 {#State 339
2626 ACTIONS => {
2627 'STRING_LITERAL' => 213,
2628 'error' => 358
2629 },
2630 GOTOS => {
2631 'string_literals' => 357,
2632 'string_literal' => 356
2633 }
2634 },
2635 {#State 340
2636 DEFAULT => -240
2637 },
2638 {#State 341
2639 ACTIONS => {
2640 ":" => 359,
2641 'error' => 360
2642 }
2643 },
2644 {#State 342
2645 DEFAULT => -168
2646 },
2647 {#State 343
2648 DEFAULT => -149
2649 },
2650 {#State 344
2651 DEFAULT => -162
2652 },
2653 {#State 345
2654 DEFAULT => -150
2655 },
2656 {#State 346
2657 ACTIONS => {
2658 ";" => 43,
2659 'error' => 44
2660 },
2661 GOTOS => {
2662 'check_semicolon' => 361
2663 }
2664 },
2665 {#State 347
2666 ACTIONS => {
2667 'IDENTIFIER' => 129,
2668 'error' => 131
2669 },
2670 GOTOS => {
2671 'array_declarator' => 133,
2672 'simple_declarator' => 128,
2673 'declarator' => 362,
2674 'complex_declarator' => 134
2675 }
2676 },
2677 {#State 348
2678 DEFAULT => -169
2679 },
2680 {#State 349
2681 DEFAULT => -170
2682 },
2683 {#State 350
2684 DEFAULT => -165
2685 },
2686 {#State 351
2687 DEFAULT => -200
2688 },
2689 {#State 352
2690 DEFAULT => -218
2691 },
2692 {#State 353
2693 DEFAULT => -232
2694 },
2695 {#State 354
2696 DEFAULT => -231
2697 },
2698 {#State 355
2699 ACTIONS => {
2700 "::" => 67,
2701 'IDENTIFIER' => 58
2702 },
2703 GOTOS => {
2704 'exception_names' => 363,
2705 'scoped_name' => 335,
2706 'exception_name' => 338
2707 }
2708 },
2709 {#State 356
2710 ACTIONS => {
2711 "," => 364
2712 },
2713 DEFAULT => -242
2714 },
2715 {#State 357
2716 ACTIONS => {
2717 ")" => 365
2718 }
2719 },
2720 {#State 358
2721 ACTIONS => {
2722 ")" => 366
2723 }
2724 },
2725 {#State 359
2726 DEFAULT => -166
2727 },
2728 {#State 360
2729 DEFAULT => -167
2730 },
2731 {#State 361
2732 DEFAULT => -163
2733 },
2734 {#State 362
2735 DEFAULT => -171
2736 },
2737 {#State 363
2738 DEFAULT => -236
2739 },
2740 {#State 364
2741 ACTIONS => {
2742 'STRING_LITERAL' => 213
2743 },
2744 GOTOS => {
2745 'string_literals' => 367,
2746 'string_literal' => 356
2747 }
2748 },
2749 {#State 365
2750 DEFAULT => -238
2751 },
2752 {#State 366
2753 DEFAULT => -239
2754 },
2755 {#State 367
2756 DEFAULT => -243
2757 }
2758 ],
2759 yyrules =>
2760 [
2761 [#Rule 0
2762 '$start', 2, undef
2763 ],
2764 [#Rule 1
2765 'specification', 1,
2766 sub
2767 #line 52 "Parser20.yp"
2768 {
2769 $_[0]->YYData->{root} = new CORBA::IDL::Specification($_[0],
2770 'list_decl' => $_[1],
2771 );
2772 }
2773 ],
2774 [#Rule 2
2775 'specification', 0,
2776 sub
2777 #line 58 "Parser20.yp"
2778 {
2779 $_[0]->Error("Empty specification.\n");
2780 }
2781 ],
2782 [#Rule 3
2783 'specification', 1,
2784 sub
2785 #line 62 "Parser20.yp"
2786 {
2787 $_[0]->Error("definition declaration expected.\n");
2788 }
2789 ],
2790 [#Rule 4
2791 'definitions', 1,
2792 sub
2793 #line 69 "Parser20.yp"
2794 {
2795 [$_[1]->getRef()];
2796 }
2797 ],
2798 [#Rule 5
2799 'definitions', 2,
2800 sub
2801 #line 73 "Parser20.yp"
2802 {
2803 unshift @{$_[2]}, $_[1]->getRef();
2804 $_[2];
2805 }
2806 ],
2807 [#Rule 6
2808 'definition', 2, undef
2809 ],
2810 [#Rule 7
2811 'definition', 2, undef
2812 ],
2813 [#Rule 8
2814 'definition', 2, undef
2815 ],
2816 [#Rule 9
2817 'definition', 2, undef
2818 ],
2819 [#Rule 10
2820 'definition', 2, undef
2821 ],
2822 [#Rule 11
2823 'definition', 3,
2824 sub
2825 #line 92 "Parser20.yp"
2826 {
2827 # when IDENTIFIER is a future keyword
2828 $_[0]->Error("'$_[1]' unexpected.\n");
2829 $_[0]->YYErrok();
2830 new CORBA::IDL::Node($_[0],
2831 'idf' => $_[1]
2832 );
2833 }
2834 ],
2835 [#Rule 12
2836 'check_semicolon', 1, undef
2837 ],
2838 [#Rule 13
2839 'check_semicolon', 1,
2840 sub
2841 #line 106 "Parser20.yp"
2842 {
2843 $_[0]->Warning("';' expected.\n");
2844 $_[0]->YYErrok();
2845 }
2846 ],
2847 [#Rule 14
2848 'module', 4,
2849 sub
2850 #line 115 "Parser20.yp"
2851 {
2852 $_[0]->YYData->{symbtab}->PopCurrentRoot($_[1]);
2853 $_[1]->Configure($_[0],
2854 'list_decl' => $_[3]
2855 ) if (defined $_[1]);
2856 }
2857 ],
2858 [#Rule 15
2859 'module', 4,
2860 sub
2861 #line 122 "Parser20.yp"
2862 {
2863 $_[0]->YYData->{symbtab}->PopCurrentRoot($_[1]);
2864 $_[0]->Error("definition declaration expected.\n");
2865 $_[0]->YYErrok();
2866 $_[1];
2867 }
2868 ],
2869 [#Rule 16
2870 'module', 3,
2871 sub
2872 #line 129 "Parser20.yp"
2873 {
2874 $_[0]->YYData->{symbtab}->PopCurrentRoot($_[1]);
2875 $_[0]->Error("Empty module.\n");
2876 $_[0]->YYErrok();
2877 $_[1];
2878 }
2879 ],
2880 [#Rule 17
2881 'module', 3,
2882 sub
2883 #line 136 "Parser20.yp"
2884 {
2885 $_[0]->YYData->{symbtab}->PopCurrentRoot($_[1]);
2886 $_[0]->Error("'\x7b' expected.\n");
2887 $_[0]->YYErrok();
2888 $_[1];
2889 }
2890 ],
2891 [#Rule 18
2892 'module_header', 2,
2893 sub
2894 #line 146 "Parser20.yp"
2895 {
2896 new CORBA::IDL::Module($_[0],
2897 'idf' => $_[2],
2898 );
2899 }
2900 ],
2901 [#Rule 19
2902 'module_header', 2,
2903 sub
2904 #line 152 "Parser20.yp"
2905 {
2906 $_[0]->Error("Identifier expected.\n");
2907 $_[0]->YYErrok();
2908 }
2909 ],
2910 [#Rule 20
2911 'interface', 1, undef
2912 ],
2913 [#Rule 21
2914 'interface', 1, undef
2915 ],
2916 [#Rule 22
2917 'interface_dcl', 3,
2918 sub
2919 #line 169 "Parser20.yp"
2920 {
2921 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
2922 $_[0]->YYData->{curr_itf} = undef;
2923 $_[1]->Configure($_[0],
2924 'list_decl' => []
2925 ) if (defined $_[1]);
2926 }
2927 ],
2928 [#Rule 23
2929 'interface_dcl', 4,
2930 sub
2931 #line 177 "Parser20.yp"
2932 {
2933 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
2934 $_[0]->YYData->{curr_itf} = undef;
2935 $_[1]->Configure($_[0],
2936 'list_decl' => $_[3]
2937 ) if (defined $_[1]);
2938 }
2939 ],
2940 [#Rule 24
2941 'interface_dcl', 4,
2942 sub
2943 #line 185 "Parser20.yp"
2944 {
2945 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
2946 $_[0]->YYData->{curr_itf} = undef;
2947 $_[0]->Error("export declaration expected.\n");
2948 $_[0]->YYErrok();
2949 $_[1];
2950 }
2951 ],
2952 [#Rule 25
2953 'forward_dcl', 2,
2954 sub
2955 #line 197 "Parser20.yp"
2956 {
2957 new CORBA::IDL::ForwardRegularInterface($_[0],
2958 'idf' => $_[2]
2959 );
2960 }
2961 ],
2962 [#Rule 26
2963 'forward_dcl', 2,
2964 sub
2965 #line 203 "Parser20.yp"
2966 {
2967 $_[0]->Error("Identifier expected.\n");
2968 $_[0]->YYErrok();
2969 }
2970 ],
2971 [#Rule 27
2972 'interface_header', 3,
2973 sub
2974 #line 212 "Parser20.yp"
2975 {
2976 new CORBA::IDL::RegularInterface($_[0],
2977 'idf' => $_[2],
2978 'inheritance' => $_[3]
2979 );
2980 }
2981 ],
2982 [#Rule 28
2983 'interface_header', 2,
2984 sub
2985 #line 219 "Parser20.yp"
2986 {
2987 $_[0]->Error("Identifier expected.\n");
2988 $_[0]->YYErrok();
2989 }
2990 ],
2991 [#Rule 29
2992 'interface_body', 1, undef
2993 ],
2994 [#Rule 30
2995 'exports', 1,
2996 sub
2997 #line 233 "Parser20.yp"
2998 {
2999 [$_[1]->getRef()];
3000 }
3001 ],
3002 [#Rule 31
3003 'exports', 2,
3004 sub
3005 #line 237 "Parser20.yp"
3006 {
3007 unshift @{$_[2]}, $_[1]->getRef();
3008 $_[2];
3009 }
3010 ],
3011 [#Rule 32
3012 'export', 2, undef
3013 ],
3014 [#Rule 33
3015 'export', 2, undef
3016 ],
3017 [#Rule 34
3018 'export', 2, undef
3019 ],
3020 [#Rule 35
3021 'export', 2, undef
3022 ],
3023 [#Rule 36
3024 'export', 2, undef
3025 ],
3026 [#Rule 37
3027 'interface_inheritance_spec', 2,
3028 sub
3029 #line 260 "Parser20.yp"
3030 {
3031 new CORBA::IDL::InheritanceSpec($_[0],
3032 'list_interface' => $_[2]
3033 );
3034 }
3035 ],
3036 [#Rule 38
3037 'interface_inheritance_spec', 2,
3038 sub
3039 #line 266 "Parser20.yp"
3040 {
3041 $_[0]->Error("Interface name expected.\n");
3042 $_[0]->YYErrok();
3043 }
3044 ],
3045 [#Rule 39
3046 'interface_inheritance_spec', 0, undef
3047 ],
3048 [#Rule 40
3049 'interface_names', 1,
3050 sub
3051 #line 276 "Parser20.yp"
3052 {
3053 [$_[1]];
3054 }
3055 ],
3056 [#Rule 41
3057 'interface_names', 3,
3058 sub
3059 #line 280 "Parser20.yp"
3060 {
3061 unshift @{$_[3]}, $_[1];
3062 $_[3];
3063 }
3064 ],
3065 [#Rule 42
3066 'interface_name', 1,
3067 sub
3068 #line 288 "Parser20.yp"
3069 {
3070 CORBA::IDL::Interface->Lookup($_[0], $_[1]);
3071 }
3072 ],
3073 [#Rule 43
3074 'scoped_name', 1, undef
3075 ],
3076 [#Rule 44
3077 'scoped_name', 2,
3078 sub
3079 #line 298 "Parser20.yp"
3080 {
3081 $_[1] . $_[2];
3082 }
3083 ],
3084 [#Rule 45
3085 'scoped_name', 2,
3086 sub
3087 #line 302 "Parser20.yp"
3088 {
3089 $_[0]->Error("Identifier expected.\n");
3090 $_[0]->YYErrok();
3091 '';
3092 }
3093 ],
3094 [#Rule 46
3095 'scoped_name', 3,
3096 sub
3097 #line 308 "Parser20.yp"
3098 {
3099 $_[1] . $_[2] . $_[3];
3100 }
3101 ],
3102 [#Rule 47
3103 'scoped_name', 3,
3104 sub
3105 #line 312 "Parser20.yp"
3106 {
3107 $_[0]->Error("Identifier expected.\n");
3108 $_[0]->YYErrok();
3109 $_[1];
3110 }
3111 ],
3112 [#Rule 48
3113 'const_dcl', 5,
3114 sub
3115 #line 322 "Parser20.yp"
3116 {
3117 new CORBA::IDL::Constant($_[0],
3118 'type' => $_[2],
3119 'idf' => $_[3],
3120 'list_expr' => $_[5]
3121 );
3122 }
3123 ],
3124 [#Rule 49
3125 'const_dcl', 5,
3126 sub
3127 #line 330 "Parser20.yp"
3128 {
3129 $_[0]->Error("Expression expected.\n");
3130 $_[0]->YYErrok();
3131 }
3132 ],
3133 [#Rule 50
3134 'const_dcl', 4,
3135 sub
3136 #line 335 "Parser20.yp"
3137 {
3138 $_[0]->Error("'=' expected.\n");
3139 $_[0]->YYErrok();
3140 }
3141 ],
3142 [#Rule 51
3143 'const_dcl', 3,
3144 sub
3145 #line 340 "Parser20.yp"
3146 {
3147 $_[0]->Error("Identifier expected.\n");
3148 $_[0]->YYErrok();
3149 }
3150 ],
3151 [#Rule 52
3152 'const_dcl', 2,
3153 sub
3154 #line 345 "Parser20.yp"
3155 {
3156 $_[0]->Error("const_type expected.\n");
3157 $_[0]->YYErrok();
3158 }
3159 ],
3160 [#Rule 53
3161 'const_type', 1, undef
3162 ],
3163 [#Rule 54
3164 'const_type', 1, undef
3165 ],
3166 [#Rule 55
3167 'const_type', 1, undef
3168 ],
3169 [#Rule 56
3170 'const_type', 1, undef
3171 ],
3172 [#Rule 57
3173 'const_type', 1, undef
3174 ],
3175 [#Rule 58
3176 'const_type', 1,
3177 sub
3178 #line 364 "Parser20.yp"
3179 {
3180 CORBA::IDL::TypeDeclarator->Lookup($_[0], $_[1]);
3181 }
3182 ],
3183 [#Rule 59
3184 'const_exp', 1, undef
3185 ],
3186 [#Rule 60
3187 'or_expr', 1, undef
3188 ],
3189 [#Rule 61
3190 'or_expr', 3,
3191 sub
3192 #line 380 "Parser20.yp"
3193 {
3194 BuildBinop($_[1], $_[2], $_[3]);
3195 }
3196 ],
3197 [#Rule 62
3198 'xor_expr', 1, undef
3199 ],
3200 [#Rule 63
3201 'xor_expr', 3,
3202 sub
3203 #line 390 "Parser20.yp"
3204 {
3205 BuildBinop($_[1], $_[2], $_[3]);
3206 }
3207 ],
3208 [#Rule 64
3209 'and_expr', 1, undef
3210 ],
3211 [#Rule 65
3212 'and_expr', 3,
3213 sub
3214 #line 400 "Parser20.yp"
3215 {
3216 BuildBinop($_[1], $_[2], $_[3]);
3217 }
3218 ],
3219 [#Rule 66
3220 'shift_expr', 1, undef
3221 ],
3222 [#Rule 67
3223 'shift_expr', 3,
3224 sub
3225 #line 410 "Parser20.yp"
3226 {
3227 BuildBinop($_[1], $_[2], $_[3]);
3228 }
3229 ],
3230 [#Rule 68
3231 'shift_expr', 3,
3232 sub
3233 #line 414 "Parser20.yp"
3234 {
3235 BuildBinop($_[1], $_[2], $_[3]);
3236 }
3237 ],
3238 [#Rule 69
3239 'add_expr', 1, undef
3240 ],
3241 [#Rule 70
3242 'add_expr', 3,
3243 sub
3244 #line 424 "Parser20.yp"
3245 {
3246 BuildBinop($_[1], $_[2], $_[3]);
3247 }
3248 ],
3249 [#Rule 71
3250 'add_expr', 3,
3251 sub
3252 #line 428 "Parser20.yp"
3253 {
3254 BuildBinop($_[1], $_[2], $_[3]);
3255 }
3256 ],
3257 [#Rule 72
3258 'mult_expr', 1, undef
3259 ],
3260 [#Rule 73
3261 'mult_expr', 3,
3262 sub
3263 #line 438 "Parser20.yp"
3264 {
3265 BuildBinop($_[1], $_[2], $_[3]);
3266 }
3267 ],
3268 [#Rule 74
3269 'mult_expr', 3,
3270 sub
3271 #line 442 "Parser20.yp"
3272 {
3273 BuildBinop($_[1], $_[2], $_[3]);
3274 }
3275 ],
3276 [#Rule 75
3277 'mult_expr', 3,
3278 sub
3279 #line 446 "Parser20.yp"
3280 {
3281 BuildBinop($_[1], $_[2], $_[3]);
3282 }
3283 ],
3284 [#Rule 76
3285 'unary_expr', 2,
3286 sub
3287 #line 454 "Parser20.yp"
3288 {
3289 BuildUnop($_[1], $_[2]);
3290 }
3291 ],
3292 [#Rule 77
3293 'unary_expr', 1, undef
3294 ],
3295 [#Rule 78
3296 'unary_operator', 1, undef
3297 ],
3298 [#Rule 79
3299 'unary_operator', 1, undef
3300 ],
3301 [#Rule 80
3302 'unary_operator', 1, undef
3303 ],
3304 [#Rule 81
3305 'primary_expr', 1,
3306 sub
3307 #line 474 "Parser20.yp"
3308 {
3309 [
3310 CORBA::IDL::Constant->Lookup($_[0], $_[1])
3311 ];
3312 }
3313 ],
3314 [#Rule 82
3315 'primary_expr', 1,
3316 sub
3317 #line 480 "Parser20.yp"
3318 {
3319 [ $_[1] ];
3320 }
3321 ],
3322 [#Rule 83
3323 'primary_expr', 3,
3324 sub
3325 #line 484 "Parser20.yp"
3326 {
3327 $_[2];
3328 }
3329 ],
3330 [#Rule 84
3331 'primary_expr', 3,
3332 sub
3333 #line 488 "Parser20.yp"
3334 {
3335 $_[0]->Error("Expression expected.\n");
3336 $_[0]->YYErrok();
3337 }
3338 ],
3339 [#Rule 85
3340 'literal', 1,
3341 sub
3342 #line 497 "Parser20.yp"
3343 {
3344 new CORBA::IDL::IntegerLiteral($_[0],
3345 'value' => $_[1],
3346 'lexeme' => $_[0]->YYData->{lexeme}
3347 );
3348 }
3349 ],
3350 [#Rule 86
3351 'literal', 1,
3352 sub
3353 #line 504 "Parser20.yp"
3354 {
3355 new CORBA::IDL::StringLiteral($_[0],
3356 'value' => $_[1]
3357 );
3358 }
3359 ],
3360 [#Rule 87
3361 'literal', 1,
3362 sub
3363 #line 510 "Parser20.yp"
3364 {
3365 new CORBA::IDL::CharacterLiteral($_[0],
3366 'value' => $_[1]
3367 );
3368 }
3369 ],
3370 [#Rule 88
3371 'literal', 1,
3372 sub
3373 #line 516 "Parser20.yp"
3374 {
3375 new CORBA::IDL::FloatingPtLiteral($_[0],
3376 'value' => $_[1],
3377 'lexeme' => $_[0]->YYData->{lexeme}
3378 );
3379 }
3380 ],
3381 [#Rule 89
3382 'literal', 1, undef
3383 ],
3384 [#Rule 90
3385 'string_literal', 1, undef
3386 ],
3387 [#Rule 91
3388 'string_literal', 2,
3389 sub
3390 #line 530 "Parser20.yp"
3391 {
3392 $_[1] . $_[2];
3393 }
3394 ],
3395 [#Rule 92
3396 'boolean_literal', 1,
3397 sub
3398 #line 538 "Parser20.yp"
3399 {
3400 new CORBA::IDL::BooleanLiteral($_[0],
3401 'value' => $_[1]
3402 );
3403 }
3404 ],
3405 [#Rule 93
3406 'boolean_literal', 1,
3407 sub
3408 #line 544 "Parser20.yp"
3409 {
3410 new CORBA::IDL::BooleanLiteral($_[0],
3411 'value' => $_[1]
3412 );
3413 }
3414 ],
3415 [#Rule 94
3416 'positive_int_const', 1,
3417 sub
3418 #line 554 "Parser20.yp"
3419 {
3420 new CORBA::IDL::Expression($_[0],
3421 'list_expr' => $_[1]
3422 );
3423 }
3424 ],
3425 [#Rule 95
3426 'type_dcl', 2,
3427 sub
3428 #line 564 "Parser20.yp"
3429 {
3430 $_[2];
3431 }
3432 ],
3433 [#Rule 96
3434 'type_dcl', 1, undef
3435 ],
3436 [#Rule 97
3437 'type_dcl', 1, undef
3438 ],
3439 [#Rule 98
3440 'type_dcl', 1, undef
3441 ],
3442 [#Rule 99
3443 'type_dcl', 2,
3444 sub
3445 #line 574 "Parser20.yp"
3446 {
3447 $_[0]->Error("type_declarator expected.\n");
3448 $_[0]->YYErrok();
3449 }
3450 ],
3451 [#Rule 100
3452 'type_declarator', 2,
3453 sub
3454 #line 583 "Parser20.yp"
3455 {
3456 new CORBA::IDL::TypeDeclarators($_[0],
3457 'type' => $_[1],
3458 'list_expr' => $_[2]
3459 );
3460 }
3461 ],
3462 [#Rule 101
3463 'type_spec', 1, undef
3464 ],
3465 [#Rule 102
3466 'type_spec', 1, undef
3467 ],
3468 [#Rule 103
3469 'simple_type_spec', 1, undef
3470 ],
3471 [#Rule 104
3472 'simple_type_spec', 1, undef
3473 ],
3474 [#Rule 105
3475 'simple_type_spec', 1,
3476 sub
3477 #line 606 "Parser20.yp"
3478 {
3479 CORBA::IDL::TypeDeclarator->Lookup($_[0], $_[1]);
3480 }
3481 ],
3482 [#Rule 106
3483 'simple_type_spec', 1,
3484 sub
3485 #line 610 "Parser20.yp"
3486 {
3487 $_[0]->Error("simple_type_spec expected.\n");
3488 new CORBA::IDL::VoidType($_[0],
3489 'value' => $_[1]
3490 );
3491 }
3492 ],
3493 [#Rule 107
3494 'base_type_spec', 1, undef
3495 ],
3496 [#Rule 108
3497 'base_type_spec', 1, undef
3498 ],
3499 [#Rule 109
3500 'base_type_spec', 1, undef
3501 ],
3502 [#Rule 110
3503 'base_type_spec', 1, undef
3504 ],
3505 [#Rule 111
3506 'base_type_spec', 1, undef
3507 ],
3508 [#Rule 112
3509 'base_type_spec', 1, undef
3510 ],
3511 [#Rule 113
3512 'template_type_spec', 1, undef
3513 ],
3514 [#Rule 114
3515 'template_type_spec', 1, undef
3516 ],
3517 [#Rule 115
3518 'constr_type_spec', 1, undef
3519 ],
3520 [#Rule 116
3521 'constr_type_spec', 1, undef
3522 ],
3523 [#Rule 117
3524 'constr_type_spec', 1, undef
3525 ],
3526 [#Rule 118
3527 'declarators', 1,
3528 sub
3529 #line 655 "Parser20.yp"
3530 {
3531 [$_[1]];
3532 }
3533 ],
3534 [#Rule 119
3535 'declarators', 3,
3536 sub
3537 #line 659 "Parser20.yp"
3538 {
3539 unshift @{$_[3]}, $_[1];
3540 $_[3];
3541 }
3542 ],
3543 [#Rule 120
3544 'declarator', 1,
3545 sub
3546 #line 668 "Parser20.yp"
3547 {
3548 [$_[1]];
3549 }
3550 ],
3551 [#Rule 121
3552 'declarator', 1, undef
3553 ],
3554 [#Rule 122
3555 'simple_declarator', 1, undef
3556 ],
3557 [#Rule 123
3558 'simple_declarator', 2,
3559 sub
3560 #line 680 "Parser20.yp"
3561 {
3562 $_[0]->Error("Identifier expected.\n");
3563 $_[0]->YYErrok();
3564 }
3565 ],
3566 [#Rule 124
3567 'simple_declarator', 2,
3568 sub
3569 #line 685 "Parser20.yp"
3570 {
3571 $_[0]->Error("Identifier expected.\n");
3572 $_[0]->YYErrok();
3573 }
3574 ],
3575 [#Rule 125
3576 'complex_declarator', 1, undef
3577 ],
3578 [#Rule 126
3579 'floating_pt_type', 1,
3580 sub
3581 #line 700 "Parser20.yp"
3582 {
3583 new CORBA::IDL::FloatingPtType($_[0],
3584 'value' => $_[1]
3585 );
3586 }
3587 ],
3588 [#Rule 127
3589 'floating_pt_type', 1,
3590 sub
3591 #line 706 "Parser20.yp"
3592 {
3593 new CORBA::IDL::FloatingPtType($_[0],
3594 'value' => $_[1]
3595 );
3596 }
3597 ],
3598 [#Rule 128
3599 'integer_type', 1, undef
3600 ],
3601 [#Rule 129
3602 'integer_type', 1, undef
3603 ],
3604 [#Rule 130
3605 'signed_int', 1, undef
3606 ],
3607 [#Rule 131
3608 'signed_int', 1, undef
3609 ],
3610 [#Rule 132
3611 'signed_long_int', 1,
3612 sub
3613 #line 732 "Parser20.yp"
3614 {
3615 new CORBA::IDL::IntegerType($_[0],
3616 'value' => $_[1]
3617 );
3618 }
3619 ],
3620 [#Rule 133
3621 'signed_short_int', 1,
3622 sub
3623 #line 742 "Parser20.yp"
3624 {
3625 new CORBA::IDL::IntegerType($_[0],
3626 'value' => $_[1]
3627 );
3628 }
3629 ],
3630 [#Rule 134
3631 'unsigned_int', 1, undef
3632 ],
3633 [#Rule 135
3634 'unsigned_int', 1, undef
3635 ],
3636 [#Rule 136
3637 'unsigned_long_int', 2,
3638 sub
3639 #line 760 "Parser20.yp"
3640 {
3641 new CORBA::IDL::IntegerType($_[0],
3642 'value' => $_[1] . q{ } . $_[2]
3643 );
3644 }
3645 ],
3646 [#Rule 137
3647 'unsigned_short_int', 2,
3648 sub
3649 #line 770 "Parser20.yp"
3650 {
3651 new CORBA::IDL::IntegerType($_[0],
3652 'value' => $_[1] . q{ } . $_[2]
3653 );
3654 }
3655 ],
3656 [#Rule 138
3657 'char_type', 1,
3658 sub
3659 #line 780 "Parser20.yp"
3660 {
3661 new CORBA::IDL::CharType($_[0],
3662 'value' => $_[1]
3663 );
3664 }
3665 ],
3666 [#Rule 139
3667 'boolean_type', 1,
3668 sub
3669 #line 790 "Parser20.yp"
3670 {
3671 new CORBA::IDL::BooleanType($_[0],
3672 'value' => $_[1]
3673 );
3674 }
3675 ],
3676 [#Rule 140
3677 'octet_type', 1,
3678 sub
3679 #line 800 "Parser20.yp"
3680 {
3681 new CORBA::IDL::OctetType($_[0],
3682 'value' => $_[1]
3683 );
3684 }
3685 ],
3686 [#Rule 141
3687 'any_type', 1,
3688 sub
3689 #line 810 "Parser20.yp"
3690 {
3691 new CORBA::IDL::AnyType($_[0],
3692 'value' => $_[1]
3693 );
3694 }
3695 ],
3696 [#Rule 142
3697 'struct_type', 4,
3698 sub
3699 #line 820 "Parser20.yp"
3700 {
3701 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
3702 $_[1]->Configure($_[0],
3703 'list_expr' => $_[3]
3704 ) if (defined $_[1]);
3705 }
3706 ],
3707 [#Rule 143
3708 'struct_type', 4,
3709 sub
3710 #line 827 "Parser20.yp"
3711 {
3712 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
3713 $_[0]->Error("member expected.\n");
3714 $_[0]->YYErrok();
3715 $_[1];
3716 }
3717 ],
3718 [#Rule 144
3719 'struct_header', 2,
3720 sub
3721 #line 837 "Parser20.yp"
3722 {
3723 new CORBA::IDL::StructType($_[0],
3724 'idf' => $_[2]
3725 );
3726 }
3727 ],
3728 [#Rule 145
3729 'struct_header', 4,
3730 sub
3731 #line 843 "Parser20.yp"
3732 {
3733 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
3734 $_[0]->Error("member expected.\n");
3735 $_[0]->YYErrok();
3736 }
3737 ],
3738 [#Rule 146
3739 'member_list', 1,
3740 sub
3741 #line 853 "Parser20.yp"
3742 {
3743 [$_[1]];
3744 }
3745 ],
3746 [#Rule 147
3747 'member_list', 2,
3748 sub
3749 #line 857 "Parser20.yp"
3750 {
3751 unshift @{$_[2]}, $_[1];
3752 $_[2];
3753 }
3754 ],
3755 [#Rule 148
3756 'member', 3,
3757 sub
3758 #line 866 "Parser20.yp"
3759 {
3760 new CORBA::IDL::Members($_[0],
3761 'type' => $_[1],
3762 'list_expr' => $_[2]
3763 );
3764 }
3765 ],
3766 [#Rule 149
3767 'union_type', 8,
3768 sub
3769 #line 877 "Parser20.yp"
3770 {
3771 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
3772 $_[1]->Configure($_[0],
3773 'type' => $_[4],
3774 'list_expr' => $_[7]
3775 ) if (defined $_[1]);
3776 }
3777 ],
3778 [#Rule 150
3779 'union_type', 8,
3780 sub
3781 #line 885 "Parser20.yp"
3782 {
3783 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
3784 $_[0]->Error("switch_body expected.\n");
3785 $_[0]->YYErrok();
3786 $_[1];
3787 }
3788 ],
3789 [#Rule 151
3790 'union_type', 6,
3791 sub
3792 #line 892 "Parser20.yp"
3793 {
3794 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
3795 $_[0]->Error("'\x7b' expected.\n");
3796 $_[0]->YYErrok();
3797 $_[1];
3798 }
3799 ],
3800 [#Rule 152
3801 'union_type', 5,
3802 sub
3803 #line 899 "Parser20.yp"
3804 {
3805 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
3806 $_[0]->Error("switch_type_spec expected.\n");
3807 $_[0]->YYErrok();
3808 $_[1];
3809 }
3810 ],
3811 [#Rule 153
3812 'union_type', 3,
3813 sub
3814 #line 906 "Parser20.yp"
3815 {
3816 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
3817 $_[0]->Error("'(' expected.\n");
3818 $_[0]->YYErrok();
3819 $_[1];
3820 }
3821 ],
3822 [#Rule 154
3823 'union_header', 2,
3824 sub
3825 #line 916 "Parser20.yp"
3826 {
3827 new CORBA::IDL::UnionType($_[0],
3828 'idf' => $_[2],
3829 );
3830 }
3831 ],
3832 [#Rule 155
3833 'union_header', 2,
3834 sub
3835 #line 922 "Parser20.yp"
3836 {
3837 $_[0]->Error("Identifier expected.\n");
3838 $_[0]->YYErrok();
3839 }
3840 ],
3841 [#Rule 156
3842 'switch_type_spec', 1, undef
3843 ],
3844 [#Rule 157
3845 'switch_type_spec', 1, undef
3846 ],
3847 [#Rule 158
3848 'switch_type_spec', 1, undef
3849 ],
3850 [#Rule 159
3851 'switch_type_spec', 1, undef
3852 ],
3853 [#Rule 160
3854 'switch_type_spec', 1,
3855 sub
3856 #line 939 "Parser20.yp"
3857 {
3858 CORBA::IDL::TypeDeclarator->Lookup($_[0], $_[1]);
3859 }
3860 ],
3861 [#Rule 161
3862 'switch_body', 1,
3863 sub
3864 #line 947 "Parser20.yp"
3865 {
3866 [$_[1]];
3867 }
3868 ],
3869 [#Rule 162
3870 'switch_body', 2,
3871 sub
3872 #line 951 "Parser20.yp"
3873 {
3874 unshift @{$_[2]}, $_[1];
3875 $_[2];
3876 }
3877 ],
3878 [#Rule 163
3879 'case', 3,
3880 sub
3881 #line 960 "Parser20.yp"
3882 {
3883 new CORBA::IDL::Case($_[0],
3884 'list_label' => $_[1],
3885 'element' => $_[2]
3886 );
3887 }
3888 ],
3889 [#Rule 164
3890 'case_labels', 1,
3891 sub
3892 #line 970 "Parser20.yp"
3893 {
3894 [$_[1]];
3895 }
3896 ],
3897 [#Rule 165
3898 'case_labels', 2,
3899 sub
3900 #line 974 "Parser20.yp"
3901 {
3902 unshift @{$_[2]}, $_[1];
3903 $_[2];
3904 }
3905 ],
3906 [#Rule 166
3907 'case_label', 3,
3908 sub
3909 #line 983 "Parser20.yp"
3910 {
3911 $_[2]; # here only a expression, type is not known
3912 }
3913 ],
3914 [#Rule 167
3915 'case_label', 3,
3916 sub
3917 #line 987 "Parser20.yp"
3918 {
3919 $_[0]->Error("':' expected.\n");
3920 $_[0]->YYErrok();
3921 $_[2];
3922 }
3923 ],
3924 [#Rule 168
3925 'case_label', 2,
3926 sub
3927 #line 993 "Parser20.yp"
3928 {
3929 $_[0]->Error("Expression expected.\n");
3930 $_[0]->YYErrok();
3931 }
3932 ],
3933 [#Rule 169
3934 'case_label', 2,
3935 sub
3936 #line 998 "Parser20.yp"
3937 {
3938 new CORBA::IDL::Default($_[0]);
3939 }
3940 ],
3941 [#Rule 170
3942 'case_label', 2,
3943 sub
3944 #line 1002 "Parser20.yp"
3945 {
3946 $_[0]->Error("':' expected.\n");
3947 $_[0]->YYErrok();
3948 new CORBA::IDL::Default($_[0]);
3949 }
3950 ],
3951 [#Rule 171
3952 'element_spec', 2,
3953 sub
3954 #line 1012 "Parser20.yp"
3955 {
3956 new CORBA::IDL::Element($_[0],
3957 'type' => $_[1],
3958 'list_expr' => $_[2]
3959 );
3960 }
3961 ],
3962 [#Rule 172
3963 'enum_type', 4,
3964 sub
3965 #line 1023 "Parser20.yp"
3966 {
3967 $_[1]->Configure($_[0],
3968 'list_expr' => $_[3]
3969 ) if (defined $_[1]);
3970 }
3971 ],
3972 [#Rule 173
3973 'enum_type', 4,
3974 sub
3975 #line 1029 "Parser20.yp"
3976 {
3977 $_[0]->Error("enumerator expected.\n");
3978 $_[0]->YYErrok();
3979 $_[1];
3980 }
3981 ],
3982 [#Rule 174
3983 'enum_type', 2,
3984 sub
3985 #line 1035 "Parser20.yp"
3986 {
3987 $_[0]->Error("'\x7b' expected.\n");
3988 $_[0]->YYErrok();
3989 $_[1];
3990 }
3991 ],
3992 [#Rule 175
3993 'enum_header', 2,
3994 sub
3995 #line 1044 "Parser20.yp"
3996 {
3997 new CORBA::IDL::EnumType($_[0],
3998 'idf' => $_[2],
3999 );
4000 }
4001 ],
4002 [#Rule 176
4003 'enum_header', 2,
4004 sub
4005 #line 1050 "Parser20.yp"
4006 {
4007 $_[0]->Error("Identifier expected.\n");
4008 $_[0]->YYErrok();
4009 }
4010 ],
4011 [#Rule 177
4012 'enumerators', 1,
4013 sub
4014 #line 1058 "Parser20.yp"
4015 {
4016 [$_[1]];
4017 }
4018 ],
4019 [#Rule 178
4020 'enumerators', 3,
4021 sub
4022 #line 1062 "Parser20.yp"
4023 {
4024 unshift @{$_[3]}, $_[1];
4025 $_[3];
4026 }
4027 ],
4028 [#Rule 179
4029 'enumerators', 2,
4030 sub
4031 #line 1067 "Parser20.yp"
4032 {
4033 $_[0]->Warning("',' unexpected.\n");
4034 [$_[1]];
4035 }
4036 ],
4037 [#Rule 180
4038 'enumerators', 2,
4039 sub
4040 #line 1072 "Parser20.yp"
4041 {
4042 $_[0]->Error("';' unexpected.\n");
4043 [$_[1]];
4044 }
4045 ],
4046 [#Rule 181
4047 'enumerator', 1,
4048 sub
4049 #line 1081 "Parser20.yp"
4050 {
4051 new CORBA::IDL::Enum($_[0],
4052 'idf' => $_[1]
4053 );
4054 }
4055 ],
4056 [#Rule 182
4057 'sequence_type', 6,
4058 sub
4059 #line 1091 "Parser20.yp"
4060 {
4061 new CORBA::IDL::SequenceType($_[0],
4062 'value' => $_[1],
4063 'type' => $_[3],
4064 'max' => $_[5]
4065 );
4066 }
4067 ],
4068 [#Rule 183
4069 'sequence_type', 6,
4070 sub
4071 #line 1099 "Parser20.yp"
4072 {
4073 $_[0]->Error("Expression expected.\n");
4074 $_[0]->YYErrok();
4075 }
4076 ],
4077 [#Rule 184
4078 'sequence_type', 4,
4079 sub
4080 #line 1104 "Parser20.yp"
4081 {
4082 new CORBA::IDL::SequenceType($_[0],
4083 'value' => $_[1],
4084 'type' => $_[3]
4085 );
4086 }
4087 ],
4088 [#Rule 185
4089 'sequence_type', 4,
4090 sub
4091 #line 1111 "Parser20.yp"
4092 {
4093 $_[0]->Error("simple_type_spec expected.\n");
4094 $_[0]->YYErrok();
4095 }
4096 ],
4097 [#Rule 186
4098 'sequence_type', 2,
4099 sub
4100 #line 1116 "Parser20.yp"
4101 {
4102 $_[0]->Error("'<' expected.\n");
4103 $_[0]->YYErrok();
4104 }
4105 ],
4106 [#Rule 187
4107 'string_type', 4,
4108 sub
4109 #line 1125 "Parser20.yp"
4110 {
4111 new CORBA::IDL::StringType($_[0],
4112 'value' => $_[1],
4113 'max' => $_[3]
4114 );
4115 }
4116 ],
4117 [#Rule 188
4118 'string_type', 1,
4119 sub
4120 #line 1132 "Parser20.yp"
4121 {
4122 new CORBA::IDL::StringType($_[0],
4123 'value' => $_[1]
4124 );
4125 }
4126 ],
4127 [#Rule 189
4128 'string_type', 4,
4129 sub
4130 #line 1138 "Parser20.yp"
4131 {
4132 $_[0]->Error("Expression expected.\n");
4133 $_[0]->YYErrok();
4134 }
4135 ],
4136 [#Rule 190
4137 'array_declarator', 2,
4138 sub
4139 #line 1147 "Parser20.yp"
4140 {
4141 unshift @{$_[2]}, $_[1];
4142 $_[2];
4143 }
4144 ],
4145 [#Rule 191
4146 'fixed_array_sizes', 1,
4147 sub
4148 #line 1155 "Parser20.yp"
4149 {
4150 [$_[1]];
4151 }
4152 ],
4153 [#Rule 192
4154 'fixed_array_sizes', 2,
4155 sub
4156 #line 1159 "Parser20.yp"
4157 {
4158 unshift @{$_[2]}, $_[1];
4159 $_[2];
4160 }
4161 ],
4162 [#Rule 193
4163 'fixed_array_size', 3,
4164 sub
4165 #line 1168 "Parser20.yp"
4166 {
4167 $_[2];
4168 }
4169 ],
4170 [#Rule 194
4171 'fixed_array_size', 3,
4172 sub
4173 #line 1172 "Parser20.yp"
4174 {
4175 $_[0]->Error("Expression expected.\n");
4176 $_[0]->YYErrok();
4177 }
4178 ],
4179 [#Rule 195
4180 'attr_dcl', 4,
4181 sub
4182 #line 1181 "Parser20.yp"
4183 {
4184 new CORBA::IDL::Attributes($_[0],
4185 'modifier' => $_[1],
4186 'type' => $_[3],
4187 'list_expr' => $_[4]
4188 );
4189 }
4190 ],
4191 [#Rule 196
4192 'attr_dcl', 3,
4193 sub
4194 #line 1189 "Parser20.yp"
4195 {
4196 $_[0]->Error("type expected.\n");
4197 $_[0]->YYErrok();
4198 }
4199 ],
4200 [#Rule 197
4201 'attr_mod', 1, undef
4202 ],
4203 [#Rule 198
4204 'attr_mod', 0, undef
4205 ],
4206 [#Rule 199
4207 'simple_declarators', 1,
4208 sub
4209 #line 1204 "Parser20.yp"
4210 {
4211 [$_[1]];
4212 }
4213 ],
4214 [#Rule 200
4215 'simple_declarators', 3,
4216 sub
4217 #line 1208 "Parser20.yp"
4218 {
4219 unshift @{$_[3]}, $_[1];
4220 $_[3];
4221 }
4222 ],
4223 [#Rule 201
4224 'except_dcl', 3,
4225 sub
4226 #line 1217 "Parser20.yp"
4227 {
4228 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
4229 $_[1];
4230 }
4231 ],
4232 [#Rule 202
4233 'except_dcl', 4,
4234 sub
4235 #line 1222 "Parser20.yp"
4236 {
4237 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
4238 $_[1]->Configure($_[0],
4239 'list_expr' => $_[3]
4240 ) if (defined $_[1]);
4241 }
4242 ],
4243 [#Rule 203
4244 'except_dcl', 4,
4245 sub
4246 #line 1229 "Parser20.yp"
4247 {
4248 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
4249 $_[0]->Error("'members expected.\n");
4250 $_[0]->YYErrok();
4251 $_[1];
4252 }
4253 ],
4254 [#Rule 204
4255 'except_dcl', 2,
4256 sub
4257 #line 1236 "Parser20.yp"
4258 {
4259 $_[0]->YYData->{symbtab}->PopCurrentScope($_[1]);
4260 $_[0]->Error("'\x7b' expected.\n");
4261 $_[0]->YYErrok();
4262 $_[1];
4263 }
4264 ],
4265 [#Rule 205
4266 'exception_header', 2,
4267 sub
4268 #line 1246 "Parser20.yp"
4269 {
4270 new CORBA::IDL::Exception($_[0],
4271 'idf' => $_[2],
4272 );
4273 }
4274 ],
4275 [#Rule 206
4276 'exception_header', 2,
4277 sub
4278 #line 1252 "Parser20.yp"
4279 {
4280 $_[0]->Error("Identifier expected.\n");
4281 $_[0]->YYErrok();
4282 }
4283 ],
4284 [#Rule 207
4285 'op_dcl', 4,
4286 sub
4287 #line 1261 "Parser20.yp"
4288 {
4289 delete $_[0]->YYData->{unnamed_symbtab}
4290 if (exists $_[0]->YYData->{unnamed_symbtab});
4291 $_[1]->Configure($_[0],
4292 'list_param' => $_[2],
4293 'list_raise' => $_[3],
4294 'list_context' => $_[4]
4295 ) if (defined $_[1]);
4296 }
4297 ],
4298 [#Rule 208
4299 'op_dcl', 2,
4300 sub
4301 #line 1271 "Parser20.yp"
4302 {
4303 delete $_[0]->YYData->{unnamed_symbtab}
4304 if (exists $_[0]->YYData->{unnamed_symbtab});
4305 $_[0]->Error("parameters declaration expected.\n");
4306 $_[0]->YYErrok();
4307 $_[1];
4308 }
4309 ],
4310 [#Rule 209
4311 'op_header', 3,
4312 sub
4313 #line 1282 "Parser20.yp"
4314 {
4315 new CORBA::IDL::Operation($_[0],
4316 'modifier' => $_[1],
4317 'type' => $_[2],
4318 'idf' => $_[3]
4319 );
4320 }
4321 ],
4322 [#Rule 210
4323 'op_header', 3,
4324 sub
4325 #line 1290 "Parser20.yp"
4326 {
4327 $_[0]->Error("Identifier expected.\n");
4328 $_[0]->YYErrok();
4329 }
4330 ],
4331 [#Rule 211
4332 'op_mod', 1, undef
4333 ],
4334 [#Rule 212
4335 'op_mod', 0, undef
4336 ],
4337 [#Rule 213
4338 'op_attribute', 1, undef
4339 ],
4340 [#Rule 214
4341 'op_type_spec', 1, undef
4342 ],
4343 [#Rule 215
4344 'op_type_spec', 1,
4345 sub
4346 #line 1314 "Parser20.yp"
4347 {
4348 new CORBA::IDL::VoidType($_[0],
4349 'value' => $_[1]
4350 );
4351 }
4352 ],
4353 [#Rule 216
4354 'op_type_spec', 1,
4355 sub
4356 #line 1320 "Parser20.yp"
4357 {
4358 $_[0]->Error("op_type_spec expected.\n");
4359 $_[1]; #default action
4360 }
4361 ],
4362 [#Rule 217
4363 'parameter_dcls', 3,
4364 sub
4365 #line 1329 "Parser20.yp"
4366 {
4367 $_[2];
4368 }
4369 ],
4370 [#Rule 218
4371 'parameter_dcls', 5,
4372 sub
4373 #line 1333 "Parser20.yp"
4374 {
4375 $_[0]->Error("'...' unexpected.\n");
4376 $_[2];
4377 }
4378 ],
4379 [#Rule 219
4380 'parameter_dcls', 4,
4381 sub
4382 #line 1338 "Parser20.yp"
4383 {
4384 $_[0]->Warning("',' unexpected.\n");
4385 $_[2];
4386 }
4387 ],
4388 [#Rule 220
4389 'parameter_dcls', 2,
4390 sub
4391 #line 1343 "Parser20.yp"
4392 {
4393 undef;
4394 }
4395 ],
4396 [#Rule 221
4397 'parameter_dcls', 3,
4398 sub
4399 #line 1347 "Parser20.yp"
4400 {
4401 $_[0]->Error("'...' unexpected.\n");
4402 undef;
4403 }
4404 ],
4405 [#Rule 222
4406 'parameter_dcls', 3,
4407 sub
4408 #line 1352 "Parser20.yp"
4409 {
4410 $_[0]->Error("parameters declaration expected.\n");
4411 $_[0]->YYErrok();
4412 }
4413 ],
4414 [#Rule 223
4415 'param_dcls', 1,
4416 sub
4417 #line 1360 "Parser20.yp"
4418 {
4419 [$_[1]];
4420 }
4421 ],
4422 [#Rule 224
4423 'param_dcls', 3,
4424 sub
4425 #line 1364 "Parser20.yp"
4426 {
4427 push @{$_[1]}, $_[3];
4428 $_[1];
4429 }
4430 ],
4431 [#Rule 225
4432 'param_dcls', 2,
4433 sub
4434 #line 1369 "Parser20.yp"
4435 {
4436 $_[0]->Error("';' unexpected.\n");
4437 [$_[1]];
4438 }
4439 ],
4440 [#Rule 226
4441 'param_dcl', 3,
4442 sub
4443 #line 1378 "Parser20.yp"
4444 {
4445 new CORBA::IDL::Parameter($_[0],
4446 'attr' => $_[1],
4447 'type' => $_[2],
4448 'idf' => $_[3]
4449 );
4450 }
4451 ],
4452 [#Rule 227
4453 'param_attribute', 1, undef
4454 ],
4455 [#Rule 228
4456 'param_attribute', 1, undef
4457 ],
4458 [#Rule 229
4459 'param_attribute', 1, undef
4460 ],
4461 [#Rule 230
4462 'param_attribute', 0,
4463 sub
4464 #line 1396 "Parser20.yp"
4465 {
4466 $_[0]->Error("(in|out|inout) expected.\n");
4467 $_[0]->YYErrok();
4468 }
4469 ],
4470 [#Rule 231
4471 'raises_expr', 4,
4472 sub
4473 #line 1405 "Parser20.yp"
4474 {
4475 $_[3];
4476 }
4477 ],
4478 [#Rule 232
4479 'raises_expr', 4,
4480 sub
4481 #line 1409 "Parser20.yp"
4482 {
4483 $_[0]->Error("name expected.\n");
4484 $_[0]->YYErrok();
4485 }
4486 ],
4487 [#Rule 233
4488 'raises_expr', 2,
4489 sub
4490 #line 1414 "Parser20.yp"
4491 {
4492 $_[0]->Error("'(' expected.\n");
4493 $_[0]->YYErrok();
4494 }
4495 ],
4496 [#Rule 234
4497 'raises_expr', 0, undef
4498 ],
4499 [#Rule 235
4500 'exception_names', 1,
4501 sub
4502 #line 1424 "Parser20.yp"
4503 {
4504 [$_[1]];
4505 }
4506 ],
4507 [#Rule 236
4508 'exception_names', 3,
4509 sub
4510 #line 1428 "Parser20.yp"
4511 {
4512 unshift @{$_[3]}, $_[1];
4513 $_[3];
4514 }
4515 ],
4516 [#Rule 237
4517 'exception_name', 1,
4518 sub
4519 #line 1436 "Parser20.yp"
4520 {
4521 CORBA::IDL::Exception->Lookup($_[0], $_[1]);
4522 }
4523 ],
4524 [#Rule 238
4525 'context_expr', 4,
4526 sub
4527 #line 1444 "Parser20.yp"
4528 {
4529 $_[3];
4530 }
4531 ],
4532 [#Rule 239
4533 'context_expr', 4,
4534 sub
4535 #line 1448 "Parser20.yp"
4536 {
4537 $_[0]->Error("string expected.\n");
4538 $_[0]->YYErrok();
4539 }
4540 ],
4541 [#Rule 240
4542 'context_expr', 2,
4543 sub
4544 #line 1453 "Parser20.yp"
4545 {
4546 $_[0]->Error("'(' expected.\n");
4547 $_[0]->YYErrok();
4548 }
4549 ],
4550 [#Rule 241
4551 'context_expr', 0, undef
4552 ],
4553 [#Rule 242
4554 'string_literals', 1,
4555 sub
4556 #line 1463 "Parser20.yp"
4557 {
4558 [$_[1]];
4559 }
4560 ],
4561 [#Rule 243
4562 'string_literals', 3,
4563 sub
4564 #line 1467 "Parser20.yp"
4565 {
4566 unshift @{$_[3]}, $_[1];
4567 $_[3];
4568 }
4569 ],
4570 [#Rule 244
4571 'param_type_spec', 1, undef
4572 ],
4573 [#Rule 245
4574 'param_type_spec', 1,
4575 sub
4576 #line 1478 "Parser20.yp"
4577 {
4578 $_[0]->Error("param_type_spec expected.\n");
4579 $_[1]; #default action
4580 }
4581 ],
4582 [#Rule 246
4583 'param_type_spec', 1,
4584 sub
4585 #line 1483 "Parser20.yp"
4586 {
4587 $_[0]->Error("param_type_spec expected.\n");
4588 $_[1]; #default action
4589 }
4590 ],
4591 [#Rule 247
4592 'param_type_spec', 1,
4593 sub
4594 #line 1488 "Parser20.yp"
4595 {
4596 $_[0]->Error("param_type_spec expected.\n");
4597 $_[1]; #default action
4598 }
4599 ],
4600 [#Rule 248
4601 'op_param_type_spec', 1, undef
4602 ],
4603 [#Rule 249
4604 'op_param_type_spec', 1, undef
4605 ],
4606 [#Rule 250
4607 'op_param_type_spec', 1,
4608 sub
4609 #line 1500 "Parser20.yp"
4610 {
4611 CORBA::IDL::TypeDeclarator->Lookup($_[0], $_[1]);
4612 }
4613 ]
4614 ],
4615 @_);
4616 bless($self,$class);
4617 }
4618
4619 #line 1505 "Parser20.yp"
4620
4621
4622 use warnings;
4623
4624 our $VERSION = '2.61';
4625 our $IDL_VERSION = '2.0';
4626
4627 sub BuildUnop
4628 {
4629 my ($op, $expr) = @_;
4630
4631 my $node = new CORBA::IDL::UnaryOp($_[0],
4632 'op' => $op
4633 );
4634 push @$expr, $node;
4635 return $expr;
4636 }
4637
4638 sub BuildBinop
4639 {
4640 my ($left, $op, $right) = @_;
4641
4642 my $node = new CORBA::IDL::BinaryOp($_[0],
4643 'op' => $op
4644 );
4645 push @$left, @$right;
4646 push @$left, $node;
4647 return $left;
4648 }
4649
4650
4651 1;