(context)
| 41 | |
| 42 | |
| 43 | def visit_Constant(context): |
| 44 | if context.node.get("kind") is None and type(context.node["value"]) == str: |
| 45 | node = String(context.node["value"]) |
| 46 | elif context.node.get("kind") is None and type(context.node["value"]) == int: |
| 47 | node = Number(context.node["value"]) |
| 48 | else: |
| 49 | node = Constant(context.node["value"]) |
| 50 | |
| 51 | node.enrich_from_previous(context.node) |
| 52 | context.replace(node) |
| 53 | return node |
| 54 | |
| 55 | |
| 56 | def visit_Dict(context): |
nothing calls this directly
no test coverage detected