Searched refs:_ast (Results 1 - 8 of 8) sorted by relevance
/third_party/rust/crates/regex/regex-syntax/src/ast/ |
H A D | visitor.rs | 38 fn visit_pre(&mut self, _ast: &Ast) -> Result<(), Self::Err> { in visit_pre() 44 fn visit_post(&mut self, _ast: &Ast) -> Result<(), Self::Err> { in visit_post() 59 _ast: &ast::ClassSetItem, in visit_class_set_item_pre() 69 _ast: &ast::ClassSetItem, in visit_class_set_item_post() 79 _ast: &ast::ClassSetBinaryOp, in visit_class_set_binary_op_pre() 89 _ast: &ast::ClassSetBinaryOp, in visit_class_set_binary_op_post() 98 _ast: &ast::ClassSetBinaryOp, in visit_class_set_binary_op_in()
|
H A D | print.rs | 175 fn fmt_group_post(&mut self, _ast: &ast::Group) -> fmt::Result { in fmt_group_post() 308 _ast: &ast::ClassBracketed, in fmt_class_bracketed_post()
|
H A D | parse.rs | 2272 _ast: &ast::ClassSetBinaryOp, in visit_class_set_binary_op_post()
|
/third_party/python/Lib/dbm/ |
H A D | dumb.py | 24 import ast as _ast namespace 106 key, pos_and_siz_pair = _ast.literal_eval(line)
|
/third_party/python/Lib/test/ |
H A D | test_compile.py | 7 import _ast namespace 461 ast = compile(code, '%s2' % fname, 'exec', _ast.PyCF_ONLY_AST) 462 self.assertTrue(type(ast) == _ast.Module) 469 co1 = compile('print(1)', '<string>', 'exec', _ast.PyCF_ONLY_AST) 473 self.assertRaises(TypeError, compile, _ast.If(), '<ast>', 'exec') 476 ast = _ast.Module() 477 ast.body = [_ast.BoolOp()] 1095 ast_tree = compile(snippet, 'test_compile.py', 'exec', _ast.PyCF_ONLY_AST) 1096 self.assertTrue(type(ast_tree) == _ast.Module)
|
H A D | test_ast.py | 2370 # bpo-41194, bpo-41261, bpo-41631: The _ast module uses a global state. 2373 # Check that the _ast module still works as expected 2378 # Create _ast.AST subclasses instances 2386 # bpo-41194: Importing the _ast module twice must not crash. 2387 with support.swap_item(sys.modules, '_ast', None): 2388 del sys.modules['_ast'] 2389 import _ast as ast1 2391 del sys.modules['_ast'] 2392 import _ast as ast2 2396 # Unloading the two _ast modul 2421 import _ast global() namespace [all...] |
H A D | test_sys.py | 1624 # _ast.AST 1625 import _ast namespace 1626 check(_ast.AST(), size('P'))
|
/third_party/python/Lib/ |
H A D | ast.py | 28 from _ast import *
|
Completed in 21 milliseconds