mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Rust: rename MacroStmts to MacroBlockExpr
This commit is contained in:
@@ -1289,7 +1289,7 @@ class _:
|
||||
"""
|
||||
|
||||
|
||||
@annotate(MacroStmts, replace_bases={AstNode: Expr}, cfg=True)
|
||||
@annotate(MacroBlockExpr, replace_bases={AstNode: Expr}, cfg=True)
|
||||
@rust.doc_test_signature(None)
|
||||
class _:
|
||||
"""
|
||||
|
||||
4
rust/schema/ast.py
generated
4
rust/schema/ast.py
generated
@@ -397,8 +397,8 @@ class MacroRules(Item, ):
|
||||
token_tree: optional["TokenTree"] | child
|
||||
visibility: optional["Visibility"] | child
|
||||
|
||||
class MacroStmts(AstNode, ):
|
||||
expr: optional["Expr"] | child
|
||||
class MacroBlockExpr(AstNode, ):
|
||||
tail_expr: optional["Expr"] | child
|
||||
statements: list["Stmt"] | child
|
||||
|
||||
class MacroTypeRepr(TypeRepr, ):
|
||||
|
||||
Reference in New Issue
Block a user