syntax: refactor AClosureCallExpr
[nit.git] / src / parser / parser_nodes.nit
1 # Raw AST node hierarchy.
2 # This file was generated by SableCC (http://www.sablecc.org/).
3 package parser_nodes
4
5 # Root of the AST hierarchy
6 abstract class PNode
7 end
8
9 # Ancestor of all tokens
10 abstract class Token
11 special PNode
12 end
13
14 # Ancestor of all productions
15 abstract class Prod
16 special PNode
17 end
18 class TEol
19 special Token
20 end
21 class TComment
22 special Token
23 end
24 class TKwpackage
25 special Token
26 end
27 class TKwimport
28 special Token
29 end
30 class TKwclass
31 special Token
32 end
33 class TKwabstract
34 special Token
35 end
36 class TKwinterface
37 special Token
38 end
39 class TKwuniversal
40 special Token
41 end
42 class TKwspecial
43 special Token
44 end
45 class TKwend
46 special Token
47 end
48 class TKwmeth
49 special Token
50 end
51 class TKwtype
52 special Token
53 end
54 class TKwattr
55 special Token
56 end
57 class TKwinit
58 special Token
59 end
60 class TKwredef
61 special Token
62 end
63 class TKwis
64 special Token
65 end
66 class TKwdo
67 special Token
68 end
69 class TKwreadable
70 special Token
71 end
72 class TKwwritable
73 special Token
74 end
75 class TKwvar
76 special Token
77 end
78 class TKwintern
79 special Token
80 end
81 class TKwextern
82 special Token
83 end
84 class TKwprotected
85 special Token
86 end
87 class TKwprivate
88 special Token
89 end
90 class TKwintrude
91 special Token
92 end
93 class TKwif
94 special Token
95 end
96 class TKwthen
97 special Token
98 end
99 class TKwelse
100 special Token
101 end
102 class TKwwhile
103 special Token
104 end
105 class TKwfor
106 special Token
107 end
108 class TKwin
109 special Token
110 end
111 class TKwand
112 special Token
113 end
114 class TKwor
115 special Token
116 end
117 class TKwnot
118 special Token
119 end
120 class TKwreturn
121 special Token
122 end
123 class TKwcontinue
124 special Token
125 end
126 class TKwbreak
127 special Token
128 end
129 class TKwabort
130 special Token
131 end
132 class TKwassert
133 special Token
134 end
135 class TKwnew
136 special Token
137 end
138 class TKwisa
139 special Token
140 end
141 class TKwonce
142 special Token
143 end
144 class TKwsuper
145 special Token
146 end
147 class TKwself
148 special Token
149 end
150 class TKwtrue
151 special Token
152 end
153 class TKwfalse
154 special Token
155 end
156 class TKwnull
157 special Token
158 end
159 class TKwas
160 special Token
161 end
162 class TKwwith
163 special Token
164 end
165 class TOpar
166 special Token
167 end
168 class TCpar
169 special Token
170 end
171 class TObra
172 special Token
173 end
174 class TCbra
175 special Token
176 end
177 class TComma
178 special Token
179 end
180 class TColumn
181 special Token
182 end
183 class TQuad
184 special Token
185 end
186 class TAssign
187 special Token
188 end
189 class TPluseq
190 special Token
191 end
192 class TMinuseq
193 special Token
194 end
195 class TDotdotdot
196 special Token
197 end
198 class TDotdot
199 special Token
200 end
201 class TDot
202 special Token
203 end
204 class TPlus
205 special Token
206 end
207 class TMinus
208 special Token
209 end
210 class TStar
211 special Token
212 end
213 class TSlash
214 special Token
215 end
216 class TPercent
217 special Token
218 end
219 class TEq
220 special Token
221 end
222 class TNe
223 special Token
224 end
225 class TLt
226 special Token
227 end
228 class TLe
229 special Token
230 end
231 class TGt
232 special Token
233 end
234 class TGe
235 special Token
236 end
237 class TStarship
238 special Token
239 end
240 class TClassid
241 special Token
242 end
243 class TId
244 special Token
245 end
246 class TAttrid
247 special Token
248 end
249 class TNumber
250 special Token
251 end
252 class TFloat
253 special Token
254 end
255 class TChar
256 special Token
257 end
258 class TString
259 special Token
260 end
261 class TStartString
262 special Token
263 end
264 class TMidString
265 special Token
266 end
267 class TEndString
268 special Token
269 end
270 class EOF
271 special Token
272 private init noinit do end
273 end
274 class PError
275 special EOF
276 private init noinit do end
277 end
278
279 class PModule special Prod end
280 class PPackagedecl special Prod end
281 class PImport special Prod end
282 class PVisibility special Prod end
283 class PClassdef special Prod end
284 class PClasskind special Prod end
285 class PFormaldef special Prod end
286 class PSuperclass special Prod end
287 class PPropdef special Prod
288 readable writable attr _n_doc: PDoc = null
289 end
290 class PAble special Prod
291 readable writable attr _n_kwredef: TKwredef = null
292 end
293 class PMethid special Prod end
294 class PSignature special Prod end
295 class PParam
296 special Prod
297 readable writable attr _n_id: TId = null
298 readable writable attr _n_type: PType = null
299 end
300 class PClosureDecl special Prod end
301 class PType special Prod end
302 class PExpr special Prod end
303 class PAssignOp special Prod end
304 class PClosureDef special Prod end
305 class PQualified special Prod end
306 class PDoc special Prod end
307
308 class AModule
309 special PModule
310 readable writable attr _n_packagedecl: PPackagedecl = null
311 readable writable attr _n_imports: List[PImport] = null
312 readable writable attr _n_classdefs: List[PClassdef] = null
313 end
314 class APackagedecl
315 special PPackagedecl
316 readable writable attr _n_doc: PDoc = null
317 readable writable attr _n_kwpackage: TKwpackage = null
318 readable writable attr _n_id: TId = null
319 end
320 class AImport
321 special PImport
322 readable writable attr _n_visibility: PVisibility = null
323 readable writable attr _n_kwimport: TKwimport = null
324 readable writable attr _n_id: TId = null
325 end
326 class ANoImport
327 special PImport
328 readable writable attr _n_visibility: PVisibility = null
329 readable writable attr _n_kwimport: TKwimport = null
330 readable writable attr _n_kwend: TKwend = null
331 end
332 class APublicVisibility
333 special PVisibility
334 end
335 class APrivateVisibility
336 special PVisibility
337 readable writable attr _n_kwprivate: TKwprivate = null
338 end
339 class AProtectedVisibility
340 special PVisibility
341 readable writable attr _n_kwprotected: TKwprotected = null
342 end
343 class AIntrudeVisibility
344 special PVisibility
345 readable writable attr _n_kwintrude: TKwintrude = null
346 end
347 class AClassdef
348 special PClassdef
349 readable writable attr _n_doc: PDoc = null
350 readable writable attr _n_kwredef: TKwredef = null
351 readable writable attr _n_visibility: PVisibility = null
352 readable writable attr _n_classkind: PClasskind = null
353 readable writable attr _n_id: TClassid = null
354 readable writable attr _n_formaldefs: List[PFormaldef] = null
355 readable writable attr _n_superclasses: List[PSuperclass] = null
356 readable writable attr _n_propdefs: List[PPropdef] = null
357 end
358 class ATopClassdef
359 special PClassdef
360 readable writable attr _n_propdefs: List[PPropdef] = null
361 end
362 class AMainClassdef
363 special PClassdef
364 readable writable attr _n_propdefs: List[PPropdef] = null
365 end
366 class AConcreteClasskind
367 special PClasskind
368 readable writable attr _n_kwclass: TKwclass = null
369 end
370 class AAbstractClasskind
371 special PClasskind
372 readable writable attr _n_kwabstract: TKwabstract = null
373 readable writable attr _n_kwclass: TKwclass = null
374 end
375 class AInterfaceClasskind
376 special PClasskind
377 readable writable attr _n_kwinterface: TKwinterface = null
378 end
379 class AUniversalClasskind
380 special PClasskind
381 readable writable attr _n_kwuniversal: TKwuniversal = null
382 end
383 class AFormaldef
384 special PFormaldef
385 readable writable attr _n_id: TClassid = null
386 readable writable attr _n_type: PType = null
387 end
388 class ASuperclass
389 special PSuperclass
390 readable writable attr _n_kwspecial: TKwspecial = null
391 readable writable attr _n_type: PType = null
392 end
393 class AAttrPropdef
394 special PPropdef
395 readable writable attr _n_kwredef: TKwredef = null
396 readable writable attr _n_visibility: PVisibility = null
397 readable writable attr _n_kwattr: TKwattr = null
398 readable writable attr _n_kwvar: TKwvar = null
399 readable writable attr _n_id: TAttrid = null
400 readable writable attr _n_type: PType = null
401 readable writable attr _n_readable: PAble = null
402 readable writable attr _n_writable: PAble = null
403 readable writable attr _n_expr: PExpr = null
404 end
405 class AMethPropdef
406 special PPropdef
407 readable writable attr _n_kwredef: TKwredef = null
408 readable writable attr _n_visibility: PVisibility = null
409 readable writable attr _n_methid: PMethid = null
410 readable writable attr _n_signature: PSignature = null
411 end
412 class ADeferredMethPropdef
413 special AMethPropdef
414 readable writable attr _n_kwmeth: TKwmeth = null
415 end
416 class AInternMethPropdef
417 special AMethPropdef
418 readable writable attr _n_kwmeth: TKwmeth = null
419 end
420 class AExternMethPropdef
421 special AMethPropdef
422 readable writable attr _n_kwmeth: TKwmeth = null
423 readable writable attr _n_extern: TString = null
424 end
425 class AConcreteMethPropdef
426 special AMethPropdef
427 readable writable attr _n_kwmeth: TKwmeth = null
428 readable writable attr _n_block: PExpr = null
429 end
430 class AConcreteInitPropdef
431 special AConcreteMethPropdef
432 readable writable attr _n_kwinit: TKwinit = null
433 end
434 class AMainMethPropdef
435 special AConcreteMethPropdef
436 end
437 class ATypePropdef
438 special PPropdef
439 readable writable attr _n_kwredef: TKwredef = null
440 readable writable attr _n_visibility: PVisibility = null
441 readable writable attr _n_kwtype: TKwtype = null
442 readable writable attr _n_id: TClassid = null
443 readable writable attr _n_type: PType = null
444 end
445 class AReadAble
446 special PAble
447 readable writable attr _n_kwreadable: TKwreadable = null
448 end
449 class AWriteAble
450 special PAble
451 readable writable attr _n_kwwritable: TKwwritable = null
452 end
453 class AIdMethid
454 special PMethid
455 readable writable attr _n_id: TId = null
456 end
457 class APlusMethid
458 special PMethid
459 readable writable attr _n_plus: TPlus = null
460 end
461 class AMinusMethid
462 special PMethid
463 readable writable attr _n_minus: TMinus = null
464 end
465 class AStarMethid
466 special PMethid
467 readable writable attr _n_star: TStar = null
468 end
469 class ASlashMethid
470 special PMethid
471 readable writable attr _n_slash: TSlash = null
472 end
473 class APercentMethid
474 special PMethid
475 readable writable attr _n_percent: TPercent = null
476 end
477 class AEqMethid
478 special PMethid
479 readable writable attr _n_eq: TEq = null
480 end
481 class ANeMethid
482 special PMethid
483 readable writable attr _n_ne: TNe = null
484 end
485 class ALeMethid
486 special PMethid
487 readable writable attr _n_le: TLe = null
488 end
489 class AGeMethid
490 special PMethid
491 readable writable attr _n_ge: TGe = null
492 end
493 class ALtMethid
494 special PMethid
495 readable writable attr _n_lt: TLt = null
496 end
497 class AGtMethid
498 special PMethid
499 readable writable attr _n_gt: TGt = null
500 end
501 class ABraMethid
502 special PMethid
503 readable writable attr _n_obra: TObra = null
504 readable writable attr _n_cbra: TCbra = null
505 end
506 class AStarshipMethid
507 special PMethid
508 readable writable attr _n_starship: TStarship = null
509 end
510 class AAssignMethid
511 special PMethid
512 readable writable attr _n_id: TId = null
513 readable writable attr _n_assign: TAssign = null
514 end
515 class ABraassignMethid
516 special PMethid
517 readable writable attr _n_obra: TObra = null
518 readable writable attr _n_cbra: TCbra = null
519 readable writable attr _n_assign: TAssign = null
520 end
521 class ASignature
522 special PSignature
523 readable writable attr _n_params: List[PParam] = null
524 readable writable attr _n_type: PType = null
525 readable writable attr _n_closure_decls: List[PClosureDecl] = null
526 end
527 class AParam
528 special PParam
529 readable writable attr _n_dotdotdot: TDotdotdot = null
530 end
531 class AClosureDecl
532 special PClosureDecl
533 readable writable attr _n_kwwith: TKwwith = null
534 readable writable attr _n_kwbreak: TKwbreak = null
535 readable writable attr _n_id: TId = null
536 readable writable attr _n_signature: PSignature = null
537 readable writable attr _n_expr: PExpr = null
538 end
539 class AType
540 special PType
541 readable writable attr _n_id: TClassid = null
542 readable writable attr _n_types: List[PType] = null
543 end
544
545
546
547 class ABlockExpr
548 special PExpr
549 readable writable attr _n_expr: List[PExpr] = null
550 end
551 class AVardeclExpr
552 special PExpr
553 readable writable attr _n_kwvar: TKwvar = null
554 readable writable attr _n_id: TId = null
555 readable writable attr _n_type: PType = null
556 readable writable attr _n_assign: TAssign = null
557 readable writable attr _n_expr: PExpr = null
558 end
559 class AReturnExpr
560 special PExpr
561 readable writable attr _n_kwreturn: TKwreturn = null
562 readable writable attr _n_expr: PExpr = null
563 end
564 class ABreakExpr
565 special PExpr
566 readable writable attr _n_kwbreak: TKwbreak = null
567 readable writable attr _n_expr: PExpr = null
568 end
569 class AAbortExpr
570 special PExpr
571 readable writable attr _n_kwabort: TKwabort = null
572 end
573 class AContinueExpr
574 special PExpr
575 readable writable attr _n_kwcontinue: TKwcontinue = null
576 readable writable attr _n_expr: PExpr = null
577 end
578 class ADoExpr
579 special PExpr
580 readable writable attr _n_kwdo: TKwdo = null
581 readable writable attr _n_block: PExpr = null
582 end
583 class AIfExpr
584 special PExpr
585 readable writable attr _n_kwif: TKwif = null
586 readable writable attr _n_expr: PExpr = null
587 readable writable attr _n_then: PExpr = null
588 readable writable attr _n_else: PExpr = null
589 end
590 class AIfexprExpr
591 special PExpr
592 readable writable attr _n_kwif: TKwif = null
593 readable writable attr _n_expr: PExpr = null
594 readable writable attr _n_kwthen: TKwthen = null
595 readable writable attr _n_then: PExpr = null
596 readable writable attr _n_kwelse: TKwelse = null
597 readable writable attr _n_else: PExpr = null
598 end
599 class AWhileExpr
600 special PExpr
601 readable writable attr _n_kwwhile: TKwwhile = null
602 readable writable attr _n_expr: PExpr = null
603 readable writable attr _n_kwdo: TKwdo = null
604 readable writable attr _n_block: PExpr = null
605 end
606 class AForExpr
607 special PExpr
608 readable writable attr _n_kwfor: TKwfor = null
609 readable writable attr _n_id: TId = null
610 readable writable attr _n_expr: PExpr = null
611 readable writable attr _n_kwdo: TKwdo = null
612 readable writable attr _n_block: PExpr = null
613 end
614 class AAssertExpr
615 special PExpr
616 readable writable attr _n_kwassert: TKwassert = null
617 readable writable attr _n_id: TId = null
618 readable writable attr _n_expr: PExpr = null
619 end
620 class AAssignFormExpr
621 special PExpr
622 readable writable attr _n_assign: TAssign = null
623 readable writable attr _n_value: PExpr = null
624 end
625 class AReassignFormExpr
626 special PExpr
627 readable writable attr _n_assign_op: PAssignOp = null
628 readable writable attr _n_value: PExpr = null
629 end
630 class AOnceExpr
631 special AProxyExpr
632 readable writable attr _n_kwonce: TKwonce = null
633 end
634 class ASendExpr
635 special PExpr
636 readable writable attr _n_expr: PExpr = null
637 readable writable attr _n_closure_defs: List[PClosureDef] = null
638 end
639 class ABinopExpr
640 special ASendExpr
641 readable writable attr _n_expr2: PExpr = null
642 end
643 class ABoolExpr
644 special PExpr
645 end
646 class AOrExpr
647 special ABoolExpr
648 readable writable attr _n_expr: PExpr = null
649 readable writable attr _n_expr2: PExpr = null
650 end
651 class AAndExpr
652 special ABoolExpr
653 readable writable attr _n_expr: PExpr = null
654 readable writable attr _n_expr2: PExpr = null
655 end
656 class ANotExpr
657 special ABoolExpr
658 readable writable attr _n_kwnot: TKwnot = null
659 readable writable attr _n_expr: PExpr = null
660 end
661 class AEqExpr
662 special ABinopExpr
663 end
664 class AEeExpr
665 special ABoolExpr
666 readable writable attr _n_expr: PExpr = null
667 readable writable attr _n_expr2: PExpr = null
668 end
669 class ANeExpr
670 special ABinopExpr
671 end
672 class ALtExpr
673 special ABinopExpr
674 end
675 class ALeExpr
676 special ABinopExpr
677 end
678 class AGtExpr
679 special ABinopExpr
680 end
681 class AGeExpr
682 special ABinopExpr
683 end
684 class AIsaExpr
685 special ABoolExpr
686 readable writable attr _n_expr: PExpr = null
687 readable writable attr _n_type: PType = null
688 end
689 class APlusExpr
690 special ABinopExpr
691 end
692 class AMinusExpr
693 special ABinopExpr
694 end
695 class AStarshipExpr
696 special ABinopExpr
697 end
698 class AStarExpr
699 special ABinopExpr
700 end
701 class ASlashExpr
702 special ABinopExpr
703 end
704 class APercentExpr
705 special ABinopExpr
706 end
707 class AUminusExpr
708 special ASendExpr
709 readable writable attr _n_minus: TMinus = null
710 end
711 class ANewExpr
712 special PExpr
713 readable writable attr _n_kwnew: TKwnew = null
714 readable writable attr _n_type: PType = null
715 readable writable attr _n_id: TId = null
716 readable writable attr _n_args: List[PExpr] = null
717 end
718 class AAttrFormExpr
719 special PExpr
720 readable writable attr _n_expr: PExpr = null
721 readable writable attr _n_id: TAttrid = null
722 end
723 class AAttrExpr
724 special AAttrFormExpr
725 end
726 class AAttrAssignExpr
727 special AAttrFormExpr
728 special AAssignFormExpr
729 end
730 class ACallFormExpr
731 special ASendExpr
732 readable writable attr _n_id: TId = null
733 readable writable attr _n_args: List[PExpr] = null
734 end
735 class AAttrReassignExpr
736 special PExpr
737 special AAttrFormExpr
738 special AReassignFormExpr
739 end
740 class ACallExpr
741 special ACallFormExpr
742 end
743 class ACallAssignExpr
744 special ACallFormExpr
745 special AAssignFormExpr
746 end
747 class ACallReassignExpr
748 special PExpr
749 special ACallFormExpr
750 special AReassignFormExpr
751 end
752 class ASuperExpr
753 special PExpr
754 readable writable attr _n_qualified: PQualified = null
755 readable writable attr _n_kwsuper: TKwsuper = null
756 readable writable attr _n_args: List[PExpr] = null
757 end
758 class AInitExpr
759 special ASendExpr
760 readable writable attr _n_kwinit: TKwinit = null
761 readable writable attr _n_args: List[PExpr] = null
762 end
763 class ABraFormExpr
764 special ASendExpr
765 readable writable attr _n_args: List[PExpr] = null
766 end
767 class ABraExpr
768 special ABraFormExpr
769 end
770 class ABraAssignExpr
771 special ABraFormExpr
772 special AAssignFormExpr
773 end
774 class AVarFormExpr
775 special PExpr
776 readable writable attr _n_id: TId = null
777 end
778 class ABraReassignExpr
779 special ABraFormExpr
780 special AReassignFormExpr
781 end
782 class AClosureCallExpr
783 special PExpr
784 readable writable attr _n_id: TId = null
785 readable writable attr _n_args: List[PExpr] = null
786 readable writable attr _n_closure_defs: List[PClosureDef] = null
787 end
788 class AVarExpr
789 special AVarFormExpr
790 end
791 class AVarAssignExpr
792 special AVarFormExpr
793 special AAssignFormExpr
794 end
795 class AVarReassignExpr
796 special AVarFormExpr
797 special AReassignFormExpr
798 end
799 class ARangeExpr
800 special PExpr
801 readable writable attr _n_expr: PExpr = null
802 readable writable attr _n_expr2: PExpr = null
803 end
804 class ACrangeExpr
805 special ARangeExpr
806 end
807 class AOrangeExpr
808 special ARangeExpr
809 end
810 class AArrayExpr
811 special PExpr
812 readable writable attr _n_exprs: List[PExpr] = null
813 end
814 class ASelfExpr
815 special PExpr
816 readable writable attr _n_kwself: TKwself = null
817 end
818 class AImplicitSelfExpr
819 special ASelfExpr
820 end
821 class ATrueExpr
822 special ABoolExpr
823 readable writable attr _n_kwtrue: TKwtrue = null
824 end
825 class AFalseExpr
826 special ABoolExpr
827 readable writable attr _n_kwfalse: TKwfalse = null
828 end
829 class ANullExpr
830 special PExpr
831 readable writable attr _n_kwnull: TKwnull = null
832 end
833 class AIntExpr
834 special PExpr
835 readable writable attr _n_number: TNumber = null
836 end
837 class AFloatExpr
838 special PExpr
839 readable writable attr _n_float: TFloat = null
840 end
841 class ACharExpr
842 special PExpr
843 readable writable attr _n_char: TChar = null
844 end
845 class AStringFormExpr
846 special PExpr
847 end
848 class AStringExpr
849 special AStringFormExpr
850 readable writable attr _n_string: TString = null
851 end
852 class AStartStringExpr
853 special AStringFormExpr
854 readable writable attr _n_string: TStartString = null
855 end
856 class AMidStringExpr
857 special AStringFormExpr
858 readable writable attr _n_string: TMidString = null
859 end
860 class AEndStringExpr
861 special AStringFormExpr
862 readable writable attr _n_string: TEndString = null
863 end
864 class ASuperstringExpr
865 special PExpr
866 readable writable attr _n_exprs: List[PExpr] = null
867 end
868 class AParExpr
869 special AProxyExpr
870 end
871 class AProxyExpr
872 special PExpr
873 readable writable attr _n_expr: PExpr = null
874 end
875 class AAsCastExpr
876 special PExpr
877 readable writable attr _n_expr: PExpr = null
878 readable writable attr _n_kwas: TKwas = null
879 readable writable attr _n_type: PType = null
880 end
881 class APlusAssignOp
882 special PAssignOp
883 readable writable attr _n_pluseq: TPluseq = null
884 end
885 class AMinusAssignOp
886 special PAssignOp
887 readable writable attr _n_minuseq: TMinuseq = null
888 end
889 class AClosureDef
890 special PClosureDef
891 readable writable attr _n_kwwith: TKwwith = null
892 readable writable attr _n_id: List[TId] = null
893 readable writable attr _n_kwdo: TKwdo = null
894 readable writable attr _n_expr: PExpr = null
895 end
896 class AQualified
897 special PQualified
898 readable writable attr _n_id: List[TId] = null
899 readable writable attr _n_classid: TClassid = null
900 end
901 class ADoc
902 special PDoc
903 readable writable attr _n_comment: List[TComment] = null
904 end
905
906 class Start
907 special Prod
908 readable writable attr _n_base: PModule
909 readable writable attr _n_eof: EOF
910 end