Searched refs:ast1 (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython2/Demo/parser/ |
D | test_unparse.py | 77 def assertASTEqual(self, ast1, ast2): argument 78 dump1 = ast.dump(ast1) 80 self.assertEqual(ast.dump(ast1), ast.dump(ast2)) 83 ast1 = compile(code1, filename, "exec", ast.PyCF_ONLY_AST) 85 unparse.Unparser(ast1, unparse_buffer) 88 self.assertASTEqual(ast1, ast2)
|
/external/python/cpython3/Lib/test/test_tools/ |
D | test_unparse.py | 123 def assertASTEqual(self, ast1, ast2): argument 124 self.assertEqual(ast.dump(ast1), ast.dump(ast2)) 127 ast1 = compile(code1, filename, "exec", ast.PyCF_ONLY_AST) 129 unparse.Unparser(ast1, unparse_buffer) 132 self.assertASTEqual(ast1, ast2)
|
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ |
D | TreeToNFAConverter.g | 488 ( c=CHAR_LITERAL (ast1=ast_suffix)?
|