@@ -5,7 +5,7 @@ CompilationUnit {
55. Roles: File
66. Children: {
77. . 0: TypeDeclaration {
8- . . . Roles: VisibleFromPackage,TypeDeclaration
8+ . . . Roles: Visibility,Package,Declaration,Type
99. . . StartPosition: {
1010. . . . Offset: 0
1111. . . . Line: 1
@@ -22,7 +22,7 @@ CompilationUnit {
2222. . . }
2323. . . Children: {
2424. . . . 0: SimpleName {
25- . . . . . Roles: SimpleIdentifier, Expression
25+ . . . . . Roles: Expression,Identifier
2626. . . . . TOKEN "Code"
2727. . . . . StartPosition: {
2828. . . . . . Offset: 6
@@ -39,7 +39,7 @@ CompilationUnit {
3939. . . . . }
4040. . . . }
4141. . . . 1: MethodDeclaration {
42- . . . . . Roles: VisibleFromPackage,FunctionDeclaration
42+ . . . . . Roles: Visibility,Package,Declaration,Function
4343. . . . . StartPosition: {
4444. . . . . . Offset: 14
4545. . . . . . Line: 2
@@ -56,7 +56,7 @@ CompilationUnit {
5656. . . . . }
5757. . . . . Children: {
5858. . . . . . 0: PrimitiveType {
59- . . . . . . . Roles: Incomplete
59+ . . . . . . . Roles: Type,Primitive
6060. . . . . . . TOKEN "void"
6161. . . . . . . StartPosition: {
6262. . . . . . . . Offset: 14
@@ -73,7 +73,7 @@ CompilationUnit {
7373. . . . . . . }
7474. . . . . . }
7575. . . . . . 1: SimpleName {
76- . . . . . . . Roles: SimpleIdentifier, Expression,FunctionDeclarationName
76+ . . . . . . . Roles: Expression,Identifier,Function,Name
7777. . . . . . . TOKEN "code"
7878. . . . . . . StartPosition: {
7979. . . . . . . . Offset: 19
@@ -90,25 +90,25 @@ CompilationUnit {
9090. . . . . . . }
9191. . . . . . }
9292. . . . . . 2: Block {
93- . . . . . . . Roles: FunctionDeclarationBody,BlockScope, Block,Statement
93+ . . . . . . . Roles: Function,Body,Statement, Block,Scope
9494. . . . . . . Properties: {
9595. . . . . . . . internalRole: body
9696. . . . . . . }
9797. . . . . . . Children: {
9898. . . . . . . . 0: VariableDeclarationStatement {
99- . . . . . . . . . Roles: Statement,Incomplete
99+ . . . . . . . . . Roles: Statement,Declaration, Incomplete
100100. . . . . . . . . Properties: {
101101. . . . . . . . . . internalRole: statements
102102. . . . . . . . . }
103103. . . . . . . . . Children: {
104104. . . . . . . . . . 0: ArrayType {
105- . . . . . . . . . . . Roles: Incomplete
105+ . . . . . . . . . . . Roles: Type,Primitive,List
106106. . . . . . . . . . . Properties: {
107107. . . . . . . . . . . . internalRole: type
108108. . . . . . . . . . . }
109109. . . . . . . . . . . Children: {
110110. . . . . . . . . . . . 0: PrimitiveType {
111- . . . . . . . . . . . . . Roles: Incomplete
111+ . . . . . . . . . . . . . Roles: Type,Primitive
112112. . . . . . . . . . . . . TOKEN "int"
113113. . . . . . . . . . . . . StartPosition: {
114114. . . . . . . . . . . . . . Offset: 32
@@ -125,21 +125,21 @@ CompilationUnit {
125125. . . . . . . . . . . . . }
126126. . . . . . . . . . . . }
127127. . . . . . . . . . . . 1: Dimension {
128- . . . . . . . . . . . . . Roles: Incomplete
128+ . . . . . . . . . . . . . Roles: Type, Incomplete
129129. . . . . . . . . . . . . Properties: {
130130. . . . . . . . . . . . . . internalRole: dimensions
131131. . . . . . . . . . . . . }
132132. . . . . . . . . . . . }
133133. . . . . . . . . . . }
134134. . . . . . . . . . }
135135. . . . . . . . . . 1: VariableDeclarationFragment {
136- . . . . . . . . . . . Roles: Incomplete
136+ . . . . . . . . . . . Roles: Declaration, Incomplete
137137. . . . . . . . . . . Properties: {
138138. . . . . . . . . . . . internalRole: fragments
139139. . . . . . . . . . . }
140140. . . . . . . . . . . Children: {
141141. . . . . . . . . . . . 0: SimpleName {
142- . . . . . . . . . . . . . Roles: SimpleIdentifier, Expression
142+ . . . . . . . . . . . . . Roles: Expression,Identifier
143143. . . . . . . . . . . . . TOKEN "a"
144144. . . . . . . . . . . . . StartPosition: {
145145. . . . . . . . . . . . . . Offset: 38
@@ -162,13 +162,13 @@ CompilationUnit {
162162. . . . . . . . . . . . . }
163163. . . . . . . . . . . . . Children: {
164164. . . . . . . . . . . . . . 0: ArrayType {
165- . . . . . . . . . . . . . . . Roles: Incomplete
165+ . . . . . . . . . . . . . . . Roles: Type,Primitive,List
166166. . . . . . . . . . . . . . . Properties: {
167167. . . . . . . . . . . . . . . . internalRole: type
168168. . . . . . . . . . . . . . . }
169169. . . . . . . . . . . . . . . Children: {
170170. . . . . . . . . . . . . . . . 0: PrimitiveType {
171- . . . . . . . . . . . . . . . . . Roles: Incomplete
171+ . . . . . . . . . . . . . . . . . Roles: Type,Primitive
172172. . . . . . . . . . . . . . . . . TOKEN "int"
173173. . . . . . . . . . . . . . . . . StartPosition: {
174174. . . . . . . . . . . . . . . . . . Offset: 46
@@ -185,15 +185,15 @@ CompilationUnit {
185185. . . . . . . . . . . . . . . . . }
186186. . . . . . . . . . . . . . . . }
187187. . . . . . . . . . . . . . . . 1: Dimension {
188- . . . . . . . . . . . . . . . . . Roles: Incomplete
188+ . . . . . . . . . . . . . . . . . Roles: Type, Incomplete
189189. . . . . . . . . . . . . . . . . Properties: {
190190. . . . . . . . . . . . . . . . . . internalRole: dimensions
191191. . . . . . . . . . . . . . . . . }
192192. . . . . . . . . . . . . . . . }
193193. . . . . . . . . . . . . . . }
194194. . . . . . . . . . . . . . }
195195. . . . . . . . . . . . . . 1: NumberLiteral {
196- . . . . . . . . . . . . . . . Roles: NumberLiteral, Expression
196+ . . . . . . . . . . . . . . . Roles: Expression,Literal,Number
197197. . . . . . . . . . . . . . . StartPosition: {
198198. . . . . . . . . . . . . . . . Offset: 50
199199. . . . . . . . . . . . . . . . Line: 3
@@ -216,13 +216,13 @@ CompilationUnit {
216216. . . . . . . . . }
217217. . . . . . . . }
218218. . . . . . . . 1: VariableDeclarationStatement {
219- . . . . . . . . . Roles: Statement,Incomplete
219+ . . . . . . . . . Roles: Statement,Declaration, Incomplete
220220. . . . . . . . . Properties: {
221221. . . . . . . . . . internalRole: statements
222222. . . . . . . . . }
223223. . . . . . . . . Children: {
224224. . . . . . . . . . 0: PrimitiveType {
225- . . . . . . . . . . . Roles: Incomplete
225+ . . . . . . . . . . . Roles: Type,Primitive
226226. . . . . . . . . . . TOKEN "int"
227227. . . . . . . . . . . StartPosition: {
228228. . . . . . . . . . . . Offset: 58
@@ -239,13 +239,13 @@ CompilationUnit {
239239. . . . . . . . . . . }
240240. . . . . . . . . . }
241241. . . . . . . . . . 1: VariableDeclarationFragment {
242- . . . . . . . . . . . Roles: Incomplete
242+ . . . . . . . . . . . Roles: Declaration, Incomplete
243243. . . . . . . . . . . Properties: {
244244. . . . . . . . . . . . internalRole: fragments
245245. . . . . . . . . . . }
246246. . . . . . . . . . . Children: {
247247. . . . . . . . . . . . 0: SimpleName {
248- . . . . . . . . . . . . . Roles: SimpleIdentifier, Expression
248+ . . . . . . . . . . . . . Roles: Expression,Identifier
249249. . . . . . . . . . . . . TOKEN "b"
250250. . . . . . . . . . . . . StartPosition: {
251251. . . . . . . . . . . . . . Offset: 62
@@ -268,7 +268,7 @@ CompilationUnit {
268268. . . . . . . . . . . . . }
269269. . . . . . . . . . . . . Children: {
270270. . . . . . . . . . . . . . 0: SimpleName {
271- . . . . . . . . . . . . . . . Roles: SimpleIdentifier, Expression
271+ . . . . . . . . . . . . . . . Roles: Expression,Identifier
272272. . . . . . . . . . . . . . . TOKEN "a"
273273. . . . . . . . . . . . . . . StartPosition: {
274274. . . . . . . . . . . . . . . . Offset: 66
@@ -285,7 +285,7 @@ CompilationUnit {
285285. . . . . . . . . . . . . . . }
286286. . . . . . . . . . . . . . }
287287. . . . . . . . . . . . . . 1: NumberLiteral {
288- . . . . . . . . . . . . . . . Roles: NumberLiteral, Expression
288+ . . . . . . . . . . . . . . . Roles: Expression,Literal,Number
289289. . . . . . . . . . . . . . . StartPosition: {
290290. . . . . . . . . . . . . . . . Offset: 68
291291. . . . . . . . . . . . . . . . Line: 4
0 commit comments