Home
last modified time | relevance | path

Searched refs:WildcardPattern (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/lib2to3/
Dpatcomp.py83 p = pytree.WildcardPattern([[a] for a in alts], min=1, max=1)
90 p = pytree.WildcardPattern([units], min=1, max=1)
133 pattern = pytree.WildcardPattern([[pattern]], min=min, max=max)
171 return pytree.WildcardPattern([[subpattern]], min=0, max=1)
Dpytree.py605 if isinstance(item, WildcardPattern):
639 class WildcardPattern(BasePattern): class
699 if (self.min <= 1 and isinstance(subpattern, WildcardPattern) and
701 return WildcardPattern(subpattern.content,
Drefactor.py67 if isinstance(pat, pytree.WildcardPattern):
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/
Dwizard.rb246 node = WildcardPattern.new( wildcard_payload )
311 class WildcardPattern < Pattern; end class in ANTLR3.AST.Wizard
406 if pattern.nil? or pattern.flat_list? or pattern.is_a?( WildcardPattern )
424 unless pattern.is_a? WildcardPattern
/external/python/cpython2/Lib/lib2to3/tests/
Dtest_pytree.py433 pw = pytree.WildcardPattern([[pn], [pl, pl]], name="pw")
468 pw = pytree.WildcardPattern([[pa, pb, pc], [pd, pe],
486 pytree.WildcardPattern(name="args"),