Home | History | Annotate | Download | only in lib2to3

Lines Matching refs:pattern

24     PATTERN = None  # Most subclasses should override with a string literal
25 pattern = None # Compiled pattern, set by compile_pattern()
26 pattern_tree = None # Tree representation of the pattern
36 # which node type to accept when there's not a pattern.
60 """Compiles self.PATTERN into self.pattern.
63 self.{pattern,PATTERN} in .match().
65 if self.PATTERN is not None:
67 self.pattern, self.pattern_tree = PC.compile_pattern(self.PATTERN,
82 returned by a matching pattern.
87 return self.pattern.match(node, results) and results