;
87llvm_unreachable(
"Invalid CodeCompletionContext::Kind!");
93 caseCCKind::CCC_Other:
95 caseCCKind::CCC_OtherWithMacros:
96 return "OtherWithMacros";
97 caseCCKind::CCC_TopLevel:
99 caseCCKind::CCC_ObjCInterface:
100 return "ObjCInterface";
101 caseCCKind::CCC_ObjCImplementation:
102 return "ObjCImplementation";
103 caseCCKind::CCC_ObjCIvarList:
104 return "ObjCIvarList";
105 caseCCKind::CCC_ClassStructUnion:
106 return "ClassStructUnion";
107 caseCCKind::CCC_Statement:
109 caseCCKind::CCC_Expression:
110 return "Expression";
111 caseCCKind::CCC_ObjCMessageReceiver:
112 return "ObjCMessageReceiver";
113 caseCCKind::CCC_DotMemberAccess:
114 return "DotMemberAccess";
115 caseCCKind::CCC_ArrowMemberAccess:
116 return "ArrowMemberAccess";
117 caseCCKind::CCC_ObjCPropertyAccess:
118 return "ObjCPropertyAccess";
119 caseCCKind::CCC_EnumTag:
121 caseCCKind::CCC_UnionTag:
123 caseCCKind::CCC_ClassOrStructTag:
124 return "ClassOrStructTag";
125 caseCCKind::CCC_ObjCProtocolName:
126 return "ObjCProtocolName";
127 caseCCKind::CCC_Namespace:
129 caseCCKind::CCC_Type:
131 caseCCKind::CCC_NewName:
133 caseCCKind::CCC_Symbol:
135 caseCCKind::CCC_SymbolOrNewName:
136 return "SymbolOrNewName";
137 caseCCKind::CCC_MacroName:
139 caseCCKind::CCC_MacroNameUse:
140 return "MacroNameUse";
141 caseCCKind::CCC_PreprocessorExpression:
142 return "PreprocessorExpression";
143 caseCCKind::CCC_PreprocessorDirective:
144 return "PreprocessorDirective";
145 caseCCKind::CCC_NaturalLanguage:
146 return "NaturalLanguage";
147 caseCCKind::CCC_SelectorName:
148 return "SelectorName";
149 caseCCKind::CCC_TypeQualifiers:
150 return "TypeQualifiers";
151 caseCCKind::CCC_ParenthesizedExpression:
152 return "ParenthesizedExpression";
153 caseCCKind::CCC_ObjCInstanceMessage:
154 return "ObjCInstanceMessage";
155 caseCCKind::CCC_ObjCClassMessage:
156 return "ObjCClassMessage";
157 caseCCKind::CCC_ObjCInterfaceName:
158 return "ObjCInterfaceName";
159 caseCCKind::CCC_ObjCCategoryName:
160 return "ObjCCategoryName";
161 caseCCKind::CCC_IncludedFile:
162 return "IncludedFile";
163 caseCCKind::CCC_Attribute:
165 caseCCKind::CCC_Recovery:
167 caseCCKind::CCC_ObjCClassForwardDecl:
168 return "ObjCClassForwardDecl";
169 caseCCKind::CCC_TopLevelOrExpression:
170 return "ReplTopLevel";
172llvm_unreachable(
"Invalid CodeCompletionContext::Kind!");
180: Kind(Kind),
Text(
"") {
192llvm_unreachable(
"Optional strings cannot be created from text");
281 const char*CurrentParameter) {
285CodeCompletionString::CodeCompletionString(
286 const Chunk*Chunks,
unsignedNumChunks,
unsignedPriority,
288 unsignedNumAnnotations, StringRef ParentName,
const char*BriefComment)
289: NumChunks(NumChunks), NumAnnotations(NumAnnotations),
Priority(
Priority),
290Availability(Availability), ParentName(ParentName),
291BriefComment(BriefComment) {
292assert(NumChunks <= 0xffff);
293assert(NumAnnotations <= 0xffff);
295 Chunk*StoredChunks =
reinterpret_cast<Chunk*
>(
this+ 1);
296 for(
unsignedI = 0; I != NumChunks; ++I)
297StoredChunks[I] = Chunks[I];
299 const char**StoredAnnotations =
300 reinterpret_cast<const char**
>(StoredChunks + NumChunks);
301 for(
unsignedI = 0; I != NumAnnotations; ++I)
302StoredAnnotations[I] = Annotations[I];
306 returnNumAnnotations;
310 if(AnnotationNr < NumAnnotations)
311 return reinterpret_cast<const char*
const*
>(
end())[AnnotationNr];
318llvm::raw_string_ostream OS(
Result);
320 for(
const Chunk&
C: *
this) {
323OS <<
"{#"<<
C.Optional->getAsString() <<
"#}";
326OS <<
"<#"<<
C.Text <<
"#>";
330OS <<
"[#"<<
C.Text <<
"#]";
333OS <<
"<#"<<
C.Text <<
"#>";
344 for(
const Chunk&
C: *
this)
353 for(
const Chunk&
C: *
this)
362StringRef Ref = String.toStringRef(
Data);
366 char*Mem = (
char*)Allocate(Ref.size() + 1, 1);
367std::copy(Ref.begin(), Ref.end(), Mem);
373 if(!isa<NamedDecl>(DC))
377StringRef &CachedParentName = ParentNames[DC];
378 if(!CachedParentName.empty())
379 returnCachedParentName;
383 if(CachedParentName.data() !=
nullptr)
389 if(
const auto*ND = dyn_cast<NamedDecl>(DC)) {
390 if(ND->getIdentifier())
391Contexts.push_back(DC);
399llvm::raw_svector_ostream OS(S);
401 for(
const DeclContext*CurDC : llvm::reverse(Contexts)) {
408 if(
const auto*CatImpl = dyn_cast<ObjCCategoryImplDecl>(CurDC))
409CurDC = CatImpl->getCategoryDecl();
411 if(
const auto*Cat = dyn_cast<ObjCCategoryDecl>(CurDC)) {
416CachedParentName = StringRef((
const char*)(
uintptr_t)~0
U, 0);
420OS <<
Interface->getName() <<
'('<< Cat->getName() <<
')';
422OS << cast<NamedDecl>(CurDC)->getName();
426CachedParentName = AllocatorRef->CopyString(OS.str());
429 returnCachedParentName;
433 void*Mem = getAllocator().Allocate(
435 sizeof(
const char*) * Annotations.size(),
438Chunks.data(), Chunks.size(),
Priority, Availability, Annotations.data(),
439Annotations.size(), ParentName, BriefComment);
469 const char*CurrentParameter) {
474 const char*
Text) {
485 if(!isa<NamedDecl>(DC))
488ParentName = getCodeCompletionTUInfo().getParentName(DC);
492BriefComment = Allocator.CopyString(Comment);
499 if(
getKind() == CK_Function)
501 else if(
getKind() == CK_FunctionTemplate)
502 returnFunctionTemplate->getTemplatedDecl();
513 caseCK_FunctionTemplate:
514 returnFunctionTemplate->getTemplatedDecl()
518 caseCK_FunctionType:
520 caseCK_FunctionProtoTypeLoc:
521 returnProtoTypeLoc.getTypePtr();
527llvm_unreachable(
"Invalid CandidateKind!");
532 if(Kind == CK_FunctionProtoTypeLoc)
538 if(Kind == CK_Template)
539 returnTemplate->getTemplateParameters()->size();
541 if(Kind == CK_Aggregate) {
543std::distance(AggregateType->field_begin(), AggregateType->field_end());
544 if(
const auto*CRD = dyn_cast<CXXRecordDecl>(AggregateType))
545Count += CRD->getNumBases();
549 if(
const auto*FT = getFunctionType())
550 if(
const auto*FPT = dyn_cast<FunctionProtoType>(FT))
551 returnFPT->getNumParams();
558 if(Kind == CK_Aggregate) {
559 if(
const auto*CRD = dyn_cast<CXXRecordDecl>(AggregateType)) {
560 if(N < CRD->getNumBases())
561 returnstd::next(CRD->bases_begin(), N)->getType();
562N -= CRD->getNumBases();
564 for(
const auto*Field : AggregateType->fields())
566 returnField->getType();
570 if(Kind == CK_Template) {
572 if(N < TPL->
size())
573 if(
const auto*
D= dyn_cast<NonTypeTemplateParmDecl>(TPL->
getParam(N)))
574 return D->getType();
578 if(
const auto*FT = getFunctionType())
579 if(
const auto*FPT = dyn_cast<FunctionProtoType>(FT))
580 if(N < FPT->getNumParams())
581 returnFPT->getParamType(N);
587 if(Kind == CK_Aggregate) {
588 if(
const auto*CRD = dyn_cast<CXXRecordDecl>(AggregateType)) {
589 if(N < CRD->getNumBases())
590 returnstd::next(CRD->bases_begin(), N)->getType()->getAsTagDecl();
591N -= CRD->getNumBases();
593 for(
const auto*Field : AggregateType->fields())
599 if(Kind == CK_Template) {
601 if(N < TPL->
size())
607 if(
const auto*FD = getFunction()) {
608 if(N < FD->param_size())
609 returnFD->getParamDecl(N);
610}
else if(Kind == CK_FunctionProtoTypeLoc) {
611 if(N < ProtoTypeLoc.getNumParams()) {
612 returnProtoTypeLoc.getParam(N);
630 Result.Declaration->getIdentifier() &&
631 Result.Declaration->getIdentifier()->getName().starts_with(Filter));
633 return!StringRef(
Result.Keyword).starts_with(Filter);
635 return!
Result.Macro->getName().starts_with(Filter);
637 return!(
Result.Pattern->getTypedText() &&
638StringRef(
Result.Pattern->getTypedText()).starts_with(Filter));
640llvm_unreachable(
"Unknown code completion result Kind.");
645 unsignedNumResults) {
646std::stable_sort(Results, Results + NumResults);
648 if(!Context.getPreferredType().isNull())
649OS <<
"PREFERRED-TYPE: "<< Context.getPreferredType() <<
'\n';
653 for(
unsignedI = 0; I != NumResults; ++I) {
654 if(!Filter.empty() && isResultFilteredOut(Filter, Results[I]))
656OS <<
"COMPLETION: ";
657 switch(Results[I].Kind) {
659OS << *Results[I].Declaration;
661std::vector<std::string> Tags;
662 if(Results[I].Hidden)
663Tags.push_back(
"Hidden");
664 if(Results[I].InBaseClass)
665Tags.push_back(
"InBase");
666 if(Results[I].Availability ==
667CXAvailabilityKind::CXAvailability_NotAccessible)
668Tags.push_back(
"Inaccessible");
670OS <<
" ("<< llvm::join(Tags,
",") <<
")";
673SemaRef, Context, getAllocator(), CCTUInfo,
674includeBriefComments())) {
675OS <<
" : "<< CCS->getAsString();
676 if(
const char*BriefComment = CCS->getBriefComment())
677OS <<
" : "<< BriefComment;
682OS << Results[I].Keyword;
686OS << Results[I].Macro->getName();
688SemaRef, Context, getAllocator(), CCTUInfo,
689includeBriefComments())) {
690OS <<
" : "<< CCS->getAsString();
695OS <<
"Pattern : "<< Results[I].Pattern->getAsString();
698 for(
const FixItHint&FixIt : Results[I].FixIts) {
703std::pair<FileID, unsigned> BInfo =
SM.getDecomposedLoc(BLoc);
704std::pair<FileID, unsigned> EInfo =
SM.getDecomposedLoc(ELoc);
706 if(FixIt.RemoveRange.isTokenRange())
709OS <<
" (requires fix-it:" 710<<
" {"<<
SM.getLineNumber(BInfo.first, BInfo.second) <<
':' 711<<
SM.getColumnNumber(BInfo.first, BInfo.second) <<
'-' 712<<
SM.getLineNumber(EInfo.first, EInfo.second) <<
':' 713<<
SM.getColumnNumber(EInfo.first, EInfo.second) <<
"}" 714<<
" to \""<< FixIt.CodeToInsert <<
"\")";
726llvm::raw_string_ostream OS(
Result);
728 for(
auto&
C: CCS) {
732OS <<
"[#"<<
C.Text <<
"#]";
736OS <<
"<#"<<
C.Text <<
"#>";
754OS <<
"OPENING_PAREN_LOC: ";
758 for(
unsignedI = 0; I != NumCandidates; ++I) {
760CurrentArg, SemaRef, getAllocator(), CCTUInfo,
761includeBriefComments(), Braced)) {
770 if(isa<EnumConstantDecl>(
D))
771AR = std::max(AR, cast<Decl>(
D->
getDeclContext())->getAvailability());
775voidCodeCompletionResult::computeCursorKindAndAvailability(
boolAccessible) {
784 caseRK_Declaration: {
822llvm_unreachable(
"Macro and keyword kinds are handled by the constructors");
838 returnPattern->getTypedText();
840 returnMacro->getName();
851 return Id->getName();
852 if(Name.isObjCZeroArgSelector())
854Name.getObjCSelector().getIdentifierInfoForSlot(0))
855 return Id->getName();
857Saved = Name.getAsString();
863std::string XSaved, YSaved;
864StringRef XStr =
X.getOrderedName(XSaved);
866 intcmp = XStr.compare_insensitive(YStr);
871 returnXStr.compare(YStr) < 0;
static AvailabilityResult getDeclAvailability(const Decl *D)
Retrieve the effective availability of the given declaration.
static std::string getOverloadAsString(const CodeCompletionString &CCS)
static Decl::Kind getKind(const Decl *D)
Defines the C++ template declaration subclasses.
Defines the clang::IdentifierInfo, clang::IdentifierTable, and clang::Selector interfaces.
Defines the clang::Preprocessor interface.
C Language Family Type Representation.
QualType getParamType(unsigned N) const
Get the type of the Nth parameter.
const FunctionType * getFunctionType() const
Retrieve the function type of the entity, regardless of how the function is stored.
FunctionDecl * getFunction() const
Retrieve the function overload candidate or the templated function declaration for a function templat...
const FunctionProtoTypeLoc getFunctionProtoTypeLoc() const
Retrieve the function ProtoTypeLoc candidate.
const NamedDecl * getParamDecl(unsigned N) const
Get the declaration of the Nth parameter.
unsigned getNumParams() const
Get the number of parameters in this signature.
virtual ~CodeCompleteConsumer()
Deregisters and destroys this code-completion consumer.
const char * CopyString(const Twine &String)
Copy the given string into this allocator.
CodeCompletionString * TakeString()
Take the resulting completion string.
void AddPlaceholderChunk(const char *Placeholder)
Add a new placeholder chunk.
void AddTextChunk(const char *Text)
Add a new text chunk.
void addParentContext(const DeclContext *DC)
Add the parent context information to this code completion.
void addBriefComment(StringRef Comment)
void AddCurrentParameterChunk(const char *CurrentParameter)
Add a new current-parameter chunk.
void AddResultTypeChunk(const char *ResultType)
Add a new result-type chunk.
void AddInformativeChunk(const char *Text)
Add a new informative chunk.
void AddOptionalChunk(CodeCompletionString *Optional)
Add a new optional chunk.
void AddTypedTextChunk(const char *Text)
Add a new typed-text chunk.
void AddChunk(CodeCompletionString::ChunkKind CK, const char *Text="")
Add a new chunk.
The context in which code completion occurred, so that the code-completion consumer can process the r...
@ CCC_TypeQualifiers
Code completion within a type-qualifier list.
@ CCC_ObjCMessageReceiver
Code completion occurred where an Objective-C message receiver is expected.
@ CCC_PreprocessorExpression
Code completion occurred within a preprocessor expression.
@ CCC_ObjCCategoryName
Code completion where an Objective-C category name is expected.
@ CCC_ObjCIvarList
Code completion occurred within the instance variable list of an Objective-C interface,...
@ CCC_Statement
Code completion occurred where a statement (or declaration) is expected in a function,...
@ CCC_Type
Code completion occurred where a type name is expected.
@ CCC_ArrowMemberAccess
Code completion occurred on the right-hand side of a member access expression using the arrow operato...
@ CCC_ClassStructUnion
Code completion occurred within a class, struct, or union.
@ CCC_ObjCInterface
Code completion occurred within an Objective-C interface, protocol, or category interface.
@ CCC_ObjCPropertyAccess
Code completion occurred on the right-hand side of an Objective-C property access expression.
@ CCC_Expression
Code completion occurred where an expression is expected.
@ CCC_SelectorName
Code completion for a selector, as in an @selector expression.
@ CCC_TopLevelOrExpression
Code completion at a top level, i.e.
@ CCC_EnumTag
Code completion occurred after the "enum" keyword, to indicate an enumeration name.
@ CCC_UnionTag
Code completion occurred after the "union" keyword, to indicate a union name.
@ CCC_ParenthesizedExpression
Code completion in a parenthesized expression, which means that we may also have types here in C and ...
@ CCC_TopLevel
Code completion occurred within a "top-level" completion context, e.g., at namespace or global scope.
@ CCC_ClassOrStructTag
Code completion occurred after the "struct" or "class" keyword, to indicate a struct or class name.
@ CCC_ObjCClassMessage
Code completion where an Objective-C class message is expected.
@ CCC_ObjCImplementation
Code completion occurred within an Objective-C implementation or category implementation.
@ CCC_IncludedFile
Code completion inside the filename part of a #include directive.
@ CCC_ObjCInstanceMessage
Code completion where an Objective-C instance message is expected.
@ CCC_SymbolOrNewName
Code completion occurred where both a new name and an existing symbol is permissible.
@ CCC_Recovery
An unknown context, in which we are recovering from a parsing error and don't know which completions ...
@ CCC_ObjCProtocolName
Code completion occurred where a protocol name is expected.
@ CCC_OtherWithMacros
An unspecified code-completion context where we should also add macro completions.
@ CCC_NewName
Code completion occurred where a new name is expected.
@ CCC_MacroNameUse
Code completion occurred where a macro name is expected (without any arguments, in the case of a func...
@ CCC_Symbol
Code completion occurred where an existing name(such as type, function or variable) is expected.
@ CCC_Attribute
Code completion of an attribute name.
@ CCC_Other
An unspecified code-completion context.
@ CCC_DotMemberAccess
Code completion occurred on the right-hand side of a member access expression using the dot operator.
@ CCC_MacroName
Code completion occurred where an macro is being defined.
@ CCC_Namespace
Code completion occurred where a namespace or namespace alias is expected.
@ CCC_PreprocessorDirective
Code completion occurred where a preprocessor directive is expected.
@ CCC_NaturalLanguage
Code completion occurred in a context where natural language is expected, e.g., a comment or string l...
@ CCC_ObjCInterfaceName
Code completion where the name of an Objective-C class is expected.
@ CCC_ObjCClassForwardDecl
bool wantConstructorResults() const
Determines whether we want C++ constructors as results within this context.
Captures a result of code completion.
StringRef getOrderedName(std::string &Saved) const
Retrieve the name that should be used to order a result.
@ RK_Pattern
Refers to a precomputed pattern.
@ RK_Declaration
Refers to a declaration.
@ RK_Macro
Refers to a macro.
@ RK_Keyword
Refers to a keyword or symbol.
A "string" used to describe how code completion can be performed for an entity.
ChunkKind
The different kinds of "chunks" that can occur within a code completion string.
@ CK_Optional
A code completion string that is entirely optional.
@ CK_CurrentParameter
A piece of text that describes the parameter that corresponds to the code-completion location within ...
@ CK_Comma
A comma separator (',').
@ CK_Text
A piece of text that should be placed in the buffer, e.g., parentheses or a comma in a function call.
@ CK_Placeholder
A string that acts as a placeholder for, e.g., a function call argument.
@ CK_LeftParen
A left parenthesis ('(').
@ CK_HorizontalSpace
Horizontal whitespace (' ').
@ CK_RightAngle
A right angle bracket ('>').
@ CK_Informative
A piece of text that describes something about the result but should not be inserted into the buffer.
@ CK_LeftBracket
A left bracket ('[').
@ CK_Colon
A colon (':').
@ CK_RightParen
A right parenthesis (')').
@ CK_RightBrace
A right brace ('}').
@ CK_VerticalSpace
Vertical whitespace ('\n' or '\r\n', depending on the platform).
@ CK_SemiColon
A semicolon (';').
@ CK_TypedText
The piece of text that the user is expected to type to match the code-completion string,...
@ CK_ResultType
A piece of text that describes the type of an entity or, for functions and methods,...
@ CK_RightBracket
A right bracket (']').
@ CK_LeftBrace
A left brace ('{').
@ CK_LeftAngle
A left angle bracket ('<').
std::string getAsString() const
Retrieve a string representation of the code completion string, which is mainly useful for debugging.
std::string getAllTypedText() const
Returns the combined text from all TypedText chunks.
const char * getTypedText() const
Returns the text in the first TypedText chunk.
unsigned getAnnotationCount() const
Retrieve the number of annotations for this code completion result.
const char * getAnnotation(unsigned AnnotationNr) const
Retrieve the annotation string specified by AnnotationNr.
StringRef getParentName(const DeclContext *DC)
DeclContext - This is used only as base class of specific decl types that can act as declaration cont...
DeclContext * getParent()
getParent - Returns the containing DeclContext.
bool isTranslationUnit() const
bool isFunctionOrMethod() const
Decl - This represents one declaration (or definition), e.g.
AvailabilityResult getAvailability(std::string *Message=nullptr, VersionTuple EnclosingVersion=VersionTuple(), StringRef *RealizedPlatform=nullptr) const
Determine the availability of the given declaration.
DeclContext * getDeclContext()
The name of a declaration.
Annotates a diagnostic with some code that should be inserted, removed, or replaced to fix the proble...
Represents a function declaration or definition.
FunctionType - C99 6.7.5.3 - Function Declarators.
One of these records is kept for each identifier that is lexed.
static unsigned MeasureTokenLength(SourceLocation Loc, const SourceManager &SM, const LangOptions &LangOpts)
MeasureTokenLength - Relex the token at the specified location and return its length in bytes in the ...
This represents a decl that may have a name.
Represents an ObjC class declaration.
StringRef getCodeCompletionFilter()
Get the code completion token for filtering purposes.
void ProcessCodeCompleteResults(Sema &S, CodeCompletionContext Context, CodeCompletionResult *Results, unsigned NumResults) override
Prints the finalized code-completion results.
void ProcessOverloadCandidates(Sema &S, unsigned CurrentArg, OverloadCandidate *Candidates, unsigned NumCandidates, SourceLocation OpenParLoc, bool Braced) override
bool isResultFilteredOut(StringRef Filter, CodeCompletionResult Results) override
A (possibly-)qualified type.
Sema - This implements semantic analysis and AST building for C.
Preprocessor & getPreprocessor() const
const LangOptions & LangOpts
SourceManager & getSourceManager() const
SourceManager & SourceMgr
Encodes a location in the source.
void print(raw_ostream &OS, const SourceManager &SM) const
This class handles loading and caching of source files into memory.
Stores a list of template parameters for a TemplateDecl and its derived classes.
NamedDecl * getParam(unsigned Idx)
The base class of the type hierarchy.
const T * getAs() const
Member-template getAs<specific type>'.
CXAvailabilityKind
Describes the availability of a particular entity, which indicates whether the use of this entity wil...
@ CXCursor_ObjCInterfaceDecl
An Objective-C @interface.
@ CXCursor_ObjCProtocolDecl
An Objective-C @protocol declaration.
@ CXCursor_UnexposedDecl
A declaration whose specific kind is not exposed via this interface.
@ CXCursor_NotImplemented
@ CXAvailability_Available
The entity is available.
@ CXAvailability_Deprecated
The entity is available, but has been deprecated (and its use is not recommended).
@ CXAvailability_NotAccessible
The entity is available, but not accessible; any use of it will be an error.
@ CXAvailability_NotAvailable
The entity is not available; any use of it will be an error.
The JSON file list parser is used to communicate input to InstallAPI.
CXCursorKind getCursorKindForDecl(const Decl *D)
Determine the libclang cursor kind associated with the given declaration.
bool operator<(DeclarationName LHS, DeclarationName RHS)
Ordering on two declaration names.
@ Result
The result type of a method or function.
AvailabilityResult
Captures the result of checking the availability of a declaration.
llvm::StringRef getCompletionKindString(CodeCompletionContext::Kind Kind)
Get string representation of Kind, useful for debugging.
@ Interface
The "__interface" keyword introduces the elaborated-type-specifier.
__UINTPTR_TYPE__ uintptr_t
An unsigned integer type with the property that any valid pointer to void can be converted to this ty...
One piece of the code completion string.
static Chunk CreateOptional(CodeCompletionString *Optional)
Create a new optional chunk.
ChunkKind Kind
The kind of data stored in this piece of the code completion string.
static Chunk CreatePlaceholder(const char *Placeholder)
Create a new placeholder chunk.
static Chunk CreateCurrentParameter(const char *CurrentParameter)
Create a new current-parameter chunk.
static Chunk CreateInformative(const char *Informative)
Create a new informative chunk.
static Chunk CreateResultType(const char *ResultType)
Create a new result type chunk.
const char * Text
The text string associated with a CK_Text, CK_Placeholder, CK_Informative, or CK_Comma chunk.
static Chunk CreateText(const char *Text)
Create a new text chunk.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4