Lines Matching refs:CodeCompletionString
23 bool isInformativeQualifierChunk(CodeCompletionString::Chunk const &Chunk) { in isInformativeQualifierChunk()
24 return Chunk.Kind == CodeCompletionString::CK_Informative && in isInformativeQualifierChunk()
36 void appendOptionalChunk(const CodeCompletionString &CCS, std::string *Out) { in appendOptionalChunk()
37 for (const CodeCompletionString::Chunk &C : CCS) { in appendOptionalChunk()
39 case CodeCompletionString::CK_Optional: in appendOptionalChunk()
98 void getSignature(const CodeCompletionString &CCS, std::string *Signature, in getSignature()
111 llvm::count_if(CCS, [](const CodeCompletionString::Chunk &C) { in getSignature()
112 return C.Kind == CodeCompletionString::CK_Placeholder; in getSignature()
124 case CodeCompletionString::CK_TypedText: in getSignature()
157 case CodeCompletionString::CK_Text: in getSignature()
161 case CodeCompletionString::CK_Optional: in getSignature()
166 case CodeCompletionString::CK_Placeholder: in getSignature()
175 case CodeCompletionString::CK_Informative: in getSignature()
181 case CodeCompletionString::CK_ResultType: in getSignature()
184 case CodeCompletionString::CK_CurrentParameter: in getSignature()
190 case CodeCompletionString::CK_LeftParen: in getSignature()
191 case CodeCompletionString::CK_RightParen: in getSignature()
192 case CodeCompletionString::CK_LeftBracket: in getSignature()
193 case CodeCompletionString::CK_RightBracket: in getSignature()
194 case CodeCompletionString::CK_LeftBrace: in getSignature()
195 case CodeCompletionString::CK_RightBrace: in getSignature()
196 case CodeCompletionString::CK_LeftAngle: in getSignature()
197 case CodeCompletionString::CK_RightAngle: in getSignature()
198 case CodeCompletionString::CK_Comma: in getSignature()
199 case CodeCompletionString::CK_Colon: in getSignature()
200 case CodeCompletionString::CK_SemiColon: in getSignature()
201 case CodeCompletionString::CK_Equal: in getSignature()
202 case CodeCompletionString::CK_HorizontalSpace: in getSignature()
206 case CodeCompletionString::CK_VerticalSpace: in getSignature()
214 std::string formatDocumentation(const CodeCompletionString &CCS, in formatDocumentation()
244 std::string getReturnType(const CodeCompletionString &CCS) { in getReturnType()
246 if (Chunk.Kind == CodeCompletionString::CK_ResultType) in getReturnType()