• Home
  • Raw
  • Download

Lines Matching refs:curToken

342       : lexer(mgr), curToken(lexer.lexToken()), context(ctx) {}  in Parser()
350 assert(curToken.getKind() != Token::Kind::eof && in consumeToken()
351 curToken.getKind() != Token::Kind::error && in consumeToken()
353 curToken = lexer.lexToken(); in consumeToken()
356 assert(curToken.getKind() == kind && "unexpected token"); in consumeToken()
357 curToken = lexer.lexToken(); in consumeToken()
360 if (curToken.getKind() != kind) in parseToken()
361 return emitError(curToken.getLoc(), msg); in parseToken()
370 return emitError(curToken.getLoc(), msg); in emitError()
373 if (curToken.isNot(kind)) in consumeIf()
396 if (curToken.is(rightToken)) { in parseCommaSeparatedListUntil()
412 Token curToken; member in __anon084c004d0211::Parser
552 switch (parser.curToken.getKind()) { in consumeIfLowPrecOp()
567 switch (parser.curToken.getKind()) { in consumeIfHighPrecOp()
602 auto opLoc = parser.curToken.getLoc(); in parseAffineHighPrecOpExpr()
628 if (parser.curToken.is(Token::Kind::r_paren)) in parseParentheticalExpr()
662 if (parser.curToken.isNot(Token::Kind::id)) in parseBareIdExpr()
665 StringRef sRef = parser.curToken.getSpelling(); in parseBareIdExpr()
689 auto val = parser.curToken.getUInt64IntegerValue(); in parseIntegerExpr()
707 switch (parser.curToken.getKind()) { in parseAffineOperandExpr()
771 auto opLoc = parser.curToken.getLoc(); in parseAffineLowPrecOpExpr()
1125 StringRef tensorId = parser.curToken.getSpelling(); in parseTensorDef()
1130 StringRef tensorType = parser.curToken.getSpelling(); in parseTensorDef()
1159 StringRef tensorId = parser.curToken.getSpelling(); in parseTensorUse()
1184 StringRef opOrTensor = parser.curToken.getSpelling(); in parseExpression()
1202 if (parser.curToken.is(Token::Kind::lt)) { in parseExpression()
1360 StringRef cppOpName = parser.curToken.getSpelling(); in parseAndEmitODSDef()
1371 StringRef tcName = parser.curToken.getSpelling(); in parseAndEmitODSDef()
1410 while (parser.curToken.isNot(Token::Kind::r_brace)) { in parseAndEmitODSDef()
1736 while (parser.curToken.getKind() != Token::Kind::eof) {