Lines Matching refs:Text
183 CodeCompletionString::Chunk::Chunk(ChunkKind Kind, const char *Text) in Chunk() argument
184 : Kind(Kind), Text("") { in Chunk()
192 this->Text = Text; in Chunk()
199 this->Text = "("; in Chunk()
203 this->Text = ")"; in Chunk()
207 this->Text = "["; in Chunk()
211 this->Text = "]"; in Chunk()
215 this->Text = "{"; in Chunk()
219 this->Text = "}"; in Chunk()
223 this->Text = "<"; in Chunk()
227 this->Text = ">"; in Chunk()
231 this->Text = ", "; in Chunk()
235 this->Text = ":"; in Chunk()
239 this->Text = ";"; in Chunk()
243 this->Text = " = "; in Chunk()
247 this->Text = " "; in Chunk()
251 this->Text = "\n"; in Chunk()
257 CodeCompletionString::Chunk::CreateText(const char *Text) { in CreateText() argument
258 return Chunk(CK_Text, Text); in CreateText()
330 OS << "<#" << C.Text << "#>"; in getAsString()
334 OS << "[#" << C.Text << "#]"; in getAsString()
337 OS << "<#" << C.Text << "#>"; in getAsString()
340 OS << C.Text; in getAsString()
350 return C.Text; in getTypedText()
359 Res += C.Text; in getAllTypedText()
448 void CodeCompletionBuilder::AddTypedTextChunk(const char *Text) { in AddTypedTextChunk() argument
449 Chunks.push_back(Chunk(CodeCompletionString::CK_TypedText, Text)); in AddTypedTextChunk()
452 void CodeCompletionBuilder::AddTextChunk(const char *Text) { in AddTextChunk() argument
453 Chunks.push_back(Chunk::CreateText(Text)); in AddTextChunk()
464 void CodeCompletionBuilder::AddInformativeChunk(const char *Text) { in AddInformativeChunk() argument
465 Chunks.push_back(Chunk::CreateInformative(Text)); in AddInformativeChunk()
478 const char *Text) { in AddChunk() argument
479 Chunks.push_back(Chunk(CK, Text)); in AddChunk()
736 OS << "[#" << C.Text << "#]"; in getOverloadAsString()
740 OS << "<#" << C.Text << "#>"; in getOverloadAsString()
748 OS << C.Text; in getOverloadAsString()