(node: dict)
| 120 | |
| 121 | |
| 122 | def node_call(node: dict) -> ASTNodeIdentifier: |
| 123 | stmt = ASTNodeIdentifier(label=None, node_type='call') |
| 124 | |
| 125 | func = ASTNodeIdentifier(node_type='call_func') |
| 126 | func += extract_identifier(node['func']) |
| 127 | stmt += func |
| 128 | |
| 129 | args = ASTNodeIdentifier(node_type='call_args') |
| 130 | for arg in node['args']: |
| 131 | args += extract_identifier(arg) |
| 132 | |
| 133 | stmt += args |
| 134 | return stmt |
| 135 | |
| 136 | |
| 137 | def node_module(node: dict) -> ASTNodeIdentifier: |
nothing calls this directly
no test coverage detected