Home
last modified time | relevance | path

Searched refs:LeafPattern (Results 1 – 4 of 4) sorted by relevance

/third_party/python/Lib/lib2to3/tests/
Dtest_pytree.py373 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/
Dpatcomp.py144 return pytree.LeafPattern(_type_of_literal(value), value)
152 return pytree.LeafPattern(TOKEN_MAP[value])
Dpytree.py500 class LeafPattern(BasePattern): class
Drefactor.py51 if isinstance(pat, (pytree.NodePattern, pytree.LeafPattern)):