

def print_node(node):
    text = (node.spelling or node.displayname)
    kind = str(text.kind)[(str(node.kind).index('.') + 1):]
    return '{} {}'.format(kind, text)

dataset/ETHPy150Open sztomi/code-generator/src/dump_ast.py print_node/VarMisuse@26/30 `node`->`text`