Home
last modified time | relevance | path

Searched refs:lex_match (Results 1 – 2 of 2) sorted by relevance

/development/vndk/tools/sourcedr/ninja/
Dninja.py388 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
[all …]
/development/vndk/tools/sourcedr/ninja/tests/
Dtest_ninja.py360 lexer.lex_match({ninja.TK.PIPE})