(node: dict)
| 109 | |
| 110 | |
| 111 | def node_function_def(node: dict) -> ASTNodeIdentifier: |
| 112 | stmt = ASTNodeIdentifier(label=node['name'], node_type='func_def') |
| 113 | body = ASTNodeIdentifier(label='body', node_type='func_def_body') |
| 114 | |
| 115 | for b in node['body']: |
| 116 | body += extract_identifier(b) |
| 117 | |
| 118 | stmt += body |
| 119 | return stmt |
| 120 | |
| 121 | |
| 122 | def node_call(node: dict) -> ASTNodeIdentifier: |
nothing calls this directly
no test coverage detected