Home
last modified time | relevance | path

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

/third_party/python/Lib/lib2to3/tests/
Dtest_pytree.py387 pn = pytree.NodePattern(1000, [pl], name="pn")
410 pn = pytree.NodePattern(1000, [pl], name="pn")
451 pr = pytree.NodePattern(type=1000, content=[pw], name="pr")
462 pattern = pytree.NodePattern(331,
/third_party/python/Lib/lib2to3/
Dpytree.py544 class NodePattern(BasePattern): class
662 return NodePattern(name=self.name)
Dpatcomp.py164 return pytree.NodePattern(type, content)
Drefactor.py51 if isinstance(pat, (pytree.NodePattern, pytree.LeafPattern)):