Lines Matching refs:match
254 def match(self, buf, pos): member in TokenMatcher
255 match = self._matcher.match(buf, pos)
256 if not match:
258 return (self._kinds[match.lastindex - 1], match.start(), match.end())
321 match = self._COMMENT_MATCHER.match(self._line_buf)
322 if not match:
325 self._line_pos = match.end()
332 match = self._SPACE_MATCHER.match(self._line_buf, self._line_pos)
333 if match:
334 self._line_pos = match.end()
356 match = self._SIMPLE_TOKEN_MATCHER.match(
358 if not match:
360 kind, start, end = match
437 match = matcher.match(self._line_buf, self._line_pos)
438 if not match:
441 kind, start, end = match