Searched refs:get_source_segment (Results 1 – 11 of 11) sorted by relevance
/aosp_15_r20/external/python/cpython3/Tools/i18n/ |
D | pygettext.py | 372 'source_segment': ast.get_source_segment(tstring, call) or tstring, 382 'source_segment': ast.get_source_segment(tstring, call) or tstring, 393 'source_segment': ast.get_source_segment(tstring, call) or tstring,
|
/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | test_ast.py | 1985 self.assertEqual(ast.get_source_segment(source, ast_node), content) 2271 self.assertEqual(ast.get_source_segment(s_orig, binop.left), s_tuple) 2282 self.assertEqual(ast.get_source_segment(s_orig, cdef.body[0], padded=True), 2304 self.assertEqual(ast.get_source_segment(s, cdef.body[0], padded=True), s_method) 2313 self.assertIsNone(ast.get_source_segment(s, v)) 2314 self.assertIsNone(ast.get_source_segment(s, w)) 2315 self.assertIsNone(ast.get_source_segment(s, x)) 2316 self.assertIsNone(ast.get_source_segment(s, y))
|
/aosp_15_r20/external/python/cpython3/Misc/NEWS.d/ |
D | 3.9.0b1.rst | 203 Fixed :func:`ast.get_source_segment` for ast nodes that have incomplete
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/ |
D | ast.py | 343 def get_source_segment(source, node, *, padded=False): function
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/ |
D | ast.py | 343 def get_source_segment(source, node, *, padded=False): function
|
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/ |
H A D | ast.py | 343 def get_source_segment(source, node, *, padded=False): function
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/ |
D | ast.py | 343 def get_source_segment(source, node, *, padded=False): function
|
/aosp_15_r20/external/python/cpython3/Lib/ |
D | ast.py | 343 def get_source_segment(source, node, *, padded=False): function
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/ |
D | ast.py | 343 def get_source_segment(source, node, *, padded=False): function
|
/aosp_15_r20/external/python/cpython3/Doc/library/ |
D | ast.rst | 2039 .. function:: get_source_segment(source, node, *, padded=False)
|
/aosp_15_r20/external/python/cpython3/Doc/whatsnew/ |
D | 3.8.rst | 577 New function :func:`ast.get_source_segment` returns the source code
|