Searched refs:CompToken (Results 1 – 2 of 2) sorted by relevance
439 void Parser::addCompletion(const TokenInfo &CompToken, in addCompletion() argument441 if (StringRef(Completion.TypedText).startswith(CompToken.Text) && in addCompletion()443 Completions.emplace_back(Completion.TypedText.substr(CompToken.Text.size()), in addCompletion()464 const TokenInfo CompToken = Tokenizer->consumeNextToken(); in addExpressionCompletions() local465 assert(CompToken.Kind == TokenInfo::TK_CodeCompletion); in addExpressionCompletions()478 addCompletion(CompToken, Completion); in addExpressionCompletions()482 addCompletion(CompToken, Completion); in addExpressionCompletions()
236 void addCompletion(const TokenInfo &CompToken,