| 922 | // https://docs.python.org/3/library/ast.html#functiondef |
| 923 | #[derive(Debug, Clone)] |
| 924 | pub struct FunctionDef { |
| 925 | pub node: Node, |
| 926 | pub name: StrId, |
| 927 | pub args: Arguments, |
| 928 | pub body: Vec<Statement>, |
| 929 | pub decorator_list: Vec<Expression>, |
| 930 | pub returns: Option<Expression>, |
| 931 | pub type_comment: Option<String>, |
| 932 | pub type_params: Vec<TypeParam>, |
| 933 | } |
| 934 | |
| 935 | // https://docs.python.org/3/library/ast.html#ast.AsyncFunctionDef |
| 936 | #[derive(Debug, Clone)] |
no outgoing calls
no test coverage detected