Home
last modified time | relevance | path

Searched refs:ParseCodeToTree (Results 1 – 7 of 7) sorted by relevance

/external/yapf/yapftests/
Dcomment_splicer_test.py49 tree = pytree_utils.ParseCodeToTree(code)
66 tree = pytree_utils.ParseCodeToTree(code)
82 tree = pytree_utils.ParseCodeToTree(code)
95 tree = pytree_utils.ParseCodeToTree(code)
111 tree = pytree_utils.ParseCodeToTree(code)
127 tree = pytree_utils.ParseCodeToTree(code)
145 tree = pytree_utils.ParseCodeToTree(code)
164 tree = pytree_utils.ParseCodeToTree(code)
180 tree = pytree_utils.ParseCodeToTree(code)
197 tree = pytree_utils.ParseCodeToTree(code)
[all …]
Dpytree_visitor_test.py64 tree = pytree_utils.ParseCodeToTree(_VISITOR_TEST_SIMPLE_CODE)
79 tree = pytree_utils.ParseCodeToTree(_VISITOR_TEST_NESTED_CODE)
98 tree = pytree_utils.ParseCodeToTree(_VISITOR_TEST_SIMPLE_CODE)
109 tree = pytree_utils.ParseCodeToTree(_VISITOR_TEST_SIMPLE_CODE)
Dpytree_utils_test.py53 tree = pytree_utils.ParseCodeToTree('foo = 2\n')
59 tree = pytree_utils.ParseCodeToTree(
66 tree = pytree_utils.ParseCodeToTree('print "hello world"\n')
72 tree = pytree_utils.ParseCodeToTree('class nonlocal: pass\n')
Dyapf_test_helper.py74 tree = pytree_utils.ParseCodeToTree(code)
Dsplit_penalty_test.py45 tree = pytree_utils.ParseCodeToTree(code)
/external/yapf/yapf/yapflib/
Dpytree_utils.py96 def ParseCodeToTree(code): function
Dyapf_api.py129 tree = pytree_utils.ParseCodeToTree(unformatted_source)