Lines Matching refs:parseToken
71 parseToken(rightToken, "expected ',' or '" + in parseCommaSeparatedListUntil()
90 ParseResult Parser::parseToken(Token::Kind expectedToken, in parseToken() function in Parser
482 if (parseToken(Token::percent_identifier, "expected SSA operand")) in parseSSAUse()
543 parseToken(Token::colon, "expected ':' and type for SSA operand")) in parseSSADefOrUseAndType()
570 if (parseToken(Token::colon, "expected ':' in operand list") || in parseOptionalSSAUseAndTypeList()
669 if (parseToken(Token::equal, "expected '=' after SSA name")) in parseOperation()
727 if (parseToken(Token::l_square, "expected '['")) in parseSuccessors()
783 if (parseToken(Token::l_paren, "expected '(' to start operand list") || in parseGenericOperation()
785 parseToken(Token::r_paren, "expected ')' to end operand list")) { in parseGenericOperation()
811 if (parseToken(Token::r_paren, "expected ')' to end region list")) in parseGenericOperation()
820 if (parseToken(Token::colon, "expected ':' followed by operation type")) in parseGenericOperation()
959 return parser.parseToken(Token::arrow, "expected '->'"); in parseArrow()
969 return parser.parseToken(Token::l_brace, "expected '{'"); in parseLBrace()
979 return parser.parseToken(Token::r_brace, "expected '}'"); in parseRBrace()
989 return parser.parseToken(Token::colon, "expected ':'"); in parseColon()
999 return parser.parseToken(Token::comma, "expected ','"); in parseComma()
1014 return parser.parseToken(Token::equal, "expected '='"); in parseEqual()
1024 return parser.parseToken(Token::less, "expected '<'"); in parseLess()
1034 return parser.parseToken(Token::greater, "expected '>'"); in parseGreater()
1044 return parser.parseToken(Token::l_paren, "expected '('"); in parseLParen()
1054 return parser.parseToken(Token::r_paren, "expected ')'"); in parseRParen()
1064 return parser.parseToken(Token::l_square, "expected '['"); in parseLSquare()
1074 return parser.parseToken(Token::r_square, "expected ']'"); in parseRSquare()
1084 return parser.parseToken(Token::question, "expected '?'"); in parseQuestion()
1094 return parser.parseToken(Token::plus, "expected '+'"); in parsePlus()
1104 return parser.parseToken(Token::star, "expected '*'"); in parseStar()
1294 if (parser.parseToken(Token::l_paren, "expected '(' in operand list")) in parseOperandOrRegionArgList()
1302 if (parser.parseToken(Token::l_square, "expected '[' in operand list")) in parseOperandOrRegionArgList()
1325 if (parser.parseToken(Token::r_paren, "expected ')' in operand list")) in parseOperandOrRegionArgList()
1330 if (parser.parseToken(Token::r_square, "expected ']' in operand list")) in parseOperandOrRegionArgList()
1545 return failure(parser.parseToken(Token::colon, "expected ':'") || in parseColonType()
1551 if (parser.parseToken(Token::colon, "expected ':'")) in parseColonTypeList()
1667 if (parseToken(Token::l_paren, "expected '(' in location")) in parseTrailingOperationLocation()
1700 if (parseToken(Token::r_paren, "expected ')' in location")) in parseTrailingOperationLocation()
1721 if (parseToken(Token::l_brace, "expected '{' to begin a region")) in parseRegion()
1816 if (parseToken(Token::caret_identifier, "expected block name")) in parseBlock()
1829 parseToken(Token::r_paren, "expected ')' to end argument list")) in parseBlock()
1833 if (parseToken(Token::colon, "expected ':' after block name")) in parseBlock()
1963 if (parseToken(Token::equal, "expected '=' in attribute alias definition")) in parseAttributeAliasDef()
1995 if (parseToken(Token::equal, "expected '=' in type alias definition") || in parseTypeAliasDef()
1996 parseToken(Token::kw_type, "expected 'type' in type alias definition")) in parseTypeAliasDef()