(node: dict)
| 162 | |
| 163 | |
| 164 | def node_attribute(node: dict) -> ASTNodeIdentifier: |
| 165 | stmt = ASTNodeIdentifier(label=node['attr'], node_type='attribute') |
| 166 | # TODO: ctx |
| 167 | |
| 168 | value = ASTNodeIdentifier(node_type='attribute_value') |
| 169 | value += extract_identifier(node['value']) |
| 170 | stmt += value |
| 171 | return stmt |
| 172 | |
| 173 | |
| 174 | def node_name(node: dict) -> ASTNodeIdentifier: |
nothing calls this directly
no test coverage detected