(node, name)
| 189 | |
| 190 | |
| 191 | def find_attribute_with_name(node, name): |
| 192 | if isinstance(node, ast.Attribute) and node.attr == name: |
| 193 | return node |
| 194 | for item in ast.iter_child_nodes(node): |
| 195 | r = find_attribute_with_name(item, name) |
| 196 | if r: |
| 197 | return r |
| 198 | |
| 199 | |
| 200 | def evaluate_current_expression( |
no outgoing calls
no test coverage detected