Searched refs:tok (Results 1 – 3 of 3) sorted by relevance
138 tok = lexer.peek()139 self.assertEqual(ninja.TK.EOF, tok.kind)143 tok = lexer.peek()144 self.assertEqual(ninja.TK.NEWLINE, tok.kind)147 tok = lexer.peek()148 self.assertEqual(ninja.TK.NEWLINE, tok.kind)151 tok = lexer.peek()152 self.assertEqual(ninja.TK.NEWLINE, tok.kind)155 tok = lexer.peek()156 self.assertEqual(ninja.TK.NEWLINE, tok.kind)[all …]
622 StringTokenizer tok = new StringTokenizer(line); in commandLineSplit() local626 while (tok.hasMoreTokens()) { in commandLineSplit()627 String cur = tok.nextToken(); in commandLineSplit()
98 if (next_token.is(clang::tok::less)) { in CreateDecl()