Home
last modified time | relevance | path

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

/development/vndk/tools/sourcedr/ninja/
Dninja.py228 class TK(object): class
337 (TK.COMMENT, r'#[^\n]*'),
338 (TK.NEWLINE, r'[\r\n]'),
339 (TK.SPACE, r'[ \t]+'),
340 (TK.ESC_NEWLINE, r'\$[\r\n]'),
341 (TK.IDENT, r'[\w_.-]+'),
342 (TK.PIPE2, r'\|\|'),
343 (TK.PIPE, r'\|'),
344 (TK.COLON, r':'),
345 (TK.ASSIGN, r'='),
[all …]
/development/vndk/tools/sourcedr/ninja/tests/
Dtest_ninja.py139 self.assertEqual(ninja.TK.EOF, tok.kind)
144 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)
180 self.assertEqual(ninja.TK.SPACE, tok.kind)
[all …]