(node: dict)
| 152 | |
| 153 | |
| 154 | def node_class_def(node: dict) -> ASTNodeIdentifier: |
| 155 | stmt = ASTNodeIdentifier(label=node['name'], node_type='class_def') |
| 156 | body = ASTNodeIdentifier(node_type='class_def_body') |
| 157 | for b in node['body']: |
| 158 | body += extract_identifier(b) |
| 159 | |
| 160 | stmt += body |
| 161 | return stmt |
| 162 | |
| 163 | |
| 164 | def node_attribute(node: dict) -> ASTNodeIdentifier: |
nothing calls this directly
no test coverage detected