#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 265 of file filedef.cpp.
266{
267 return std::make_unique<FileDefImpl>(p,n,ref,dn);
268}
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()(), 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{
89 switch (kind)
90 {
98 }
99 return "";
100}
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 1905 of file filedef.cpp.
1906{
1907 if (d==nullptr) return nullptr;
1909 {
1910 return static_cast<const FileDef*
>(d);
1911 }
1912 else
1913 {
1914 return nullptr;
1915 }
1916}
A model of a file symbol.
◆ toFileDef() [2/2]
Definition at line 1892 of file filedef.cpp.
1893{
1894 if (d==nullptr) return nullptr;
1896 {
1897 return static_cast<FileDef*
>(d);
1898 }
1899 else
1900 {
1901 return nullptr;
1902 }
1903}
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(), SearchIndex::setCurrentDoc(), and SearchIndexExternal::setCurrentDoc().
◆ IncludeKind_ImportMask
uint32_t IncludeKind_ImportMask |
|
constexpr |
◆ IncludeKind_LocalMask
◆ IncludeKind_ObjCMask
◆ IncludeKind_SystemMask