def visit(self, node):
        SourceGenerator.visit(self, node)
        if not isinstance(node, (ast.Num, ast.Str)) and hasattr(node, 'val'):
            self.write(colored(' (%s)' % node.val, 'green'))
dataset/ETHPy150Open Suor/flaws/flaws/asttools.py/AnnotatedSourceGenerator.visit/original