Lines Matching refs:lex_match
388 def lex_match(self, match_set): member in Lexer
635 key = self._lexer.lex_match({TK.IDENT}).value
636 self._lexer.lex_match({TK.ASSIGN})
639 self._lexer.lex_match({TK.NEWLINE, TK.EOF})
683 token = self._lexer.lex_match({TK.IDENT})
699 self._lexer.lex_match({TK.COLON})
702 build.rule = self._lexer.lex_match({TK.IDENT}).value
730 self._lexer.lex_match({TK.NEWLINE, TK.EOF})
763 token = self._lexer.lex_match({TK.IDENT})
767 rule.name = self._lexer.lex_match({TK.IDENT}).value
768 self._lexer.lex_match({TK.NEWLINE, TK.EOF})
782 token = self._lexer.lex_match({TK.IDENT})
789 self._lexer.lex_match({TK.NEWLINE, TK.EOF})
802 token = self._lexer.lex_match({TK.IDENT})
811 self._lexer.lex_match({TK.NEWLINE, TK.EOF})
826 token = self._lexer.lex_match({TK.IDENT})
832 self._lexer.lex_match({TK.NEWLINE, TK.EOF})