Lines Matching defs:Text
179 CodeCompletionString::Chunk::Chunk(ChunkKind Kind, const char *Text)
180 : Kind(Kind), Text("") {
188 this->Text = Text;
195 this->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 = "\n";
253 CodeCompletionString::Chunk::CreateText(const char *Text) {
254 return Chunk(CK_Text, Text);
326 OS << "<#" << C.Text << "#>";
330 OS << "[#" << C.Text << "#]";
333 OS << "<#" << C.Text << "#>";
336 OS << C.Text;
346 return C.Text;
355 Res += C.Text;
444 void CodeCompletionBuilder::AddTypedTextChunk(const char *Text) {
445 Chunks.push_back(Chunk(CodeCompletionString::CK_TypedText, Text));
448 void CodeCompletionBuilder::AddTextChunk(const char *Text) {
449 Chunks.push_back(Chunk::CreateText(Text));
460 void CodeCompletionBuilder::AddInformativeChunk(const char *Text) {
461 Chunks.push_back(Chunk::CreateInformative(Text));
474 const char *Text) {
475 Chunks.push_back(Chunk(CK, Text));
732 OS << "[#" << C.Text << "#]";
736 OS << "<#" << C.Text << "#>";
744 OS << C.Text;