/external/python/asn1crypto/tests/ |
D | test_init.py | 5 import _ast 49 if isinstance(node, _ast.Import): 53 elif isinstance(node, _ast.ImportFrom): 73 elif isinstance(node, _ast.If): 79 elif sys.version_info >= (3, 3) and isinstance(node, _ast.Try): 87 elif sys.version_info < (3, 3) and isinstance(node, _ast.TryFinally): 93 elif sys.version_info < (3, 3) and isinstance(node, _ast.TryExcept):
|
/external/rust/crates/regex-syntax/src/ast/ |
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()
|
D | print.rs | 176 fn fmt_group_post(&mut self, _ast: &ast::Group) -> fmt::Result { in fmt_group_post() 309 _ast: &ast::ClassBracketed, in fmt_class_bracketed_post()
|
D | parse.rs | 2284 _ast: &ast::ClassSetBinaryOp, in visit_class_set_binary_op_post()
|
/external/python/asn1crypto/dev/ |
D | _task.py | 5 import _ast 49 if isinstance(node, _ast.Assign): 51 and isinstance(node.targets[0], _ast.Name) \
|
/external/python/cpython2/Lib/test/ |
D | test_compile.py | 4 import _ast 542 ast = compile(code, '%s2' % fname, 'exec', _ast.PyCF_ONLY_AST) 543 self.assertTrue(type(ast) == _ast.Module) 550 co1 = compile('print 1', '<string>', 'exec', _ast.PyCF_ONLY_AST) 554 self.assertRaises(TypeError, compile, _ast.If(), '<ast>', 'exec') 557 ast = _ast.Module() 558 ast.body = [_ast.BoolOp()]
|
D | test_sys.py | 818 import _ast 819 check(_ast.AST(), size(''))
|
/external/python/cpython3/Lib/test/ |
D | test_compile.py | 6 import _ast 440 ast = compile(code, '%s2' % fname, 'exec', _ast.PyCF_ONLY_AST) 441 self.assertTrue(type(ast) == _ast.Module) 448 co1 = compile('print(1)', '<string>', 'exec', _ast.PyCF_ONLY_AST) 452 self.assertRaises(TypeError, compile, _ast.If(), '<ast>', 'exec') 455 ast = _ast.Module() 456 ast.body = [_ast.BoolOp()]
|
D | test_ast.py | 1971 import _ast as ast1 1974 import _ast as ast2 2003 import _ast 2004 self.assertIs(_ast, lazy_mod)
|
D | test_sys.py | 1412 import _ast 1413 check(_ast.AST(), size('P'))
|
/external/python/cpython2/Lib/ |
D | dumbdbm.py | 24 import ast as _ast namespace 91 key, pos_and_siz_pair = _ast.literal_eval(line)
|
D | ast.py | 28 from _ast import * 29 from _ast import __version__
|
/external/python/cpython3/Lib/dbm/ |
D | dumb.py | 24 import ast as _ast namespace 105 key, pos_and_siz_pair = _ast.literal_eval(line)
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.9.0rc2.rst | 47 The ``_ast`` module uses again a global state. Using a module state per 50 import, whereas Python expected that ``import _ast`` always return a fully 51 initialized ``_ast`` module.
|
D | 3.9.0b5.rst | 169 Fix a crash in the ``_ast`` module: it can no longer be loaded more than
|
D | 3.9.0a5.rst | 375 "_ast". Added docstrings for dummy AST node classes and deprecated
|
/external/python/cpython2/Modules/ |
D | config.c.in | 44 {"_ast", init_ast},
|
/external/python/cpython3/Modules/ |
D | config.c.in | 45 {"_ast", PyInit__ast},
|
/external/python/cpython2/Doc/library/ |
D | ast.rst | 11 The low-level ``_ast`` module containing only the node classes. 39 :ref:`below <abstract-grammar>`. They are defined in the :mod:`_ast` C
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6a2.rst | 36 compile() can now compile _ast trees as returned by ``compile(...,
|
/external/python/cpython3/Doc/library/ |
D | ast.rst | 48 :ref:`below <abstract-grammar>`. They are defined in the :mod:`_ast` C 1763 .. _ast-compiler-flags: 1791 .. _ast-cli:
|
/external/python/cpython3/Lib/ |
D | ast.py | 28 from _ast import *
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.5.rst | 2104 :func:`compile` built-in and specifying ``_ast.PyCF_ONLY_AST`` as the value of 2107 from _ast import PyCF_ONLY_AST
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.5.rst | 2105 :func:`compile` built-in and specifying ``_ast.PyCF_ONLY_AST`` as the value of 2108 from _ast import PyCF_ONLY_AST
|
D | 3.2.rst | 1510 ValueError: malformed node or string: <_ast.Call object at 0x101739a10>
|