Lines Matching refs:parseToken
359 LogicalResult parseToken(Token::Kind kind, const Twine &msg) { in parseToken() function in __anon084c004d0211::Parser
405 parseToken(rightToken, "expected ',' or right-terminating token"))) in parseCommaSeparatedListUntil()
626 if (failed(parser.parseToken(Token::Kind::l_paren, "expected '('"))) in parseParentheticalExpr()
634 if (failed(parser.parseToken(Token::Kind::r_paren, "expected ')'"))) in parseParentheticalExpr()
644 if (failed(parser.parseToken(Token::Kind::minus, "expected '-'"))) in parseNegateExpression()
818 parser.parseToken(lDelim, "expected lDelim at start of affine expr list"); in parseAffineExprs()
1126 if (failed(parser.parseToken(Token::Kind::id, "expected an id")) || in parseTensorDef()
1127 failed(parser.parseToken(Token::Kind::colon, "expected colon"))) in parseTensorDef()
1131 if (failed(parser.parseToken(Token::Kind::id, "expected an id"))) in parseTensorDef()
1160 if (failed(parser.parseToken(Token::Kind::id, "expected an id"))) in parseTensorUse()
1194 if (failed(parser.parseToken(Token::Kind::id, "expected an operation"))) in parseExpression()
1222 if (failed(parser.parseToken(Token::Kind::l_paren, "expected '('")) || in parseExpression()
1356 if (failed(parser.parseToken(Token::Kind::kw_ods_def, in parseAndEmitODSDef()
1358 failed(parser.parseToken(Token::Kind::lt, "expected '<'"))) in parseAndEmitODSDef()
1363 if (failed(parser.parseToken(Token::Kind::id, "expected id")) || in parseAndEmitODSDef()
1364 failed(parser.parseToken(Token::Kind::gt, "expected '>'")) || in parseAndEmitODSDef()
1365 failed(parser.parseToken(Token::Kind::colon, "expected ':'"))) in parseAndEmitODSDef()
1367 if (failed(parser.parseToken(Token::Kind::kw_def, in parseAndEmitODSDef()
1373 if (failed(parser.parseToken(Token::Kind::id, "expected id")) || in parseAndEmitODSDef()
1374 failed(parser.parseToken(Token::Kind::l_paren, "expected '('"))) in parseAndEmitODSDef()
1384 if (failed(parser.parseToken(Token::Kind::minus, "expected '-'")) || in parseAndEmitODSDef()
1385 failed(parser.parseToken(Token::Kind::gt, "expected '>'")) || in parseAndEmitODSDef()
1386 failed(parser.parseToken(Token::Kind::l_paren, "expected '('"))) in parseAndEmitODSDef()
1406 if (failed(parser.parseToken(Token::Kind::l_brace, "expected '{'"))) in parseAndEmitODSDef()
1416 parser.parseToken(Token::Kind::r_brace, "expected '}'"); in parseAndEmitODSDef()