Lines Matching refs:ExpectedTokens
88 ArrayRef<tok::TokenKind> ExpectedTokens) { in CheckLex() argument
90 EXPECT_EQ(ExpectedTokens.size(), toks.size()); in CheckLex()
91 for (unsigned i = 0, e = ExpectedTokens.size(); i != e; ++i) { in CheckLex()
92 EXPECT_EQ(ExpectedTokens[i], toks[i].getKind()); in CheckLex()
120 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F() local
121 ExpectedTokens.push_back(tok::identifier); in TEST_F()
122 ExpectedTokens.push_back(tok::l_paren); in TEST_F()
123 ExpectedTokens.push_back(tok::identifier); in TEST_F()
124 ExpectedTokens.push_back(tok::r_paren); in TEST_F()
128 ExpectedTokens); in TEST_F()
134 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F() local
135 ExpectedTokens.push_back(tok::identifier); in TEST_F()
136 ExpectedTokens.push_back(tok::identifier); in TEST_F()
140 ExpectedTokens); in TEST_F()
146 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F() local
147 ExpectedTokens.push_back(tok::identifier); in TEST_F()
148 ExpectedTokens.push_back(tok::identifier); in TEST_F()
149 ExpectedTokens.push_back(tok::identifier); in TEST_F()
153 ExpectedTokens); in TEST_F()
159 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F() local
160 ExpectedTokens.push_back(tok::identifier); in TEST_F()
161 ExpectedTokens.push_back(tok::identifier); in TEST_F()
162 ExpectedTokens.push_back(tok::identifier); in TEST_F()
166 ExpectedTokens); in TEST_F()
172 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F() local
173 ExpectedTokens.push_back(tok::identifier); in TEST_F()
174 ExpectedTokens.push_back(tok::identifier); in TEST_F()
175 ExpectedTokens.push_back(tok::identifier); in TEST_F()
176 ExpectedTokens.push_back(tok::identifier); in TEST_F()
180 ExpectedTokens); in TEST_F()
186 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F() local
187 ExpectedTokens.push_back(tok::identifier); in TEST_F()
188 ExpectedTokens.push_back(tok::l_paren); in TEST_F()
189 ExpectedTokens.push_back(tok::identifier); in TEST_F()
190 ExpectedTokens.push_back(tok::r_paren); in TEST_F()
195 ExpectedTokens); in TEST_F()
201 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F() local
202 ExpectedTokens.push_back(tok::identifier); in TEST_F()
203 ExpectedTokens.push_back(tok::l_paren); in TEST_F()
204 ExpectedTokens.push_back(tok::identifier); in TEST_F()
205 ExpectedTokens.push_back(tok::r_paren); in TEST_F()
209 ExpectedTokens); in TEST_F()
214 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F() local
215 ExpectedTokens.push_back(tok::identifier); in TEST_F()
216 ExpectedTokens.push_back(tok::l_paren); in TEST_F()
217 ExpectedTokens.push_back(tok::identifier); in TEST_F()
218 ExpectedTokens.push_back(tok::r_paren); in TEST_F()
222 ExpectedTokens); in TEST_F()
227 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F() local
228 ExpectedTokens.push_back(tok::identifier); in TEST_F()
229 ExpectedTokens.push_back(tok::l_paren); in TEST_F()
230 ExpectedTokens.push_back(tok::identifier); in TEST_F()
231 ExpectedTokens.push_back(tok::r_paren); in TEST_F()
236 ExpectedTokens); in TEST_F()
241 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F() local
242 ExpectedTokens.push_back(tok::identifier); in TEST_F()
243 ExpectedTokens.push_back(tok::l_paren); in TEST_F()
244 ExpectedTokens.push_back(tok::identifier); in TEST_F()
245 ExpectedTokens.push_back(tok::identifier); in TEST_F()
246 ExpectedTokens.push_back(tok::r_paren); in TEST_F()
251 ExpectedTokens); in TEST_F()
256 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F() local
257 ExpectedTokens.push_back(tok::identifier); in TEST_F()
258 ExpectedTokens.push_back(tok::identifier); in TEST_F()
259 ExpectedTokens.push_back(tok::l_paren); in TEST_F()
260 ExpectedTokens.push_back(tok::identifier); in TEST_F()
261 ExpectedTokens.push_back(tok::r_paren); in TEST_F()
266 ExpectedTokens); in TEST_F()
271 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F() local
272 ExpectedTokens.push_back(tok::l_square); in TEST_F()
273 ExpectedTokens.push_back(tok::identifier); in TEST_F()
274 ExpectedTokens.push_back(tok::r_square); in TEST_F()
275 ExpectedTokens.push_back(tok::l_square); in TEST_F()
276 ExpectedTokens.push_back(tok::identifier); in TEST_F()
277 ExpectedTokens.push_back(tok::r_square); in TEST_F()
278 ExpectedTokens.push_back(tok::identifier); in TEST_F()
279 ExpectedTokens.push_back(tok::identifier); in TEST_F()
280 ExpectedTokens.push_back(tok::identifier); in TEST_F()
281 ExpectedTokens.push_back(tok::identifier); in TEST_F()
290 ExpectedTokens); in TEST_F()