Home | History | Annotate | Download | only in Parse

Lines Matching defs:SkipUntil

224 /// SkipUntil - Read tokens until we get to the specified token, then consume
230 /// If SkipUntil finds the specified token, it returns true, otherwise it
232 bool Parser::SkipUntil(ArrayRef<tok::TokenKind> Toks, SkipUntilFlags Flags) {
284 SkipUntil(tok::r_paren, StopAtCodeCompletion);
286 SkipUntil(tok::r_paren);
292 SkipUntil(tok::r_square, StopAtCodeCompletion);
294 SkipUntil(tok::r_square);
300 SkipUntil(tok::r_brace, StopAtCodeCompletion);
302 SkipUntil(tok::r_brace);
859 SkipUntil(tok::semi); // FIXME: better skip?
958 SkipUntil(tok::l_brace, StopAtSemi | StopBeforeMatch);
1068 SkipUntil(tok::semi);
1071 SkipUntil(tok::semi);
1205 if (SkipUntil(tok::l_brace, StopAtSemi | StopBeforeMatch))
1276 } else if (SkipUntil(tok::r_paren, StopAtSemi | StopBeforeMatch)) {
1906 SkipUntil(tok::semi);
1950 P.SkipUntil(SkipToTok, Parser::StopAtSemi);
1970 P.SkipUntil(Close, FinalToken,
1978 P.SkipUntil(Close, Parser::StopBeforeMatch);