X-Git-Url: http://nitlanguage.org diff --git a/src/parser/parser_abs.nit b/src/parser/parser_abs.nit index 4f7dc47..2f42bfc 100644 --- a/src/parser/parser_abs.nit +++ b/src/parser/parser_abs.nit @@ -1,6 +1,6 @@ # Raw AST node hierarchy. # This file was generated by SableCC (http://www.sablecc.org/). -module parser_abs is no_warning("missing-doc") +module parser_abs is generated, no_warning("missing-doc") import location @@ -31,6 +31,9 @@ end class TKwenum super Token end +class TKwsubset + super Token +end class TKwend super Token end @@ -160,6 +163,12 @@ end class TKwdebug super Token end +class TKwyield + super Token +end +class TKwcatch + super Token +end class TOpar super Token end @@ -325,12 +334,18 @@ end class TBadString super Token end +class TBadTString + super Token +end class TBadChar super Token end class TExternCodeSegment super Token end +class TBadExtern + super Token +end class EOF super Token end @@ -354,6 +369,7 @@ class AFormaldef super Prod end class APropdef super Prod end class AMethid super Prod end class AQid super Prod end +class AQclassid super Prod end class ASignature super Prod end class AParam super Prod end class AType super Prod end @@ -361,6 +377,7 @@ class ALabel super Prod end class AExpr super Prod end class AExprs super Prod end class AAssignOp super Prod end +class AForGroup super Prod end class AModuleName super Prod end class AExternCalls super Prod end class AExternCall super Prod end @@ -423,7 +440,7 @@ class AStdClassdef var n_kwredef: nullable TKwredef = null is writable var n_visibility: AVisibility is writable, noinit var n_classkind: AClasskind is writable, noinit - var n_id: nullable TClassid = null is writable + var n_qid: nullable AQclassid = null is writable var n_obra: nullable TObra = null is writable var n_formaldefs: List[AFormaldef] = new List[AFormaldef] var n_cbra: nullable TCbra = null is writable @@ -461,6 +478,10 @@ class AExternClasskind var n_kwextern: TKwextern is writable, noinit var n_kwclass: nullable TKwclass = null is writable end +class ASubsetClasskind + super AClasskind + var n_kwsubset: TKwsubset is writable, noinit +end class AFormaldef super AFormaldef var n_id: TClassid is writable, noinit @@ -493,7 +514,7 @@ class ATypePropdef var n_kwredef: nullable TKwredef = null is writable var n_visibility: AVisibility is writable, noinit var n_kwtype: TKwtype is writable, noinit - var n_id: TClassid is writable, noinit + var n_qid: AQclassid is writable, noinit var n_type: AType is writable, noinit var n_annotations: nullable AAnnotations = null is writable end @@ -504,6 +525,7 @@ class AMethPropdef var n_visibility: AVisibility is writable, noinit var n_kwmeth: nullable TKwmeth = null is writable var n_kwinit: nullable TKwinit = null is writable + var n_kwisa: nullable TKwisa = null is writable var n_kwnew: nullable TKwnew = null is writable var n_methid: nullable AMethid = null is writable var n_signature: ASignature is writable, noinit @@ -635,6 +657,11 @@ class AQid var n_qualified: nullable AQualified = null is writable var n_id: TId is writable, noinit end +class AQclassid + super AQclassid + var n_qualified: nullable AQualified = null is writable + var n_id: TClassid is writable, noinit +end class ASignature super ASignature var n_opar: nullable TOpar = null is writable @@ -652,7 +679,7 @@ end class AType super AType var n_kwnullable: nullable TKwnullable = null is writable - var n_id: TClassid is writable, noinit + var n_qid: AQclassid is writable, noinit var n_obra: nullable TObra = null is writable var n_types: List[AType] = new List[AType] var n_cbra: nullable TCbra = null is writable @@ -682,6 +709,11 @@ class AReturnExpr var n_kwreturn: nullable TKwreturn = null is writable var n_expr: nullable AExpr = null is writable end +class AYieldExpr + super AExpr + var n_kwyield: TKwyield is writable, noinit + var n_expr: AExpr is writable, noinit +end class ABreakExpr super AExpr var n_kwbreak: TKwbreak is writable, noinit @@ -700,6 +732,8 @@ class ADoExpr super AExpr var n_kwdo: TKwdo is writable, noinit var n_block: nullable AExpr = null is writable + var n_kwcatch: nullable TKwcatch = null is writable + var n_catch: nullable AExpr = null is writable var n_label: nullable ALabel = null is writable end class AIfExpr @@ -737,9 +771,7 @@ end class AForExpr super AExpr var n_kwfor: TKwfor is writable, noinit - var n_ids: List[TId] = new List[TId] - var n_kwin: TKwin is writable, noinit - var n_expr: AExpr is writable, noinit + var n_groups: List[AForGroup] = new List[AForGroup] var n_kwdo: TKwdo is writable, noinit var n_block: nullable AExpr = null is writable var n_label: nullable ALabel = null is writable @@ -1245,6 +1277,12 @@ class AGgAssignOp super AAssignOp var n_op: TGgeq is writable, noinit end +class AForGroup + super AForGroup + var n_ids: List[TId] = new List[TId] + var n_kwin: TKwin is writable, noinit + var n_expr: AExpr is writable, noinit +end class AModuleName super AModuleName var n_quad: nullable TQuad = null is writable