292 ALIB_DBG(
MA.DbgCriticalSectionsPH.Construct(
nullptr));
344 || ( !ignoreIndirects
361 "XLink is not resolved. Method Result() must not be invoked.")
369 "XLink is not resolved. Method Result() must not be invoked.")
391 bool suppressHints=
false);
#define ALIB_ASSERT(cond, domain)
#define ALIB_ASSERT_ERROR(cond, domain,...)
Kinds
Enumerates the kinds of compounds found in a the Doxygen tagfile.
@ UNSPECIFIED
Used with the field #"XLink::KindSpec;2".
int scopeHintsSize
The number of strings in the array scope that are only hints.
alib::String LinkString
The original source string.
alib::Lock Lock
The lock protecting the creation phase and as well allocator access.
alib::String & Name() const
Index::Node DidYouMeanTemplateType
const Index::SearchResult & Result() const
alib::filetree::FTree::ConstCursorHandle HTMLFileOfLocalLink
The tree node of the HTML file that created this copy of the originally given local XLink.
Index::SearchResult & Result()
XLink()
Constructor. Parses the given searchString and allocates the fields in the ma.
void DbgReset()
This method is need for the unit-tests and available only with debug-compilations.
alib::StdVectorMA< Index::Node > DidYouMeanSameName
A list of target nodes with the same name.
bool IsGood(bool ignoreIndirects)
alib::StdVectorMA< Index::Node > DidYouMeanNotATemplate
A list of entries that are not templates, while a template type was searched.
alib::ListMA< Index::Node > * TypeDefinitionTargets
void Parse()
Parses the given searchString and allocates the fields in the MA.
alib::StdVectorMA< Location > HTMLLocations
bool HasWarnings(bool ignoreIndirects)
const alib::String & Scope(int n) const
void PrintError(alib::Paragraphs &out, const alib::String &linkString, bool suppressHints=false)
void assembleDisplay()
Inner main method of #"AssembleDisplay()".
Target::FunctionArguments * Args
Function arguments provided with the source XLink.
bool NotFoundInHTML
This flag is set when the specified link identifier was not found in the HTML files.
static constexpr int MAX_SCOPE_DEPTH
The maximum number of scope hints and parents.
const alib::String & Hint(int n) const
Target::TemplateArguments * TemplateArgs
alib::StdVectorMA< Index::SearchResult > Targets
alib::ListMA< Index::Node > * BaseTypes
alib::String Subscript
A variable subscript provided by the source XLink.
XLink * linkToParentScope
Errors
Possible results when parsing source links.
@ NoTargetNameGiven
No target identifier was given.
@ RestoringUnusedLocalLink
@ UnknownUnderlyingType
The underlying type requested with '^' was not found.
@ InappropriateDisplayTweak
@ LocalLinkWithScopeHints
@ LocalLinkCopiedToUnrecognizableFile
@ TooManyParentsRequested
@ RestoringAmbiguousLocalLink
static Index::Node ResolveTypeDef(const Index::Node &startCursor, const alib::String &origSearchString)
alib::StdVectorMA< Index::Node > DidYouMeanSpecializations
std::pair< XLink *, bool > GetLocalCopy(const alib::filetree::FTFile &htmlFile)
Index::ConstCursorHandle LocalLinkEntity
alib::integer DisplayOriginalPos
void findInherited(const decltype(TGTRecord::BaseTypes)&bases)
alib::StdVectorMA< Location > SourceLocations
XLink * GetLinkToParent()
Errors Error
Possible errors that occured during parsing the search string given by the user.
alib::MonoAllocator MA
The mono allocator used to create the members of the class.
alib::StdVectorMA< Index::Node > DidYouMeanVariable
A list of entries that are variables, while the XLink's subscript does not match.
Target::Kinds KindSpec
Function arguments provided with the source XLink.
alib::String Qualifiers
Function qualifiers like const, or nothrow provided with the source XLink.
alib::String DisplayHTMLEncoded
Same as Display but #"ConvertASCIItoHTMLEntities;HTML-encoded".
Target::TemplateArguments * SpecializationArgs
alib::StdVectorMA< Index::Node > DidYouMeanFunctionOverload
bool NoIndirectionWarning
monomem::TMonoAllocator< lang::HeapAllocator > MonoAllocator
containers::List< T, MonoAllocator, TRecycling > ListMA
strings::TString< character > String
LocalString< 2048 > String2K
format::Paragraphs Paragraphs
std::vector< T, StdMA< T > > StdVectorMA
void ConvertASCIItoHTMLEntities(const alib::String &src, alib::AString &dest)
bool NeedsHTMLConversion(const String &asciiString)
alib::StdVectorMA< ResolvedLocation > XLinkList
The cursor type of the #"StringTree".
bool IsIndirectLinkToScannedHTMLSourceFile
Set if the method DoxygenXLinks::tryResolveHTMLTargetFile" is needed and succeeds.
bool IsIndirectByInheritance
Set if a member was found in a base type and not in the originally given one.
A location of an XLink in a source or HTML file.
int Line
The line number of the XLink.
int Column
The column in the Line.
alib::filetree::FTFile File
#"fTreeHTML;2".
int Line
The line number of the XLink.
int Column
The column in the Line.
XLink * XL
The corresponding XLink.
alib::ListMA< alib::String > BaseTypes
The base type of the record.