Home
last modified time | relevance | path

Searched refs:lex (Results 1 – 4 of 4) sorted by relevance

/development/vndk/tools/sourcedr/blueprint/tests/
Dtest_lexer.py350 token, end, lit = Lexer.lex('(', 0)
355 token, end, lit = Lexer.lex(')', 0)
360 token, end, lit = Lexer.lex('[', 0)
365 token, end, lit = Lexer.lex(']', 0)
370 token, end, lit = Lexer.lex('{', 0)
375 token, end, lit = Lexer.lex('}', 0)
380 token, end, lit = Lexer.lex(':', 0)
385 token, end, lit = Lexer.lex('=', 0)
390 token, end, lit = Lexer.lex('+', 0)
395 token, end, lit = Lexer.lex(',', 0)
[all …]
/development/vndk/tools/sourcedr/ninja/tests/
Dtest_ninja.py184 tok = lexer.lex() # Consume
186 tok = lexer.lex()
191 tok = lexer.lex()
195 tok = lexer.lex()
199 tok = lexer.lex()
203 tok = lexer.lex()
207 tok = lexer.lex()
209 tok = lexer.lex()
215 tok = lexer.lex()
220 tok = lexer.lex()
[all …]
/development/vndk/tools/sourcedr/ninja/
Dninja.py377 def lex(self): member in Lexer
389 token = self.lex()
591 self._lexer.lex()
667 self._lexer.lex()
694 self._lexer.lex()
717 self._lexer.lex()
725 self._lexer.lex()
807 token = self._lexer.lex()
/development/vndk/tools/sourcedr/blueprint/
Dblueprint.py172 self.token, self.end, self.literal = self.lex(self.buf, self.start)
348 def lex(cls, buf, offset): member in Lexer