Lines Matching refs:parseToken
2149 LogicalResult parseToken(Token::Kind kind, const Twine &msg) { in parseToken() function in __anon81548fc81611::FormatParser
2629 if (failed(parseToken(Token::question, "expected '?' after optional group"))) in parseOptional()
2759 parseToken(Token::less, "expected '<' before custom directive name"))) in parseCustomDirective()
2763 if (failed(parseToken(Token::identifier, in parseCustomDirective()
2765 failed(parseToken(Token::greater, in parseCustomDirective()
2767 failed(parseToken(Token::l_paren, in parseCustomDirective()
2781 if (failed(parseToken(Token::r_paren, in parseCustomDirective()
2835 if (failed(parseToken(Token::l_paren, "expected '(' before argument list")) || in parseFunctionalTypeDirective()
2837 failed(parseToken(Token::comma, "expected ',' after inputs argument")) || in parseFunctionalTypeDirective()
2839 failed(parseToken(Token::r_paren, "expected ')' after argument list"))) in parseFunctionalTypeDirective()
2901 if (failed(parseToken(Token::l_paren, "expected '(' before argument list")) || in parseTypeDirective()
2903 failed(parseToken(Token::r_paren, "expected ')' after argument list"))) in parseTypeDirective()