Lines Matching refs:toks
90 std::vector<Token> toks; in TEST_F() local
96 toks.push_back(tok); in TEST_F()
100 ASSERT_EQ(3U, toks.size()); in TEST_F()
101 ASSERT_EQ(tok::l_square, toks[0].getKind()); in TEST_F()
102 ASSERT_EQ(tok::identifier, toks[1].getKind()); in TEST_F()
103 ASSERT_EQ(tok::r_square, toks[2].getKind()); in TEST_F()
105 SourceLocation lsqrLoc = toks[0].getLocation(); in TEST_F()
106 SourceLocation idLoc = toks[1].getLocation(); in TEST_F()
107 SourceLocation rsqrLoc = toks[2].getLocation(); in TEST_F()
210 std::vector<Token> toks; in TEST_F() local
216 toks.push_back(tok); in TEST_F()
220 ASSERT_EQ(4U, toks.size()); in TEST_F()
221 ASSERT_EQ(tok::numeric_constant, toks[0].getKind()); in TEST_F()
222 ASSERT_EQ(tok::numeric_constant, toks[1].getKind()); in TEST_F()
223 ASSERT_EQ(tok::numeric_constant, toks[2].getKind()); in TEST_F()
224 ASSERT_EQ(tok::numeric_constant, toks[3].getKind()); in TEST_F()
241 EXPECT_EQ(loc2, toks[1].getLocation()); in TEST_F()
242 EXPECT_EQ(loc3, toks[2].getLocation()); in TEST_F()
314 std::vector<Token> toks; in TEST_F() local
320 toks.push_back(tok); in TEST_F()
324 ASSERT_EQ(0U, toks.size()); in TEST_F()