Lines Matching refs:curToken
2036 : lexer(mgr, op), curToken(lexer.lexToken()), fmt(format), op(op), in FormatParser()
2144 assert(curToken.getKind() != Token::eof && in consumeToken()
2145 curToken.getKind() != Token::error && in consumeToken()
2147 curToken = lexer.lexToken(); in consumeToken()
2150 if (curToken.getKind() != kind) in parseToken()
2151 return emitError(curToken.getLoc(), msg); in parseToken()
2170 Token curToken; member in __anon81548fc81611::FormatParser
2188 llvm::SMLoc loc = curToken.getLoc(); in parse()
2191 while (curToken.getKind() != Token::eof) { in parse()
2488 if (curToken.isKeyword()) in parseElement()
2491 if (curToken.getKind() == Token::literal) in parseElement()
2494 if (curToken.getKind() == Token::l_paren) in parseElement()
2497 if (curToken.getKind() == Token::variable) in parseElement()
2499 return emitError(curToken.getLoc(), in parseElement()
2505 Token varTok = curToken; in parseVariable()
2560 Token dirTok = curToken; in parseDirective()
2593 Token literalTok = curToken; in parseLiteral()
2614 llvm::SMLoc curLoc = curToken.getLoc(); in parseOptional()
2627 } while (curToken.getKind() != Token::r_paren); in parseOptional()
2683 llvm::SMLoc childLoc = curToken.getLoc(); in parseOptionalChildElement()
2689 bool isAnchor = curToken.getKind() == Token::caret; in parseOptionalChildElement()
2755 llvm::SMLoc curLoc = curToken.getLoc(); in parseCustomDirective()
2762 Token nameTok = curToken; in parseCustomDirective()
2776 if (curToken.getKind() != Token::comma) in parseCustomDirective()
2810 llvm::SMLoc childLoc = curToken.getLoc(); in parseCustomDirectiveParameter()
2915 llvm::SMLoc loc = curToken.getLoc(); in parseTypeDirectiveOperand()