@@ -174,7 +174,7 @@ macro_expansion.rs:
174174# 1| getPath(): [Path] MyTrait
175175# 1| getSegment(): [PathSegment] MyTrait
176176# 1| getIdentifier(): [NameRef] MyTrait
177- # 3| getItem(1): [Function] fn foo
177+ # 3| getItem(1): [Function] (item with attribute macro expansion)
178178# 4| getAttributeMacroExpansion(): [MacroItems] MacroItems
179179# 4| getItem(0): [Function] fn foo
180180# 4| getParamList(): [ParamList] ParamList
@@ -190,7 +190,7 @@ macro_expansion.rs:
190190# 5| getIdentifier(): [NameRef] concat
191191# 5| getTokenTree(): [TokenTree] TokenTree
192192# 5| getMacroCallExpansion(): [StringLiteralExpr] "Hello world!"
193- # 7| getStatement(1): [Function] fn inner
193+ # 7| getStatement(1): [Function] (item with attribute macro expansion)
194194# 8| getAttributeMacroExpansion(): [MacroItems] MacroItems
195195# 8| getItem(0): [Function] fn inner_0
196196# 8| getParamList(): [ParamList] ParamList
@@ -202,16 +202,12 @@ macro_expansion.rs:
202202# 8| getFunctionBody(): [BlockExpr] { ... }
203203# 8| getStmtList(): [StmtList] StmtList
204204# 8| getName(): [Name] inner_1
205- # 8| getParamList(): [ParamList] ParamList
206205# 7| getAttr(0): [Attr] Attr
207206# 7| getMeta(): [Meta] Meta
208207# 7| getPath(): [Path] repeat
209208# 7| getSegment(): [PathSegment] repeat
210209# 7| getIdentifier(): [NameRef] repeat
211210# 7| getTokenTree(): [TokenTree] TokenTree
212- # 8| getFunctionBody(): [BlockExpr] { ... }
213- # 8| getStmtList(): [StmtList] StmtList
214- # 8| getName(): [Name] inner
215211# 10| getStatement(2): [ExprStmt] ExprStmt
216212# 10| getExpr(): [CallExpr] inner_0(...)
217213# 10| getArgList(): [ArgList] ArgList
@@ -242,7 +238,7 @@ macro_expansion.rs:
242238# 5| getIdentifier(): [NameRef] concat
243239# 5| getTokenTree(): [TokenTree] TokenTree
244240# 5| getMacroCallExpansion(): [StringLiteralExpr] "Hello world!"
245- # 7| getStatement(1): [Function] fn inner
241+ # 7| getStatement(1): [Function] (item with attribute macro expansion)
246242# 8| getAttributeMacroExpansion(): [MacroItems] MacroItems
247243# 8| getItem(0): [Function] fn inner_0
248244# 8| getParamList(): [ParamList] ParamList
@@ -254,16 +250,12 @@ macro_expansion.rs:
254250# 8| getFunctionBody(): [BlockExpr] { ... }
255251# 8| getStmtList(): [StmtList] StmtList
256252# 8| getName(): [Name] inner_1
257- # 8| getParamList(): [ParamList] ParamList
258253# 7| getAttr(0): [Attr] Attr
259254# 7| getMeta(): [Meta] Meta
260255# 7| getPath(): [Path] repeat
261256# 7| getSegment(): [PathSegment] repeat
262257# 7| getIdentifier(): [NameRef] repeat
263258# 7| getTokenTree(): [TokenTree] TokenTree
264- # 8| getFunctionBody(): [BlockExpr] { ... }
265- # 8| getStmtList(): [StmtList] StmtList
266- # 8| getName(): [Name] inner
267259# 10| getStatement(2): [ExprStmt] ExprStmt
268260# 10| getExpr(): [CallExpr] inner_0(...)
269261# 10| getArgList(): [ArgList] ArgList
@@ -280,53 +272,14 @@ macro_expansion.rs:
280272# 11| getIdentifier(): [NameRef] inner_1
281273# 4| getName(): [Name] foo_new
282274# 4| getVisibility(): [Visibility] Visibility
283- # 4| getParamList(): [ParamList] ParamList
284275# 3| getAttr(0): [Attr] Attr
285276# 3| getMeta(): [Meta] Meta
286277# 3| getPath(): [Path] add_one
287278# 3| getSegment(): [PathSegment] add_one
288279# 3| getIdentifier(): [NameRef] add_one
289- # 4| getFunctionBody(): [BlockExpr] { ... }
290- # 4| getStmtList(): [StmtList] StmtList
291- # 5| getStatement(0): [ExprStmt] ExprStmt
292- # 5| getExpr(): [AssignmentExpr] ... = ...
293- # 5| getLhs(): [UnderscoreExpr] _
294- # 5| getRhs(): [MacroExpr] MacroExpr
295- # 5| getMacroCall(): [MacroCall] concat!...
296- # 5| getPath(): [Path] concat
297- # 5| getSegment(): [PathSegment] concat
298- # 5| getIdentifier(): [NameRef] concat
299- # 5| getTokenTree(): [TokenTree] TokenTree
300- # 7| getStatement(1): [Function] fn inner
301- # 8| getParamList(): [ParamList] ParamList
302- # 7| getAttr(0): [Attr] Attr
303- # 7| getMeta(): [Meta] Meta
304- # 7| getPath(): [Path] repeat
305- # 7| getSegment(): [PathSegment] repeat
306- # 7| getIdentifier(): [NameRef] repeat
307- # 7| getTokenTree(): [TokenTree] TokenTree
308- # 8| getFunctionBody(): [BlockExpr] { ... }
309- # 8| getStmtList(): [StmtList] StmtList
310- # 8| getName(): [Name] inner
311- # 10| getStatement(2): [ExprStmt] ExprStmt
312- # 10| getExpr(): [CallExpr] inner_0(...)
313- # 10| getArgList(): [ArgList] ArgList
314- # 10| getFunction(): [PathExpr] inner_0
315- # 10| getPath(): [Path] inner_0
316- # 10| getSegment(): [PathSegment] inner_0
317- # 10| getIdentifier(): [NameRef] inner_0
318- # 11| getStatement(3): [ExprStmt] ExprStmt
319- # 11| getExpr(): [CallExpr] inner_1(...)
320- # 11| getArgList(): [ArgList] ArgList
321- # 11| getFunction(): [PathExpr] inner_1
322- # 11| getPath(): [Path] inner_1
323- # 11| getSegment(): [PathSegment] inner_1
324- # 11| getIdentifier(): [NameRef] inner_1
325- # 4| getName(): [Name] foo
326- # 4| getVisibility(): [Visibility] Visibility
327- # 14| getItem(2): [Function] fn bar
280+ # 14| getItem(2): [Function] (item with attribute macro expansion)
328281# 15| getAttributeMacroExpansion(): [MacroItems] MacroItems
329- # 15| getItem(0): [Function] fn bar_0
282+ # 15| getItem(0): [Function] (item with attribute macro expansion)
330283# 16| getAttributeMacroExpansion(): [MacroItems] MacroItems
331284# 16| getItem(0): [Function] fn bar_0
332285# 16| getParamList(): [ParamList] ParamList
@@ -340,17 +293,12 @@ macro_expansion.rs:
340293# 16| getStmtList(): [StmtList] StmtList
341294# 16| getName(): [Name] bar_0_new
342295# 16| getVisibility(): [Visibility] Visibility
343- # 16| getParamList(): [ParamList] ParamList
344296# 15| getAttr(0): [Attr] Attr
345297# 15| getMeta(): [Meta] Meta
346298# 15| getPath(): [Path] add_one
347299# 15| getSegment(): [PathSegment] add_one
348300# 15| getIdentifier(): [NameRef] add_one
349- # 16| getFunctionBody(): [BlockExpr] { ... }
350- # 16| getStmtList(): [StmtList] StmtList
351- # 16| getName(): [Name] bar_0
352- # 16| getVisibility(): [Visibility] Visibility
353- # 15| getItem(1): [Function] fn bar_1
301+ # 15| getItem(1): [Function] (item with attribute macro expansion)
354302# 16| getAttributeMacroExpansion(): [MacroItems] MacroItems
355303# 16| getItem(0): [Function] fn bar_1
356304# 16| getParamList(): [ParamList] ParamList
@@ -364,17 +312,11 @@ macro_expansion.rs:
364312# 16| getStmtList(): [StmtList] StmtList
365313# 16| getName(): [Name] bar_1_new
366314# 16| getVisibility(): [Visibility] Visibility
367- # 16| getParamList(): [ParamList] ParamList
368315# 15| getAttr(0): [Attr] Attr
369316# 15| getMeta(): [Meta] Meta
370317# 15| getPath(): [Path] add_one
371318# 15| getSegment(): [PathSegment] add_one
372319# 15| getIdentifier(): [NameRef] add_one
373- # 16| getFunctionBody(): [BlockExpr] { ... }
374- # 16| getStmtList(): [StmtList] StmtList
375- # 16| getName(): [Name] bar_1
376- # 16| getVisibility(): [Visibility] Visibility
377- # 16| getParamList(): [ParamList] ParamList
378320# 14| getAttr(0): [Attr] Attr
379321# 14| getMeta(): [Meta] Meta
380322# 14| getPath(): [Path] repeat
@@ -386,22 +328,13 @@ macro_expansion.rs:
386328# 15| getPath(): [Path] add_one
387329# 15| getSegment(): [PathSegment] add_one
388330# 15| getIdentifier(): [NameRef] add_one
389- # 16| getFunctionBody(): [BlockExpr] { ... }
390- # 16| getStmtList(): [StmtList] StmtList
391- # 16| getName(): [Name] bar
392- # 16| getVisibility(): [Visibility] Visibility
393- # 18| getItem(3): [Function] fn baz
331+ # 18| getItem(3): [Function] (item with attribute macro expansion)
394332# 18| getAttributeMacroExpansion(): [MacroItems] MacroItems
395- # 19| getParamList(): [ParamList] ParamList
396333# 18| getAttr(0): [Attr] Attr
397334# 18| getMeta(): [Meta] Meta
398335# 18| getPath(): [Path] erase
399336# 18| getSegment(): [PathSegment] erase
400337# 18| getIdentifier(): [NameRef] erase
401- # 19| getFunctionBody(): [BlockExpr] { ... }
402- # 19| getStmtList(): [StmtList] StmtList
403- # 19| getName(): [Name] baz
404- # 19| getVisibility(): [Visibility] Visibility
405338# 22| getItem(4): [MacroRules] MacroRules
406339# 22| getName(): [Name] hello
407340# 22| getTokenTree(): [TokenTree] TokenTree
@@ -410,7 +343,7 @@ macro_expansion.rs:
410343# 28| getVisibility(): [Visibility] Visibility
411344# 30| getItem(6): [Impl] impl S { ... }
412345# 30| getAssocItemList(): [AssocItemList] AssocItemList
413- # 31| getAssocItem(0): [Function] fn bzz
346+ # 31| getAssocItem(0): [Function] (item with attribute macro expansion)
414347# 32| getAttributeMacroExpansion(): [MacroItems] MacroItems
415348# 32| getItem(0): [Function] fn bzz_0
416349# 32| getParamList(): [ParamList] ParamList
@@ -556,24 +489,12 @@ macro_expansion.rs:
556489# 31| getIdentifier(): [NameRef] _print
557490# 32| getName(): [Name] bzz_2
558491# 32| getVisibility(): [Visibility] Visibility
559- # 32| getParamList(): [ParamList] ParamList
560492# 31| getAttr(0): [Attr] Attr
561493# 31| getMeta(): [Meta] Meta
562494# 31| getPath(): [Path] repeat
563495# 31| getSegment(): [PathSegment] repeat
564496# 31| getIdentifier(): [NameRef] repeat
565497# 31| getTokenTree(): [TokenTree] TokenTree
566- # 32| getFunctionBody(): [BlockExpr] { ... }
567- # 32| getStmtList(): [StmtList] StmtList
568- # 33| getStatement(0): [ExprStmt] ExprStmt
569- # 33| getExpr(): [MacroExpr] MacroExpr
570- # 33| getMacroCall(): [MacroCall] hello!...
571- # 33| getPath(): [Path] hello
572- # 33| getSegment(): [PathSegment] hello
573- # 33| getIdentifier(): [NameRef] hello
574- # 33| getTokenTree(): [TokenTree] TokenTree
575- # 32| getName(): [Name] bzz
576- # 32| getVisibility(): [Visibility] Visibility
577498# 30| getSelfTy(): [PathTypeRepr] S
578499# 30| getPath(): [Path] S
579500# 30| getSegment(): [PathSegment] S
0 commit comments