Searched refs:NodePattern (Results 1 – 4 of 4) sorted by relevance
/third_party/python/Lib/lib2to3/tests/ |
D | test_pytree.py | 387 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/ |
D | pytree.py | 544 class NodePattern(BasePattern): class 662 return NodePattern(name=self.name)
|
D | patcomp.py | 164 return pytree.NodePattern(type, content)
|
D | refactor.py | 51 if isinstance(pat, (pytree.NodePattern, pytree.LeafPattern)):
|