Searched refs:lex_match (Results 1 – 2 of 2) sorted by relevance
388 def lex_match(self, match_set): member in Lexer635 key = self._lexer.lex_match({TK.IDENT}).value636 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}).value730 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[all …]
360 lexer.lex_match({ninja.TK.PIPE})