Home
last modified time | relevance | path

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

/development/vndk/tools/sourcedr/ninja/
Dninja.py234 NEWLINE = 2 variable in TK
338 (TK.NEWLINE, r'[\r\n]'),
381 self._line_start = token.kind == TK.NEWLINE
590 elif token.kind == TK.NEWLINE:
639 self._lexer.lex_match({TK.NEWLINE, TK.EOF})
712 {TK.PIPE, TK.PIPE2, TK.NEWLINE, TK.EOF})
718 implicit_ins = self._parse_path_list({TK.PIPE2, TK.NEWLINE, TK.EOF})
726 prerequisites = self._parse_path_list({TK.NEWLINE, TK.EOF})
730 self._lexer.lex_match({TK.NEWLINE, TK.EOF})
768 self._lexer.lex_match({TK.NEWLINE, TK.EOF})
[all …]
/development/vndk/tools/sourcedr/ninja/tests/
Dtest_ninja.py144 self.assertEqual(ninja.TK.NEWLINE, tok.kind)
148 self.assertEqual(ninja.TK.NEWLINE, tok.kind)
152 self.assertEqual(ninja.TK.NEWLINE, tok.kind)
156 self.assertEqual(ninja.TK.NEWLINE, tok.kind)
161 self.assertEqual(ninja.TK.NEWLINE, tok.kind)
165 self.assertEqual(ninja.TK.NEWLINE, tok.kind)
169 self.assertEqual(ninja.TK.NEWLINE, tok.kind)
174 self.assertEqual(ninja.TK.NEWLINE, tok.kind)
289 self.assertEqual(ninja.TK.NEWLINE, tok.kind)