(node: dict)
| 183 | |
| 184 | |
| 185 | def node_assign(node: dict) -> ASTNodeIdentifier: |
| 186 | stmt = ASTNodeIdentifier(node_type='assign') |
| 187 | targets = ASTNodeIdentifier(node_type='assign_targets') |
| 188 | |
| 189 | for t in node['targets']: |
| 190 | targets += extract_identifier(t) |
| 191 | stmt += targets |
| 192 | |
| 193 | value = ASTNodeIdentifier(node_type='assign_value') |
| 194 | value += extract_identifier(node['value']) |
| 195 | stmt += value |
| 196 | |
| 197 | return stmt |
| 198 | |
| 199 | |
| 200 | def node_import(node: dict) -> ASTNodeIdentifier: |
nothing calls this directly
no test coverage detected