nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: remove macro definition _POSIX_C_SOURCE
[nit.git]
/
src
/
parser
/
parser_abs.nit
diff --git
a/src/parser/parser_abs.nit
b/src/parser/parser_abs.nit
index
977ddd2
..
57d9706
100644
(file)
--- a/
src/parser/parser_abs.nit
+++ b/
src/parser/parser_abs.nit
@@
-319,6
+319,7
@@
class AExpr super Prod end
class AAssignOp super Prod end
class AClosureDef super Prod end
class AClosureId super Prod end
class AAssignOp super Prod end
class AClosureDef super Prod end
class AClosureId super Prod end
+class AModuleName super Prod end
class AQualified super Prod end
class ADoc super Prod end
class AQualified super Prod end
class ADoc super Prod end
@@
-332,13
+333,13
@@
class AModuledecl
super AModuledecl
readable var _n_doc: nullable ADoc = null
readable var _n_kwmodule: TKwmodule
super AModuledecl
readable var _n_doc: nullable ADoc = null
readable var _n_kwmodule: TKwmodule
- readable var _n_id: TId
+ readable var _n_name: AModuleName
end
class AStdImport
super AImport
readable var _n_visibility: AVisibility
readable var _n_kwimport: TKwimport
end
class AStdImport
super AImport
readable var _n_visibility: AVisibility
readable var _n_kwimport: TKwimport
- readable var _n_id: TId
+ readable var _n_name: AModuleName
end
class ANoImport
super AImport
end
class ANoImport
super AImport
@@
-681,7
+682,7
@@
end
class AForExpr
super AExpr
readable var _n_kwfor: TKwfor
class AForExpr
super AExpr
readable var _n_kwfor: TKwfor
- readable var _n_id: TId
+ readable var _n_ids: List[TId] = new List[TId]
readable var _n_expr: AExpr
readable var _n_kwdo: TKwdo
readable var _n_block: nullable AExpr = null
readable var _n_expr: AExpr
readable var _n_kwdo: TKwdo
readable var _n_block: nullable AExpr = null
@@
-1034,6
+1035,12
@@
class ABreakClosureId
super AClosureId
readable var _n_kwbreak: TKwbreak
end
super AClosureId
readable var _n_kwbreak: TKwbreak
end
+class AModuleName
+ super AModuleName
+ readable var _n_quad: nullable TQuad = null
+ readable var _n_path: List[TId] = new List[TId]
+ readable var _n_id: TId
+end
class AQualified
super AQualified
readable var _n_id: List[TId] = new List[TId]
class AQualified
super AQualified
readable var _n_id: List[TId] = new List[TId]