Searched refs:WildcardPattern (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Lib/lib2to3/ |
D | patcomp.py | 83 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)
|
D | pytree.py | 605 if isinstance(item, WildcardPattern): 639 class WildcardPattern(BasePattern): class 699 if (self.min <= 1 and isinstance(subpattern, WildcardPattern) and 701 return WildcardPattern(subpattern.content,
|
D | refactor.py | 67 if isinstance(pat, pytree.WildcardPattern):
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/ |
D | wizard.rb | 246 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/ |
D | test_pytree.py | 433 pw = pytree.WildcardPattern([[pn], [pl, pl]], name="pw") 468 pw = pytree.WildcardPattern([[pa, pb, pc], [pd, pe], 486 pytree.WildcardPattern(name="args"),
|