Rust: add MacroStmts and MacroItems

This commit is contained in:
Arthur Baars
2024-10-01 15:17:17 +02:00
parent 7986fc7036
commit 69f0e8bcf7
3 changed files with 31 additions and 3 deletions

7
rust/schema/ast.py generated
View File

@@ -304,6 +304,9 @@ class MacroDef(Item):
class MacroExpr(Expr):
macro_call: optional["MacroCall"] | child
class MacroItems(AstNode):
items: list["Item"] | child
class MacroPat(Pat):
macro_call: optional["MacroCall"] | child
@@ -313,6 +316,10 @@ class MacroRules(Item):
token_tree: optional["TokenTree"] | child
visibility: optional["Visibility"] | child
class MacroStmts(AstNode):
expr: optional["Expr"] | child
statements: list["Stmt"] | child
class MacroType(TypeRef):
macro_call: optional["MacroCall"] | child