281 ALIB_DBG(
MA.DbgCriticalSectionsPH.Construct(
nullptr));
333 || ( !ignoreIndirects
349 "XLink is not resolved. Method Result() must not be invoked.")
357 "XLink is not resolved. Method Result() must not be invoked.")
370 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
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)
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
alib::files::FTree::ConstCursorHandle HTMLFileOfLocalLink
The tree node of the HTML file which created this copy of the originally given local XLink.
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
@ TooManyParentsRequested
@ RestoringAmbiguousLocalLink
static Index::Node ResolveTypeDef(const Index::Node &startCursor, const alib::String &origSearchString)
alib::StdVectorMA< Index::Node > DidYouMeanSpecializations
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.
Target::TemplateArguments * SpecializationArgs
alib::StdVectorMA< Index::Node > DidYouMeanFunctionOverload
bool NoIndirectionWarning
std::pair< XLink *, bool > GetLocalCopy(const alib::files::File &htmlFile)
monomem::TMonoAllocator< lang::HeapAllocator > MonoAllocator
containers::List< T, MonoAllocator, TRecycling > ListMA
strings::TString< character > String
format::Paragraphs Paragraphs
std::vector< T, StdMA< T > > StdVectorMA
alib::StdVectorMA< ResolvedLocation > XLinkList
The cursor type of the #"StringTree".
An entry in the vector of search results generated by the method Search.
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.
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.