Searched refs:LeafPattern (Results 1 – 4 of 4) sorted by relevance
/third_party/python/Lib/lib2to3/tests/ |
D | test_pytree.py | 373 pl = pytree.LeafPattern(100, "foo", name="pl") 409 pl = pytree.LeafPattern(100, "foo", name="pl") 440 pa = pytree.LeafPattern(1, "a", "pa") 441 pb = pytree.LeafPattern(1, "b", "pb") 442 pc = pytree.LeafPattern(1, "c", "pc") 443 pd = pytree.LeafPattern(1, "d", "pd") 444 pe = pytree.LeafPattern(1, "e", "pe") 445 pf = pytree.LeafPattern(1, "f", "pf") 463 (pytree.LeafPattern(7), 465 pytree.LeafPattern(8)))
|
/third_party/python/Lib/lib2to3/ |
D | patcomp.py | 144 return pytree.LeafPattern(_type_of_literal(value), value) 152 return pytree.LeafPattern(TOKEN_MAP[value])
|
D | pytree.py | 500 class LeafPattern(BasePattern): class
|
D | refactor.py | 51 if isinstance(pat, (pytree.NodePattern, pytree.LeafPattern)):
|