Lines Matching refs:Text

81 CodeCompletionString::Chunk::Chunk(ChunkKind Kind, const char *Text)   in Chunk()  argument
82 : Kind(Kind), Text("") in Chunk()
91 this->Text = Text; in Chunk()
98 this->Text = "("; in Chunk()
102 this->Text = ")"; in Chunk()
106 this->Text = "["; in Chunk()
110 this->Text = "]"; in Chunk()
114 this->Text = "{"; in Chunk()
118 this->Text = "}"; in Chunk()
122 this->Text = "<"; in Chunk()
126 this->Text = ">"; in Chunk()
130 this->Text = ", "; in Chunk()
134 this->Text = ":"; in Chunk()
138 this->Text = ";"; in Chunk()
142 this->Text = " = "; in Chunk()
146 this->Text = " "; in Chunk()
150 this->Text = "\n"; in Chunk()
156 CodeCompletionString::Chunk::CreateText(const char *Text) { in CreateText() argument
157 return Chunk(CK_Text, Text); in CreateText()
232 case CK_Placeholder: OS << "<#" << C->Text << "#>"; break; in getAsString()
236 OS << "[#" << C->Text << "#]"; in getAsString()
239 case CK_CurrentParameter: OS << "<#" << C->Text << "#>"; break; in getAsString()
240 default: OS << C->Text; break; in getAsString()
249 return C->Text; in getTypedText()
342 void CodeCompletionBuilder::AddTypedTextChunk(const char *Text) { in AddTypedTextChunk() argument
343 Chunks.push_back(Chunk(CodeCompletionString::CK_TypedText, Text)); in AddTypedTextChunk()
346 void CodeCompletionBuilder::AddTextChunk(const char *Text) { in AddTextChunk() argument
347 Chunks.push_back(Chunk::CreateText(Text)); in AddTextChunk()
358 void CodeCompletionBuilder::AddInformativeChunk(const char *Text) { in AddInformativeChunk() argument
359 Chunks.push_back(Chunk::CreateInformative(Text)); in AddInformativeChunk()
372 const char *Text) { in AddChunk() argument
373 Chunks.push_back(Chunk(CK, Text)); in AddChunk()
497 OS << "[#" << C.Text << "#]"; in getOverloadAsString()
501 OS << "<#" << C.Text << "#>"; in getOverloadAsString()
504 default: OS << C.Text; break; in getOverloadAsString()