mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Rust: add MacroStmts and MacroItems
This commit is contained in:
7
rust/schema/ast.py
generated
7
rust/schema/ast.py
generated
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user