Lines Matching defs:PATTERN
25 PATTERN = None # Most subclasses should override with a string literal
26 pattern = None # Compiled pattern, set by compile_pattern()
27 pattern_tree = None # Tree representation of the pattern
38 # which node type to accept when there's not a pattern.
62 """Compiles self.PATTERN into self.pattern.
65 self.{pattern,PATTERN} in .match().
67 if self.PATTERN is not None:
69 self.pattern, self.pattern_tree = PC.compile_pattern(self.PATTERN,
85 returned by a matching pattern.
90 return self.pattern.match(node, results) and results