@@ -130,118 +130,142 @@ attributes.cs:
130130# 54| -1: [TypeMention] MyAttribute
131131# 54| 0: [BoolLiteral] false
132132# 55| 4: [BlockStmt] {...}
133- # 58 | 7: [Method] M2
134- # 58 | -1: [TypeMention] Void
133+ # 59 | 7: [Method] M2
134+ # 59 | -1: [TypeMention] Void
135135#-----| 0: (Attributes)
136136# 57| 1: [Attribute] [My(...)]
137137# 57| -1: [TypeMention] MyAttribute
138138# 57| 0: [BoolLiteral] true
139139# 57| 1: [StringLiteral] ""
140140# 57| 2: [IntLiteral] 0
141- # 58| 4: [BlockStmt] {...}
142- # 61| [Class] MyAttribute
141+ # 58| 2: [Attribute] [My2(...)]
142+ # 58| -1: [TypeMention] My2Attribute
143+ # 58| 0: [BoolLiteral] true
144+ # 58| 1: [BoolLiteral] false
145+ # 58| 3: [IntLiteral] 42
146+ # 59| 4: [BlockStmt] {...}
147+ # 62| [Class] MyAttribute
143148#-----| 3: (Base types)
144- # 61 | 0: [TypeMention] Attribute
145- # 63 | 4: [Field] x
146- # 63 | -1: [TypeMention] int
147- # 64 | 5: [IndexerProperty] y
148- # 64 | -1: [TypeMention] string
149- # 64 | 3: [Getter] get_y
150- # 64 | 4: [Setter] set_y
149+ # 62 | 0: [TypeMention] Attribute
150+ # 64 | 4: [Field] x
151+ # 64 | -1: [TypeMention] int
152+ # 65 | 5: [IndexerProperty] y
153+ # 65 | -1: [TypeMention] string
154+ # 65 | 3: [Getter] get_y
155+ # 65 | 4: [Setter] set_y
151156#-----| 2: (Parameters)
152- # 64 | 0: [Parameter] value
153- # 65 | 6: [InstanceConstructor] MyAttribute
157+ # 65 | 0: [Parameter] value
158+ # 66 | 6: [InstanceConstructor] MyAttribute
154159#-----| 2: (Parameters)
155- # 65 | 0: [Parameter] b
156- # 65 | -1: [TypeMention] bool
157- # 65 | 4: [BlockStmt] {...}
158- # 68 | [Enum] E
159- # 68 | 5: [Field] A
160- # 68 | 1: [AssignExpr] ... = ...
161- # 68 | 0: [MemberConstantAccess] access to constant A
162- # 68 | 1: [IntLiteral] 42
163- # 70 | [Class] ArgsAttribute
160+ # 66 | 0: [Parameter] b
161+ # 66 | -1: [TypeMention] bool
162+ # 66 | 4: [BlockStmt] {...}
163+ # 69 | [Enum] E
164+ # 69 | 5: [Field] A
165+ # 69 | 1: [AssignExpr] ... = ...
166+ # 69 | 0: [MemberConstantAccess] access to constant A
167+ # 69 | 1: [IntLiteral] 42
168+ # 71 | [Class] ArgsAttribute
164169#-----| 3: (Base types)
165- # 70 | 0: [TypeMention] Attribute
166- # 72 | 4: [Property] Prop
167- # 72 | -1: [TypeMention] Object[]
168- # 72 | 1: [TypeMention] object
169- # 72 | 3: [Getter] get_Prop
170- # 72 | 4: [Setter] set_Prop
170+ # 71 | 0: [TypeMention] Attribute
171+ # 73 | 4: [Property] Prop
172+ # 73 | -1: [TypeMention] Object[]
173+ # 73 | 1: [TypeMention] object
174+ # 73 | 3: [Getter] get_Prop
175+ # 73 | 4: [Setter] set_Prop
171176#-----| 2: (Parameters)
172- # 72 | 0: [Parameter] value
173- # 73 | 5: [InstanceConstructor] ArgsAttribute
177+ # 73 | 0: [Parameter] value
178+ # 74 | 5: [InstanceConstructor] ArgsAttribute
174179#-----| 2: (Parameters)
175- # 73 | 0: [Parameter] i
176- # 73 | -1: [TypeMention] int
177- # 73 | 1: [Parameter] o
178- # 73 | -1: [TypeMention] object
179- # 73 | 2: [Parameter] t
180- # 73 | -1: [TypeMention] Type
181- # 73 | 3: [Parameter] e
182- # 73 | -1: [TypeMention] E
183- # 73 | 4: [Parameter] arr
184- # 73 | -1: [TypeMention] Int32[]
185- # 73 | 1: [TypeMention] int
186- # 73 | 4: [BlockStmt] {...}
187- # 77 | [Class] X
180+ # 74 | 0: [Parameter] i
181+ # 74 | -1: [TypeMention] int
182+ # 74 | 1: [Parameter] o
183+ # 74 | -1: [TypeMention] object
184+ # 74 | 2: [Parameter] t
185+ # 74 | -1: [TypeMention] Type
186+ # 74 | 3: [Parameter] e
187+ # 74 | -1: [TypeMention] E
188+ # 74 | 4: [Parameter] arr
189+ # 74 | -1: [TypeMention] Int32[]
190+ # 74 | 1: [TypeMention] int
191+ # 74 | 4: [BlockStmt] {...}
192+ # 78 | [Class] X
188193#-----| 0: (Attributes)
189- # 76 | 1: [Attribute] [Args(...)]
190- # 76 | -1: [TypeMention] ArgsAttribute
191- # 76 | 0: [IntLiteral] 42
192- # 76 | 1: [NullLiteral] null
193- # 76 | 2: [TypeofExpr] typeof(...)
194- # 76 | 0: [TypeAccess] access to type X
195- # 76 | 0: [TypeMention] X
196- # 76 | 3: [MemberConstantAccess] access to constant A
197- # 76 | -1: [TypeAccess] access to type E
198- # 76 | 0: [TypeMention] E
199- # 76 | 4: [ArrayCreation] array creation of type Int32[]
200- # 76 | -2: [TypeMention] Int32[]
201- # 76 | 1: [TypeMention] int
202- # 76 | -1: [ArrayInitializer] { ..., ... }
203- # 76 | 0: [IntLiteral] 1
204- # 76 | 1: [IntLiteral] 2
205- # 76 | 2: [IntLiteral] 3
206- # 76 | 5: [ArrayCreation] array creation of type Object[]
207- # 76 | -2: [TypeMention] Object[]
208- # 76 | 1: [TypeMention] object
209- # 76 | -1: [ArrayInitializer] { ..., ... }
210- # 76 | 0: [CastExpr] (...) ...
211- # 76 | 1: [IntLiteral] 1
212- # 76 | 1: [TypeofExpr] typeof(...)
213- # 76 | 0: [TypeAccess] access to type Int32
214- # 76 | 0: [TypeMention] int
215- # 81 | 5: [Method] SomeMethod
216- # 81 | -1: [TypeMention] int
194+ # 77 | 1: [Attribute] [Args(...)]
195+ # 77 | -1: [TypeMention] ArgsAttribute
196+ # 77 | 0: [IntLiteral] 42
197+ # 77 | 1: [NullLiteral] null
198+ # 77 | 2: [TypeofExpr] typeof(...)
199+ # 77 | 0: [TypeAccess] access to type X
200+ # 77 | 0: [TypeMention] X
201+ # 77 | 3: [MemberConstantAccess] access to constant A
202+ # 77 | -1: [TypeAccess] access to type E
203+ # 77 | 0: [TypeMention] E
204+ # 77 | 4: [ArrayCreation] array creation of type Int32[]
205+ # 77 | -2: [TypeMention] Int32[]
206+ # 77 | 1: [TypeMention] int
207+ # 77 | -1: [ArrayInitializer] { ..., ... }
208+ # 77 | 0: [IntLiteral] 1
209+ # 77 | 1: [IntLiteral] 2
210+ # 77 | 2: [IntLiteral] 3
211+ # 77 | 5: [ArrayCreation] array creation of type Object[]
212+ # 77 | -2: [TypeMention] Object[]
213+ # 77 | 1: [TypeMention] object
214+ # 77 | -1: [ArrayInitializer] { ..., ... }
215+ # 77 | 0: [CastExpr] (...) ...
216+ # 77 | 1: [IntLiteral] 1
217+ # 77 | 1: [TypeofExpr] typeof(...)
218+ # 77 | 0: [TypeAccess] access to type Int32
219+ # 77 | 0: [TypeMention] int
220+ # 82 | 5: [Method] SomeMethod
221+ # 82 | -1: [TypeMention] int
217222#-----| 0: (Attributes)
218- # 79| 1: [Attribute] [Args(...)]
219- # 79| -1: [TypeMention] ArgsAttribute
220- # 79| 0: [AddExpr] ... + ...
221- # 79| 0: [IntLiteral] 42
222- # 79| 1: [IntLiteral] 0
223- # 79| 1: [ArrayCreation] array creation of type Int32[]
224- # 79| -2: [TypeMention] Int32[]
225- # 79| 1: [TypeMention] int
226- # 79| -1: [ArrayInitializer] { ..., ... }
227- # 79| 0: [IntLiteral] 1
228- # 79| 1: [IntLiteral] 2
229- # 79| 2: [IntLiteral] 3
230- # 79| 2: [NullLiteral] null
231- # 79| 3: [CastExpr] (...) ...
232- # 79| 0: [TypeAccess] access to type E
233- # 79| 0: [TypeMention] E
234- # 79| 1: [IntLiteral] 12
235- # 79| 4: [NullLiteral] null
236- # 79| 5: [ArrayCreation] array creation of type Object[]
237- # 79| -2: [TypeMention] Object[]
238- # 79| 1: [TypeMention] object
239- # 79| -1: [ArrayInitializer] { ..., ... }
240- # 79| 0: [CastExpr] (...) ...
241- # 79| 1: [IntLiteral] 1
242- # 79| 1: [TypeofExpr] typeof(...)
243- # 79| 0: [TypeAccess] access to type Int32
244- # 79| 0: [TypeMention] int
245- # 81| 4: [BlockStmt] {...}
246- # 81| 0: [ReturnStmt] return ...;
247- # 81| 0: [IntLiteral] 1
223+ # 80| 1: [Attribute] [Args(...)]
224+ # 80| -1: [TypeMention] ArgsAttribute
225+ # 80| 0: [AddExpr] ... + ...
226+ # 80| 0: [IntLiteral] 42
227+ # 80| 1: [IntLiteral] 0
228+ # 80| 1: [ArrayCreation] array creation of type Int32[]
229+ # 80| -2: [TypeMention] Int32[]
230+ # 80| 1: [TypeMention] int
231+ # 80| -1: [ArrayInitializer] { ..., ... }
232+ # 80| 0: [IntLiteral] 1
233+ # 80| 1: [IntLiteral] 2
234+ # 80| 2: [IntLiteral] 3
235+ # 80| 2: [NullLiteral] null
236+ # 80| 3: [CastExpr] (...) ...
237+ # 80| 0: [TypeAccess] access to type E
238+ # 80| 0: [TypeMention] E
239+ # 80| 1: [IntLiteral] 12
240+ # 80| 4: [NullLiteral] null
241+ # 80| 5: [ArrayCreation] array creation of type Object[]
242+ # 80| -2: [TypeMention] Object[]
243+ # 80| 1: [TypeMention] object
244+ # 80| -1: [ArrayInitializer] { ..., ... }
245+ # 80| 0: [CastExpr] (...) ...
246+ # 80| 1: [IntLiteral] 1
247+ # 80| 1: [TypeofExpr] typeof(...)
248+ # 80| 0: [TypeAccess] access to type Int32
249+ # 80| 0: [TypeMention] int
250+ # 82| 4: [BlockStmt] {...}
251+ # 82| 0: [ReturnStmt] return ...;
252+ # 82| 0: [IntLiteral] 1
253+ # 85| [Class] My2Attribute
254+ #-----| 3: (Base types)
255+ # 85| 0: [TypeMention] Attribute
256+ # 87| 4: [Property] X
257+ # 87| -1: [TypeMention] int
258+ # 87| 3: [Getter] get_X
259+ # 87| 4: [Setter] set_X
260+ #-----| 2: (Parameters)
261+ # 87| 0: [Parameter] value
262+ # 88| 5: [InstanceConstructor] My2Attribute
263+ #-----| 2: (Parameters)
264+ # 88| 0: [Parameter] a
265+ # 88| -1: [TypeMention] bool
266+ # 88| 1: [Parameter] b
267+ # 88| -1: [TypeMention] bool
268+ # 88| 2: [Parameter] i
269+ # 88| -1: [TypeMention] int
270+ # 88| 1: [IntLiteral] 12
271+ # 88| 4: [BlockStmt] {...}
0 commit comments