Searched refs:patterns (Results 1 – 2 of 2) sorted by relevance
232 def accept(self, *patterns): argument233 m = self.lookahead(*patterns)238 def expect(self, *patterns): argument239 m = self.accept(*patterns)241 raise ParseFailure(patterns, self.tokens[self.off:])
231 If we look at existing filesystems, there are two interesting design patterns