Home | History | Annotate | Download | only in Parse

Lines Matching defs:SkipUntil

270 /// SkipUntil - Read tokens until we get to the specified token, then consume
276 /// If SkipUntil finds the specified token, it returns true, otherwise it
278 bool Parser::SkipUntil(ArrayRef<tok::TokenKind> Toks, SkipUntilFlags Flags) {
335 SkipUntil(tok::r_paren, StopAtCodeCompletion);
337 SkipUntil(tok::r_paren);
343 SkipUntil(tok::r_square, StopAtCodeCompletion);
345 SkipUntil(tok::r_square);
351 SkipUntil(tok::r_brace, StopAtCodeCompletion);
353 SkipUntil(tok::r_brace);
359 SkipUntil(tok::colon,
962 SkipUntil(tok::semi);
1102 SkipUntil(tok::semi);
1205 SkipUntil(tok::l_brace, StopAtSemi | StopBeforeMatch);
1335 SkipUntil(tok::semi);
1338 SkipUntil(tok::semi);
1379 SkipUntil(tok::semi);
1391 SkipUntil(tok::r_brace);
1393 SkipUntil(tok::l_brace);
1394 SkipUntil(tok::r_brace);
1503 if (SkipUntil(tok::l_brace, StopAtSemi | StopBeforeMatch))
1579 } else if (SkipUntil(tok::r_paren, StopAtSemi | StopBeforeMatch)) {
2471 SkipUntil(tok::semi);
2547 P.SkipUntil(SkipToTok, Parser::StopAtSemi);
2570 P.SkipUntil(Close, FinalToken,
2578 P.SkipUntil(Close, Parser::StopBeforeMatch);