Doxygen
|
#include <stdio.h>
#include <assert.h>
#include <mutex>
#include "md5.h"
#include "memberdef.h"
#include "membername.h"
#include "doxygen.h"
#include "util.h"
#include "code.h"
#include "message.h"
#include "htmlhelp.h"
#include "language.h"
#include "outputlist.h"
#include "example.h"
#include "membergroup.h"
#include "groupdef.h"
#include "defargs.h"
#include "docparser.h"
#include "dot.h"
#include "dotcallgraph.h"
#include "searchindex.h"
#include "parserintf.h"
#include "vhdldocgen.h"
#include "arguments.h"
#include "memberlist.h"
#include "namespacedef.h"
#include "moduledef.h"
#include "filedef.h"
#include "config.h"
#include "definitionimpl.h"
#include "regex.h"
#include "trace.h"
Go to the source code of this file.
Classes | |
class | MemberDefImpl |
class | MemberDefAliasImpl |
Variables | |
static std::mutex | g_cachedAnonymousTypeMutex |
static std::mutex | g_hasDetailedDescriptionMutex |
static const reg::Ex | reAnonymous (R"([\w:@]*@\d+)") |
static std::mutex | g_detectUndocumentedParamsMutex |
static std::mutex | g_docCrossReferenceMutex |
Definition at line 6382 of file memberdef.cpp.
References DefinitionMutable::addSourceReferencedBy(), DefinitionMutable::addSourceReferences(), g_docCrossReferenceMutex, MemberDef::hasCallerGraph(), MemberDef::hasCallGraph(), MemberDef::hasReferencedByRelation(), MemberDef::hasReferencesRelation(), MemberDef::isCallable(), MemberDef::isEnumerate(), MemberDef::isTypedef(), MemberDef::memberDeclaration(), MemberDef::memberDefinition(), MemberDef::sourceRefName(), and toMemberDefMutable().
Referenced by findMemberLink(), generateClassMemberLink(), generateClassOrGlobalLink(), generateClassOrGlobalLink(), getLink(), getLinkInScope(), getLinkInScope(), MemberDefMutable::setFromAnonymousScope(), and writeObjCMethodCall().
|
static |
Definition at line 975 of file memberdef.cpp.
References QCString::at(), QCString::find(), QCString::findRev(), isId(), QCString::left(), QCString::length(), QCString::mid(), and QCString::right().
Referenced by writeDefArgumentList().
Definition at line 2207 of file memberdef.cpp.
References QCString::find(), QCString::findRev(), QCString::isEmpty(), QCString::left(), and QCString::mid().
Referenced by MemberDefImpl::writeDeclaration().
void combineDeclarationAndDefinition | ( | MemberDefMutable * | mdec, |
MemberDefMutable * | mdef ) |
Definition at line 6148 of file memberdef.cpp.
References MemberDefMutable::addQualifiers(), MemberDef::argsString(), MemberDef::argumentList(), AUTO_TRACE, AUTO_TRACE_ADD, Definition::briefDescription(), Definition::briefFile(), Definition::briefLine(), Config_getBool, Definition::docFile(), Definition::docLine(), Definition::documentation(), Definition::getBodyDef(), Definition::getDefLine(), Definition::getEndBodyLine(), MemberDef::getFileDef(), MemberDef::getGroupDef(), MemberDef::getGroupPri(), Definition::getLanguage(), MemberDef::getMemberSpecifiers(), Definition::getOuterScope(), MemberDef::getQualifiers(), Definition::getStartBodyLine(), Definition::hasDocumentation(), ArgumentList::hasParameters(), Definition::inbodyDocumentation(), Definition::inbodyFile(), Definition::inbodyLine(), MemberDef::isDocsForDefinition(), QCString::isEmpty(), MemberDef::isExternal(), MemberDef::isFunction(), MemberDef::isPrototype(), MemberDef::isStatic(), MemberDef::isVariable(), matchArguments2(), mergeMemberOverrideOptions(), MemberDefMutable::mergeMemberSpecifiers(), DefinitionMutable::mergeRefItems(), MemberDefMutable::moveArgumentList(), MemberDefMutable::moveDeclArgumentList(), Definition::name(), MemberDefMutable::resolveUnnamedParameters(), DefinitionMutable::setBodyDef(), DefinitionMutable::setBodySegment(), DefinitionMutable::setBriefDescription(), MemberDefMutable::setDocsForDefinition(), DefinitionMutable::setDocumentation(), MemberDefMutable::setGroupDef(), DefinitionMutable::setInbodyDocumentation(), MemberDefMutable::setMemberDeclaration(), MemberDefMutable::setMemberDefinition(), ArgumentList::size(), stringToArgumentList(), MemberDef::templateArguments(), transferArgumentDocumentation(), and TRUE.
Referenced by ClassDefImpl::mergeCategory(), MemberDefMutable::setFromAnonymousScope(), and transferFunctionDocumentation().
std::unique_ptr< MemberDef > createMemberDef | ( | const QCString & | defFileName, |
int | defLine, | ||
int | defColumn, | ||
const QCString & | type, | ||
const QCString & | name, | ||
const QCString & | args, | ||
const QCString & | excp, | ||
Protection | prot, | ||
Specifier | virt, | ||
bool | stat, | ||
Relationship | related, | ||
MemberType | t, | ||
const ArgumentList & | tal, | ||
const ArgumentList & | al, | ||
const QCString & | metaData ) |
Factory method to create a new instance of a MemberDef.
Definition at line 516 of file memberdef.cpp.
Referenced by addEnumValuesToEnums(), addGlobalFunction(), addInstance(), addInterfaceOrServiceToServiceOrSingleton(), addLocalObjCMethod(), addMemberSpecialization(), addMethodToClass(), addOverloaded(), addVariableToClass(), addVariableToFile(), buildDefineList(), createTagLessInstance(), MemberDefImpl::createTemplateInstanceMember(), createUsingMemberImportForClass(), findDefineDocumentation(), findEnums(), findMember(), findUsingDeclImports(), and MemberDefMutable::setFromAnonymousScope().
std::unique_ptr< MemberDef > createMemberDefAlias | ( | const Definition * | newScope, |
const MemberDef * | aliasMd ) |
Definition at line 966 of file memberdef.cpp.
Referenced by MemberDefAliasImpl::deepCopy(), findUsingDeclImports(), NamespaceDefImpl::insertMember(), insertMemberAlias(), and MemberDefMutable::setFromAnonymousScope().
|
static |
Definition at line 6085 of file memberdef.cpp.
Referenced by MemberDefImpl::invalidateCachedArgumentTypes().
Definition at line 3904 of file memberdef.cpp.
References QCString::endsWith(), QCString::left(), QCString::length(), removeAnonymousScopes(), reg::search(), and QCString::str().
Referenced by MemberDefImpl::fieldType().
Definition at line 4151 of file memberdef.cpp.
References QCString::mid(), QCString::startsWith(), and QCString::stripWhiteSpace().
Referenced by MemberDefImpl::warnIfUndocumentedParams().
const MemberDef * toMemberDef | ( | const Definition * | d | ) |
Definition at line 6460 of file memberdef.cpp.
MemberDef * toMemberDef | ( | Definition * | d | ) |
Definition at line 6435 of file memberdef.cpp.
Referenced by codeFolding(), DefinitionImpl::computeTooltip(), definitionToName(), DocRef::DocRef(), dumpSymbol(), findMemberLink(), findUsingDeclImports(), generateClassOrGlobalLink(), getDefsNew(), MemberDefAliasImpl::getMdAlias(), MemberDefAliasImpl::getMdAlias(), getMemberFromSymbol(), SymbolResolver::Private::getResolvedSymbol(), SymbolResolver::Private::getResolvedType(), getSQLDocBlock(), SymbolResolver::Private::isAccessibleFrom(), SymbolResolver::Private::isAccessibleFromWithExpScope(), DocParser::processCopyDoc(), SymbolResolver::resolveSymbol(), resolveUserReferences(), SearchIndex::setCurrentDoc(), SearchIndexExternal::setCurrentDoc(), MemberDefMutable::setFromAnonymousScope(), SymbolResolver::Private::substTypedef(), DefinitionImpl::writeInlineCode(), writeJavasScriptSearchDataPage(), writeObjCMethodCall(), and TooltipManager::writeTooltips().
MemberDef * toMemberDef | ( | DefinitionMutable * | md | ) |
Definition at line 6447 of file memberdef.cpp.
References toDefinition().
MemberDefMutable * toMemberDefMutable | ( | Definition * | d | ) |
Definition at line 6472 of file memberdef.cpp.
Referenced by addDocCrossReference(), addEnumValuesToEnums(), addGlobalFunction(), addInstance(), addInterfaceOrServiceToServiceOrSingleton(), MemberList::addListReferences(), addLocalObjCMethod(), addMemberFunction(), addMemberSpecialization(), addMembersToMemberGroup(), ClassDefImpl::addMembersToTemplateInstance(), addMemberToGroups(), ClassDefImpl::addMemberToList(), FileDefImpl::addMemberToList(), ModuleDefImpl::addMemberToList(), NamespaceDefImpl::addMemberToList(), ModuleDefImpl::addMemberToModule(), ModuleManager::addMemberToModule(), addMethodToClass(), addOverloaded(), addVariableToClass(), addVariableToFile(), buildDefineList(), buildFunctionList(), buildTypedefList(), computeMemberRelationsForBaseClass(), createTagLessInstance(), MemberDefImpl::createTemplateInstanceMember(), createUsingMemberImportForClass(), ClassDefImpl::deepCopy(), MemberGroup::distributeMemberGroupDocumentation(), findDefineDocumentation(), findDEV(), findEnumDocumentation(), findEnums(), findFriends(), findGlobalMember(), findMember(), MemberList::findSectionsInDocumentation(), findUsingDeclImports(), flushCachedTemplateRelations(), flushUnresolvedRelations(), generateClassMemberLink(), getLinkInScope(), incrementFlowKeyWordCount(), incrementFlowKeyWordCount(), inheritDocumentation(), GroupDefImpl::insertMember(), MemberGroup::insertMember(), NamespaceDefImpl::insertMember(), MemberDefImpl::insertReimplementedBy(), ClassDefImpl::mergeCategory(), SymbolResolver::Private::newResolveTypedef(), processTagLessClasses(), MemberList::setAnchors(), MemberList::setAnonymousEnumType(), MemberDefMutable::setFromAnonymousScope(), ClassDefImpl::setGroupDefForAllMembers(), transferFunctionDocumentation(), transferFunctionReferences(), transferRelatedFunctionDocumentation(), transferStaticInstanceInitializers(), tryAddEnumDocsToGroupMember(), vhdlCorrectMemberProperties(), MemberDefImpl::writeDeclaration(), MemberList::writeDocumentation(), MemberList::writeDocumentationPage(), VhdlDocGen::writePlainVHDLDeclarations(), MemberList::writeSimpleDocumentation(), VhdlDocGen::writeSource(), and MemberList::writeTagFile().
|
static |
Definition at line 6118 of file memberdef.cpp.
References ArgumentList::begin(), Config_getBool, Argument::docs, ArgumentList::end(), QCString::isEmpty(), and Argument::name.
Referenced by combineDeclarationAndDefinition().
|
static |
Definition at line 1048 of file memberdef.cpp.
References addTemplateNames(), QCString::append(), MemberDef::argumentList(), Argument::array, Argument::attrib, ArgumentList::begin(), QCString::clear(), ArgumentList::constSpecifier(), MemberDef::declArgumentList(), Definition::definitionType(), Argument::defval, OutputList::docify(), ArgumentList::end(), OutputList::endMemberDocName(), OutputList::endParameterDefVal(), OutputList::endParameterExtra(), OutputList::endParameterName(), OutputList::endParameterType(), MemberDef::extraTypeChars(), FALSE, QCString::find(), QCString::findRev(), Definition::getBodyDef(), Definition::getLanguage(), getLanguageSpecificSeparator(), Doxygen::globalScope, ArgumentList::hasParameters(), MemberDef::isDefine(), MemberDef::isDocsForDefinition(), QCString::isEmpty(), MemberDef::isObjCMethod(), MemberDef::isProperty(), MemberDef::isTypedef(), QCString::left(), QCString::length(), linkifyText(), LValue, QCString::mid(), Argument::name, Definition::name(), QCString::prepend(), ArgumentList::refQualifier(), RValue, ArgumentList::size(), OutputList::startParameterDefVal(), OutputList::startParameterExtra(), OutputList::startParameterList(), OutputList::startParameterName(), OutputList::startParameterType(), substitute(), tempArgListToString(), toClassDef(), ArgumentList::trailingReturnType(), TRUE, Argument::type, Definition::TypeClass, ArgumentList::volatileSpecifier(), and OutputList::writeNonBreakableSpace().
Referenced by MemberDefImpl::writeDocumentation().
|
static |
Definition at line 1291 of file memberdef.cpp.
References QCString::at(), MemberDef::excpString(), QCString::find(), QCString::mid(), QCString::stripWhiteSpace(), and writeExceptionListImpl().
Referenced by MemberDefImpl::writeDocumentation().
|
static |
Definition at line 1252 of file memberdef.cpp.
References OutputList::docify(), OutputList::exceptionEntry(), QCString::find(), Definition::getBodyDef(), Definition::getDefFileName(), Definition::getDefLine(), QCString::left(), linkifyText(), QCString::mid(), Definition::name(), qPrint(), removeRedundantWhiteSpace(), and warn.
Referenced by writeExceptionList().
|
static |
Definition at line 1975 of file memberdef.cpp.
Referenced by MemberDefImpl::getClassDefOfAnonymousType().
|
static |
Definition at line 4164 of file memberdef.cpp.
Referenced by MemberDefImpl::detectUndocumentedParams().
|
static |
Definition at line 6380 of file memberdef.cpp.
Referenced by addDocCrossReference().
|
static |
Definition at line 2661 of file memberdef.cpp.
Referenced by MemberDefImpl::hasDetailedDescription().
|
static |
Referenced by MemberDefImpl::displayDefinition(), and MemberDefImpl::writeDocumentation().