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