Lines Matching refs:Text
81 CodeCompletionString::Chunk::Chunk(ChunkKind Kind, const char *Text)
82 : Kind(Kind), Text("")
91 this->Text = Text;
98 this->Text = "(";
102 this->Text = ")";
106 this->Text = "[";
110 this->Text = "]";
114 this->Text = "{";
118 this->Text = "}";
122 this->Text = "<";
126 this->Text = ">";
130 this->Text = ", ";
134 this->Text = ":";
138 this->Text = ";";
142 this->Text = " = ";
146 this->Text = " ";
150 this->Text = "\n";
156 CodeCompletionString::Chunk::CreateText(const char *Text) {
157 return Chunk(CK_Text, Text);
232 case CK_Placeholder: OS << "<#" << C->Text << "#>"; break;
236 OS << "[#" << C->Text << "#]";
239 case CK_CurrentParameter: OS << "<#" << C->Text << "#>"; break;
240 default: OS << C->Text; break;
249 return C->Text;
345 void CodeCompletionBuilder::AddTypedTextChunk(const char *Text) {
346 Chunks.push_back(Chunk(CodeCompletionString::CK_TypedText, Text));
349 void CodeCompletionBuilder::AddTextChunk(const char *Text) {
350 Chunks.push_back(Chunk::CreateText(Text));
361 void CodeCompletionBuilder::AddInformativeChunk(const char *Text) {
362 Chunks.push_back(Chunk::CreateInformative(Text));
375 const char *Text) {
376 Chunks.push_back(Chunk(CK, Text));