Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/lib2to3/
Dpytree.py479 def match_seq(self, nodes, results=None): member in BasePattern
675 return self.match_seq([node], results)
677 def match_seq(self, nodes, results=None): member in WildcardPattern
812 def match_seq(self, nodes): member in NegatedPattern
/external/python/cpython2/Lib/lib2to3/
Dpytree.py513 def match_seq(self, nodes, results=None): member in BasePattern
709 return self.match_seq([node], results)
711 def match_seq(self, nodes, results=None): member in WildcardPattern
846 def match_seq(self, nodes): member in NegatedPattern
/external/python/cpython3/Lib/lib2to3/tests/
Dtest_pytree.py413 self.assertFalse(pw.match_seq([root], r))
415 self.assertFalse(pw.match_seq([n1], r))
417 self.assertTrue(pw.match_seq([n2], r))
426 self.assertTrue(pw.match_seq([l1, l3], r))
/external/python/cpython2/Lib/lib2to3/tests/
Dtest_pytree.py435 self.assertFalse(pw.match_seq([root], r))
437 self.assertFalse(pw.match_seq([n1], r))
439 self.assertTrue(pw.match_seq([n2], r))
448 self.assertTrue(pw.match_seq([l1, l3], r))