Rust: address review

This commit is contained in:
Paolo Tranquilli
2024-10-15 14:21:11 +02:00
parent 248eb7f00c
commit bd08bc7923
4 changed files with 41 additions and 10 deletions

View File

@@ -63,3 +63,11 @@ class Unimplemented(Unextracted):
The base class for unimplemented nodes. This is used to mark nodes that are not yet extracted.
"""
pass
class Callable(AstNode):
"""
A callable. Either a `Function` or a `ClosureExpr`.
"""
param_list: optional["ParamList"] | child
attrs: list["Attr"] | child