#include <memory>
#include <unordered_set>
#include "definition.h"
#include "memberlist.h"
#include "containers.h"
Go to the source code of this file.
|
constexpr uint32_t | operator| (IncludeKind a, IncludeKind b) |
|
constexpr uint32_t | operator| (uint32_t a, IncludeKind b) |
|
constexpr uint32_t | operator& (IncludeKind a, uint32_t mask) |
|
QCString | includeStatement (SrcLangExt lang, IncludeKind kind) |
|
QCString | includeOpen (SrcLangExt lang, IncludeKind kind) |
|
QCString | includeClose (SrcLangExt lang, IncludeKind kind) |
|
bool | compareFileDefs (const FileDef *fd1, const FileDef *fd2) |
|
std::unique_ptr< FileDef > | createFileDef (const QCString &p, const QCString &n, const QCString &ref=QCString(), const QCString &dn=QCString()) |
|
FileDef * | toFileDef (Definition *d) |
|
const FileDef * | toFileDef (const Definition *d) |
|
◆ FileDefSet
◆ IncludeKind
Enumerator |
---|
IncludeSystem | |
IncludeLocal | |
ImportSystemObjC | |
ImportLocalObjC | |
ImportSystem | |
ImportLocal | |
ImportModule | |
Definition at line 46 of file filedef.h.
◆ compareFileDefs()
◆ createFileDef()
Definition at line 267 of file filedef.cpp.
268{
269 return std::make_unique<FileDefImpl>(p,n,ref,dn);
270}
Referenced by anonymous_namespace{tagreader.cpp}::TagFileParser::buildLists(), DocbookDocVisitor::operator()(), DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), LatexDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), XmlDocVisitor::operator()(), XmlDocVisitor::operator()(), FileDef::overrideIncludedByGraph(), CCodeParser::parseCode(), FortranCodeParser::parseCode(), LexCodeParser::parseCode(), PythonCodeParser::parseCode(), SQLCodeParser::parseCode(), VHDLCodeParser::parseCode(), XMLCodeParser::parseCode(), CodeFragmentManager::parseCodeFragment(), readDir(), readFileOrDirectory(), and writeGraphInfo().
◆ includeClose()
Definition at line 86 of file filedef.cpp.
87{
90
91 switch (kind)
92 {
100 }
101 return "";
102}
References IDL, ImportLocal, ImportLocalObjC, ImportModule, ImportSystem, ImportSystemObjC, IncludeLocal, IncludeSystem, and Java.
Referenced by ClassDefImpl::writeIncludeFiles(), ConceptDefImpl::writeIncludeFiles(), and FileDefImpl::writeIncludeFiles().
◆ includeOpen()
◆ includeStatement()
◆ operator&()
Definition at line 60 of file filedef.h.
60{ return static_cast<uint32_t>(a) & mask; }
◆ operator|() [1/2]
Definition at line 58 of file filedef.h.
58{ return static_cast<uint32_t>(a) | static_cast<uint32_t>(b); }
◆ operator|() [2/2]
Definition at line 59 of file filedef.h.
59{ return a | static_cast<uint32_t>(b); }
◆ toFileDef() [1/2]
Definition at line 1907 of file filedef.cpp.
1908{
1909 if (d==nullptr) return nullptr;
1911 {
1912 return static_cast<const FileDef*
>(d);
1913 }
1914 else
1915 {
1916 return nullptr;
1917 }
1918}
A model of a file symbol.
◆ toFileDef() [2/2]
Definition at line 1894 of file filedef.cpp.
1895{
1896 if (d==nullptr) return nullptr;
1898 {
1899 return static_cast<FileDef*
>(d);
1900 }
1901 else
1902 {
1903 return nullptr;
1904 }
1905}
Referenced by DocSets::addIndexItem(), DocLink::DocLink(), DocRef::DocRef(), findModuleDef(), SymbolResolver::Private::followPath(), generateJSTree(), FTVHelp::Private::generateTree(), DocParser::handleLinkedWord(), NamespaceDefImpl::insertMember(), insertMemberAlias(), SymbolResolver::Private::isAccessibleFrom(), ClassDefImpl::moveTo(), MemberDefImpl::moveTo(), DefinitionImpl::navigationPathAsString(), node2URL(), FileDef::overrideIncludedByGraph(), SearchIndex::setCurrentDoc(), and SearchIndexExternal::setCurrentDoc().
◆ IncludeKind_ImportMask
uint32_t IncludeKind_ImportMask |
|
constexpr |
◆ IncludeKind_LocalMask
◆ IncludeKind_ObjCMask
◆ IncludeKind_SystemMask