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