Home
last modified time | relevance | path

Searched refs:_ast (Results 1 – 15 of 15) sorted by relevance

/third_party/rust/crates/regex/regex-syntax/src/ast/
Dvisitor.rs38 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()
Dprint.rs175 fn fmt_group_post(&mut self, _ast: &ast::Group) -> fmt::Result { in fmt_group_post()
308 _ast: &ast::ClassBracketed, in fmt_class_bracketed_post()
Dparse.rs2272 _ast: &ast::ClassSetBinaryOp, in visit_class_set_binary_op_post()
/third_party/python/Lib/test/
Dtest_compile.py6 import _ast
455 ast = compile(code, '%s2' % fname, 'exec', _ast.PyCF_ONLY_AST)
456 self.assertTrue(type(ast) == _ast.Module)
463 co1 = compile('print(1)', '<string>', 'exec', _ast.PyCF_ONLY_AST)
467 self.assertRaises(TypeError, compile, _ast.If(), '<ast>', 'exec')
470 ast = _ast.Module()
471 ast.body = [_ast.BoolOp()]
Dtest_ast.py2189 import _ast as ast1
2192 import _ast as ast2
2221 import _ast
2222 self.assertIs(_ast, lazy_mod)
Dtest_sys.py1496 import _ast
1497 check(_ast.AST(), size('P'))
/third_party/python/Lib/dbm/
Ddumb.py24 import ast as _ast namespace
105 key, pos_and_siz_pair = _ast.literal_eval(line)
/third_party/python/Modules/
Dconfig.c.in45 {"_ast", PyInit__ast},
/third_party/python/Misc/NEWS.d/
D3.10.0a1.rst272 The ``_ast`` module uses again a global state. Using a module state per
275 import, whereas Python expected that ``import _ast`` always return a fully
276 initialized ``_ast`` module.
1657 Fix a crash in the ``_ast`` module: it can no longer be loaded more than
D3.9.0a5.rst375 "_ast". Added docstrings for dummy AST node classes and deprecated
/third_party/python/Doc/library/
Dast.rst48 :ref:`below <abstract-grammar>`. They are defined in the :mod:`_ast` C
2157 .. _ast-compiler-flags:
2185 .. _ast-cli:
/third_party/python/Lib/
Dast.py28 from _ast import *
/third_party/python/Doc/whatsnew/
D2.5.rst2105 :func:`compile` built-in and specifying ``_ast.PyCF_ONLY_AST`` as the value of
2108 from _ast import PyCF_ONLY_AST
D3.2.rst1510 ValueError: malformed node or string: <_ast.Call object at 0x101739a10>
/third_party/python/Misc/
DHISTORY17327 - Removed the compiler package. Use of the _ast module and (an
18585 to Python code; an _ast module was added.