|
Doxygen
|
#include "vhdldocgen.h"#include <algorithm>#include <map>#include <mutex>#include <unordered_set>#include "arguments.h"#include "classlist.h"#include "commentscan.h"#include "config.h"#include "definition.h"#include "doxygen.h"#include "dstring.h"#include "filename.h"#include "groupdef.h"#include "language.h"#include "memberdef.h"#include "membergroup.h"#include "memberlist.h"#include "membername.h"#include "message.h"#include "moduledef.h"#include "namespacedef.h"#include "outputlist.h"#include "parserintf.h"#include "plantuml.h"#include "portable.h"#include "regex.h"#include "stringutil.h"#include "textstream.h"#include "util.h"#include "vhdljjparser.h"Go to the source code of this file.
Classes | |
| struct | [struct].flowCol |
Macros | |
| #define | theTranslator_vhdlType theTranslator->trVhdlType |
| #define | STARTL |
| #define | DECLN |
| #define | STARTFIN (FlowChart::START_NO | FlowChart::END_NO) |
| #define | LOOP |
| #define | ENDCL (FlowChart::END_CASE | FlowChart::END_LOOP) |
| #define | EEND (FlowChart::ENDIF_NO | FlowChart::ELSE_NO ) |
| #define | IFF (FlowChart::ELSIF_NO | FlowChart::IF_NO) |
| #define | EXITNEXT (FlowChart::EXIT_NO | FlowChart::NEXT_NO ) |
| #define | EMPTY (EEND | FlowChart::ELSIF_NO) |
| #define | EE (FlowChart::ELSE_NO | FlowChart::ELSIF_NO) |
| #define | EMPTNODE (ENDCL | EEND | FlowChart::ELSIF_NO) |
| #define | FLOWLEN (flowList.size()-1) |
Functions | |
| static void | initUCF (Entry *root, const DString &type, DString &qcs, int line, const DString &fileName, DString &brief) |
| static void | writeUCFLink (const MemberDef *mdef, OutputList &ol) |
| static void | addInstance (ClassDefMutable *entity, ClassDefMutable *arch, ClassDefMutable *inst, const std::shared_ptr< Entry > &cur) |
| static void | writeLink (const MemberDef *mdef, OutputList &ol) |
| static void | startFonts (const DString &q, const char *keyword, OutputList &ol) |
| static DString | splitString (DString &str, char c) |
| static int | compareString (const DString &s1, const DString &s2) |
| static VhdlSpecifier | getSpecifierTypeFromClass (const ClassDef *cd) |
| static bool | membersHaveSpecificType (const MemberList *ml, VhdlSpecifier type) |
| static const MemberDef * | findMemFlow (const MemberDef *mdef) |
| static void | alignText (DString &q) |
Variables | |
| static const MemberDef * | flowMember =nullptr |
| static const std::unordered_set< std::string > | g_vhdlKeyWordSet0 |
| static const std::unordered_set< std::string > | g_vhdlKeyWordSet1 |
| static const std::unordered_set< std::string > | g_vhdlKeyWordSet2 |
| static const std::unordered_set< std::string > | g_vhdlKeyWordSet3 |
| static std::recursive_mutex | g_vhdlMutex |
| static std::map< std::string, const MemberDef * > | g_varMap |
| static std::vector< ClassDef * > | g_classList |
| static std::map< ClassDef *, std::vector< ClassDef * > > | g_packages |
| static int | recordCounter =0 |
| static std::vector< const MemberDef * > | mdList |
| static int | ifcounter =0 |
| static int | nodeCounter =0 |
| static struct | flowCol |
| std::vector< FlowChart > | flowList |
| #define DECLN |
Definition at line 2489 of file vhdldocgen.cpp.
Referenced by FlowChart::writeShape().
| #define EE (FlowChart::ELSE_NO | FlowChart::ELSIF_NO) |
Definition at line 2501 of file vhdldocgen.cpp.
| #define EEND (FlowChart::ENDIF_NO | FlowChart::ELSE_NO ) |
Definition at line 2497 of file vhdldocgen.cpp.
Referenced by FlowChart::writeFlowLinks(), and FlowChart::writeShape().
| #define EMPTNODE (ENDCL | EEND | FlowChart::ELSIF_NO) |
Definition at line 2502 of file vhdldocgen.cpp.
Referenced by FlowChart::printNode().
| #define EMPTY (EEND | FlowChart::ELSIF_NO) |
Definition at line 2500 of file vhdldocgen.cpp.
Referenced by FlowChart::colTextNodes().
| #define ENDCL (FlowChart::END_CASE | FlowChart::END_LOOP) |
Definition at line 2496 of file vhdldocgen.cpp.
Referenced by FlowChart::writeShape().
| #define EXITNEXT (FlowChart::EXIT_NO | FlowChart::NEXT_NO ) |
Definition at line 2499 of file vhdldocgen.cpp.
Referenced by FlowChart::writeShape().
| #define FLOWLEN (flowList.size()-1) |
Definition at line 2503 of file vhdldocgen.cpp.
Referenced by FlowChart::buildCommentNodes(), FlowChart::getNextNode(), and FlowChart::printUmlTree().
| #define IFF (FlowChart::ELSIF_NO | FlowChart::IF_NO) |
Definition at line 2498 of file vhdldocgen.cpp.
Referenced by FlowChart::colTextNodes(), FlowChart::writeFlowLinks(), and FlowChart::writeShape().
| #define LOOP |
Definition at line 2494 of file vhdldocgen.cpp.
Referenced by FlowChart::findLabel(), FlowChart::findPrevLoop(), and FlowChart::writeShape().
| #define STARTFIN (FlowChart::START_NO | FlowChart::END_NO) |
Definition at line 2493 of file vhdldocgen.cpp.
Referenced by FlowChart::writeShape().
| #define STARTL |
Definition at line 2486 of file vhdldocgen.cpp.
Referenced by FlowChart::FlowChart(), FlowChart::printNode(), and FlowChart::writeEdge().
| #define theTranslator_vhdlType theTranslator->trVhdlType |
Definition at line 60 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::getClassTitle(), VhdlDocGen::writeInlineClassLink(), VhdlDocGen::writeVHDLDeclaration(), and VhdlDocGen::writeVhdlDeclarations().
|
static |
Definition at line 2177 of file vhdldocgen.cpp.
References LinkedMap< T, Hash, KeyEqual, Map >::add(), VhdlDocGen::addBaseClass(), TagInfo::anchor, createMemberDef(), DString::empty(), TagInfo::fileName, Doxygen::functionNameLinkedMap, Definition::getDefFileName(), ClassDef::getFileDef(), Definition::getOutputFileBase(), ClassDefMutable::insertBaseClass(), ClassDefMutable::insertMember(), ClassDefMutable::insertSubClass(), INSTANTIATION, ClassDef::isBaseClass(), VhdlDocGen::isSubClass(), Definition::name(), MemberName::push_back(), DefinitionMutable::setBodyDef(), DefinitionMutable::setLanguage(), TagInfo::tagName, and toMemberDefMutable().
Referenced by VhdlDocGen::computeVhdlComponentRelations().
|
static |
Definition at line 2538 of file vhdldocgen.cpp.
References DString::append(), DString::left(), DString::length(), DString::npos, DString::remove(), DString::resize(), and DString::rfind().
Referenced by FlowChart::writeShape().
Definition at line 109 of file vhdldocgen.cpp.
References dstricmp(), and DString::stripWhiteSpace().
Referenced by VhdlDocGen::findFunction().
Definition at line 2375 of file vhdldocgen.cpp.
References Definition::getStartBodyLine(), mdList, and Definition::name().
Referenced by VhdlDocGen::createFlowChart().
|
static |
Definition at line 406 of file vhdldocgen.cpp.
References ARCHITECTURE, VhdlDocGen::ARCHITECTURECLASS, VhdlDocGen::convert(), ENTITY, VhdlDocGen::ENTITYCLASS, PACKAGE, PACKAGE_BODY, VhdlDocGen::PACKAGECLASS, VhdlDocGen::PACKBODYCLASS, ClassDef::protection(), and UNKNOWN.
Referenced by VhdlDocGen::getClassTitle(), VhdlDocGen::writeClassType(), and VhdlDocGen::writeInlineClassLink().
|
static |
Definition at line 1965 of file vhdldocgen.cpp.
References DString::append(), DString::clear(), VhdlDocGen::deleteAllChars(), DString::empty(), findIndex(), VhdlDocGen::getRecordNumber(), DString::left(), Entry::moveToSubEntryAndKeep(), DString::remove(), DString::str(), DString::stripPrefix(), DString::stripWhiteSpace(), and UCF_CONST.
Referenced by VhdlDocGen::parseUCF().
|
static |
Definition at line 1720 of file vhdldocgen.cpp.
References MemberList::getMemberGroupList(), and membersHaveSpecificType().
Referenced by membersHaveSpecificType(), and VhdlDocGen::writeVHDLDeclarations().
Definition at line 97 of file vhdldocgen.cpp.
References DString::find(), DString::left(), DString::npos, and DString::remove().
Referenced by writeUCFLink().
|
static |
Definition at line 89 of file vhdldocgen.cpp.
References OutputList::codeGenerators(), and OutputCodeList::startFontClass().
Referenced by VhdlDocGen::writeFormatString(), VhdlDocGen::writeFuncProcDocu(), VhdlDocGen::writeFunctionProto(), VhdlDocGen::writeProcedureProto(), and VhdlDocGen::writeStringLink().
|
static |
Definition at line 81 of file vhdldocgen.cpp.
References Definition::anchor(), Definition::getOutputFileBase(), Definition::getReference(), Definition::name(), and OutputList::writeObjectLink().
Referenced by VhdlDocGen::writeRecordUnit(), VhdlDocGen::writeSource(), VhdlDocGen::writeStringLink(), writeUCFLink(), VhdlDocGen::writeVHDLDeclaration(), and VhdlDocGen::writeVHDLTypeDocumentation().
|
static |
Definition at line 2022 of file vhdldocgen.cpp.
References MemberDef::argsString(), DString::contains(), OutputList::docify(), VhdlDocGen::formatString(), OutputList::insertMemberAlign(), DString::length(), Definition::name(), splitString(), writeLink(), and OutputList::writeString().
Referenced by VhdlDocGen::writeVHDLDeclaration().
| struct [struct].flowCol flowCol |
Referenced by FlowChart::buildCommentNodes(), FlowChart::writeEdge(), and FlowChart::writeShape().
| std::vector<FlowChart> flowList |
Definition at line 2532 of file vhdldocgen.cpp.
Referenced by FlowChart::addFlowChart(), FlowChart::buildCommentNodes(), FlowChart::colTextNodes(), FlowChart::delFlowList(), FlowChart::findLabel(), FlowChart::findNextLoop(), FlowChart::findNode(), FlowChart::findPrevLoop(), FlowChart::getNextIfLink(), FlowChart::getNextNode(), FlowChart::printFlowTree(), FlowChart::printUmlTree(), FlowChart::writeFlowChart(), and FlowChart::writeFlowLinks().
|
static |
Definition at line 67 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::getFlowMember(), and VhdlDocGen::setFlowMember().
|
static |
Definition at line 206 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::findMemberDef(), and VhdlDocGen::resetCodeVhdlParserState().
Definition at line 207 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::findAllPackages(), VhdlDocGen::findMember(), and VhdlDocGen::resetCodeVhdlParserState().
|
static |
Definition at line 205 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::findMemberDef(), and VhdlDocGen::resetCodeVhdlParserState().
|
static |
Definition at line 117 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::findKeyWord().
|
static |
Definition at line 143 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::findKeyWord().
|
static |
Definition at line 151 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::findKeyWord().
|
static |
Definition at line 157 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::findKeyWord().
|
static |
Definition at line 204 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::findAllPackages(), VhdlDocGen::findMember(), VhdlDocGen::findMemberDef(), and VhdlDocGen::resetCodeVhdlParserState().
|
static |
Definition at line 2505 of file vhdldocgen.cpp.
Referenced by FlowChart::delFlowList(), FlowChart::FlowChart(), and FlowChart::moveToPrevLevel().
|
static |
Definition at line 2373 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::createFlowChart(), and findMemFlow().
|
static |
Definition at line 2506 of file vhdldocgen.cpp.
Referenced by FlowChart::delFlowList(), and FlowChart::FlowChart().
|
static |
Definition at line 729 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::getRecordNumber().