Home
last modified time | relevance | path

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

/development/vndk/tools/sourcedr/blueprint/tests/
Dtest_lexer.py133 end, lit = Lexer.lex_string('`a`', 0)
137 end, lit = Lexer.lex_string('`a\nb`', 0)
141 end, lit = Lexer.lex_string('"a""b"', 3)
146 Lexer.lex_string('`a', 0)
151 Lexer.lex_string('"a\nb"', 0)
160 end, lit = Lexer.lex_string('"a"', 0)
164 end, lit = Lexer.lex_string('"n"', 0)
169 Lexer.lex_string('"\\', 0)
178 end, lit = Lexer.lex_string('"\\a"', 0)
182 end, lit = Lexer.lex_string('"\\b"', 0)
[all …]
/development/vndk/tools/sourcedr/ninja/tests/
Dtest_ninja.py379 tok = lexer.lex_string()
397 tok = lexer.lex_string()
415 lexer.lex_string()
419 lexer.lex_string()
448 tok = lexer.lex_string()
453 tok = lexer.lex_string()
458 tok = lexer.lex_string()
463 tok = lexer.lex_string()
/development/vndk/tools/sourcedr/blueprint/
Dblueprint.py297 def lex_string(cls, buf, offset): member in Lexer
367 end, literal = cls.lex_string(buf, offset)
/development/vndk/tools/sourcedr/ninja/
Dninja.py473 def lex_string(self): member in Lexer
637 token = self._lexer.lex_string()