Doxygen
|
#include <algorithm>
#include <iterator>
#include <unordered_map>
#include <string>
#include <optional>
#include <cctype>
#include <cstdio>
#include <cstdlib>
#include <cassert>
#include "anchor.h"
#include "md5.h"
#include "regex.h"
#include "config.h"
#include "definitionimpl.h"
#include "doxygen.h"
#include "language.h"
#include "message.h"
#include "portable.h"
#include "outputlist.h"
#include "code.h"
#include "util.h"
#include "groupdef.h"
#include "pagedef.h"
#include "section.h"
#include "htags.h"
#include "parserintf.h"
#include "debug.h"
#include "vhdldocgen.h"
#include "memberlist.h"
#include "namespacedef.h"
#include "filedef.h"
#include "dirdef.h"
#include "reflist.h"
#include "utf8.h"
#include "indexlist.h"
#include "fileinfo.h"
Go to the source code of this file.
Classes | |
class | DefinitionImpl::Private |
Private data associated with a Symbol DefinitionImpl object. More... | |
class | FilterCache |
struct | FilterCache::FilterCacheItem |
Functions | |
static bool | matchExcludedSymbols (const QCString &name) |
static void | addToMap (const QCString &name, Definition *d) |
static void | removeFromMap (const QCString &name, Definition *d) |
bool | readCodeFragment (const QCString &fileName, bool isMacro, int &startLine, int &endLine, QCString &result) |
Reads a fragment from file fileName starting with line startLine and ending with line endLine. | |
static MemberVector | refMapToVector (const std::unordered_map< std::string, MemberDef * > &map) |
static bool | stripWord (QCString &s, QCString w) |
static QCString | abbreviate (const QCString &s, const QCString &name) |
Definition * | toDefinition (DefinitionMutable *dm) |
DefinitionMutable * | toDefinitionMutable (Definition *d) |
Variables | |
static std::recursive_mutex | g_qualifiedNameMutex |
static std::mutex | g_memberReferenceMutex |
Definition at line 1497 of file definition.cpp.
References QCString::at(), Config_getList, QCString::findRev(), QCString::isEmpty(), QCString::left(), QCString::length(), QCString::mid(), QCString::stripWhiteSpace(), stripWord(), and substitute().
Referenced by Definition::briefDescription(), DefinitionAliasMixin< Base >::briefDescription(), DefinitionImpl::briefDescription(), DefinitionMixin< Base >::briefDescription(), and DefinitionImpl::operator=().
|
static |
Definition at line 214 of file definition.cpp.
References Definition::_setSymbolName(), computeQualifiedIndex(), Config_getBool, QCString::isEmpty(), QCString::mid(), DefinitionImpl::name(), Doxygen::symbolMap, and DefinitionImpl::symbolName().
Referenced by DefinitionImpl::DefinitionImpl(), DefinitionImpl::DefinitionImpl(), and DefinitionAliasImpl::init().
|
static |
Definition at line 159 of file definition.cpp.
References QCString::at(), Config_getList, FALSE, QCString::find(), QCString::isEmpty(), isId(), QCString::left(), QCString::length(), QCString::mid(), DefinitionImpl::name(), reg::search(), QCString::str(), substitute(), and TRUE.
Referenced by DefinitionImpl::DefinitionImpl().
bool readCodeFragment | ( | const QCString & | fileName, |
bool | isMacro, | ||
int & | startLine, | ||
int & | endLine, | ||
QCString & | result ) |
Reads a fragment from file fileName starting with line startLine and ending with line endLine.
Reads a fragment of code from file fileName starting at line startLine and ending at line endLine (inclusive). The fragment is stored in result. If FALSE is returned the code fragment could not be found.
The file is scanned for a opening bracket ('{') from startLine onward The line actually containing the bracket is returned via startLine. The file is scanned for a closing bracket ('}') from endLine backward. The line actually containing the bracket is returned via endLine. Note that for VHDL code the bracket search is not done.
Definition at line 749 of file definition.cpp.
References QCString::at(), Config_getBool, Config_getInt, QCString::data(), err, QCString::fill(), Debug::FilterOutput, QCString::findRev(), Fortran, found, getEncoding(), FilterCache::getFileContents(), getFileFilter(), getLanguageFromFileName(), FilterCache::instance(), QCString::isEmpty(), QCString::length(), Debug::print(), Python, qPrint(), QCString::resize(), QCString::str(), transcodeCharacterStringToUTF8(), TRUE, and VHDL.
Referenced by VhdlDocGen::createFlowChart(), DefinitionMutable::toDefinition_(), and DefinitionImpl::writeInlineCode().
|
inlinestatic |
Definition at line 1061 of file definition.cpp.
References MemberVector::begin(), and MemberVector::end().
Referenced by DefinitionImpl::_writeSourceRefList(), DefinitionImpl::getReferencedByMembers(), and DefinitionImpl::getReferencesMembers().
|
static |
Definition at line 229 of file definition.cpp.
References DefinitionImpl::name(), and Doxygen::symbolMap.
Referenced by DefinitionAliasImpl::deinit(), and DefinitionImpl::~DefinitionImpl().
Definition at line 1484 of file definition.cpp.
References FALSE, QCString::left(), QCString::length(), QCString::right(), and TRUE.
Referenced by abbreviate().
Definition * toDefinition | ( | DefinitionMutable * | dm | ) |
Definition at line 1869 of file definition.cpp.
References DefinitionImpl::_docsAlreadyAdded(), DefinitionImpl::docFile(), DefinitionImpl::docLine(), QCString::isEmpty(), DefinitionImpl::p, stripLeadingAndTrailingEmptyLines(), and stripWhiteSpace().
Referenced by buildScopeFromQualifiedName(), findScopeFromQualifiedName(), toConceptDef(), toMemberDef(), toNamespaceDef(), and MemberList::writeDocumentationPage().
DefinitionMutable * toDefinitionMutable | ( | Definition * | d | ) |
Definition at line 1875 of file definition.cpp.
Referenced by addConceptToContext(), buildNamespaceList(), buildScopeFromQualifiedName(), computeTooltipTexts(), createTagLessInstance(), resolveClassNestingRelations(), and DefinitionMutable::toDefinition_().
|
static |
Definition at line 1668 of file definition.cpp.
Referenced by DefinitionImpl::getReferencedByMembers(), and DefinitionImpl::getReferencesMembers().
|
static |
Definition at line 1217 of file definition.cpp.
Referenced by DefinitionImpl::qualifiedName(), and DefinitionImpl::setOuterScope().