|
Doxygen
|
#include <stdio.h>#include <stdlib.h>#include <assert.h>#include <string.h>#include <map>#include <algorithm>#include <unordered_set>#include <mutex>#include "dstring.h"#include "vhdldocgen.h"#include "message.h"#include "config.h"#include "doxygen.h"#include "util.h"#include "stringutil.h"#include "language.h"#include "commentscan.h"#include "definition.h"#include "searchindex.h"#include "outputlist.h"#include "parserintf.h"#include "layout.h"#include "arguments.h"#include "portable.h"#include "memberlist.h"#include "memberdef.h"#include "groupdef.h"#include "classlist.h"#include "namespacedef.h"#include "filename.h"#include "membergroup.h"#include "membername.h"#include "plantuml.h"#include "vhdljjparser.h"#include "VhdlParser.h"#include "regex.h"#include "textstream.h"#include "moduledef.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 2496 of file vhdldocgen.cpp.
Referenced by FlowChart::writeShape().
| #define EE (FlowChart::ELSE_NO | FlowChart::ELSIF_NO) |
Definition at line 2508 of file vhdldocgen.cpp.
| #define EEND (FlowChart::ENDIF_NO | FlowChart::ELSE_NO ) |
Definition at line 2504 of file vhdldocgen.cpp.
Referenced by FlowChart::writeFlowLinks(), and FlowChart::writeShape().
| #define EMPTNODE (ENDCL | EEND | FlowChart::ELSIF_NO) |
Definition at line 2509 of file vhdldocgen.cpp.
Referenced by FlowChart::printNode().
| #define EMPTY (EEND | FlowChart::ELSIF_NO) |
Definition at line 2507 of file vhdldocgen.cpp.
Referenced by FlowChart::colTextNodes().
| #define ENDCL (FlowChart::END_CASE | FlowChart::END_LOOP) |
Definition at line 2503 of file vhdldocgen.cpp.
Referenced by FlowChart::writeShape().
| #define EXITNEXT (FlowChart::EXIT_NO | FlowChart::NEXT_NO ) |
Definition at line 2506 of file vhdldocgen.cpp.
Referenced by FlowChart::writeShape().
| #define FLOWLEN (flowList.size()-1) |
Definition at line 2510 of file vhdldocgen.cpp.
Referenced by FlowChart::buildCommentNodes(), FlowChart::getNextNode(), and FlowChart::printUmlTree().
| #define IFF (FlowChart::ELSIF_NO | FlowChart::IF_NO) |
Definition at line 2505 of file vhdldocgen.cpp.
Referenced by FlowChart::colTextNodes(), FlowChart::writeFlowLinks(), and FlowChart::writeShape().
| #define LOOP |
Definition at line 2501 of file vhdldocgen.cpp.
Referenced by FlowChart::findLabel(), FlowChart::findPrevLoop(), and FlowChart::writeShape().
| #define STARTFIN (FlowChart::START_NO | FlowChart::END_NO) |
Definition at line 2500 of file vhdldocgen.cpp.
Referenced by FlowChart::writeShape().
| #define STARTL |
Definition at line 2493 of file vhdldocgen.cpp.
Referenced by FlowChart::FlowChart(), FlowChart::printNode(), and FlowChart::writeEdge().
| #define theTranslator_vhdlType theTranslator->trVhdlType |
Definition at line 67 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::getClassTitle(), VhdlDocGen::writeInlineClassLink(), VhdlDocGen::writeVHDLDeclaration(), and VhdlDocGen::writeVhdlDeclarations().
|
static |
Definition at line 2184 of file vhdldocgen.cpp.
References LinkedMap< T, Hash, KeyEqual, Map >::add(), VhdlDocGen::addBaseClass(), addInstance(), TagInfo::anchor, createMemberDef(), DString::DString(), 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 addInstance(), and VhdlDocGen::computeVhdlComponentRelations().
|
static |
Definition at line 2545 of file vhdldocgen.cpp.
References alignText(), DString::append(), DString::left(), DString::length(), DString::npos, DString::remove(), DString::resize(), and DString::rfind().
Referenced by alignText(), and FlowChart::writeShape().
Definition at line 116 of file vhdldocgen.cpp.
References compareString(), dstricmp(), and DString::stripWhiteSpace().
Referenced by compareString(), and VhdlDocGen::findFunction().
Definition at line 2382 of file vhdldocgen.cpp.
References findMemFlow(), Definition::getStartBodyLine(), mdList, and Definition::name().
Referenced by VhdlDocGen::createFlowChart(), and findMemFlow().
|
static |
Definition at line 413 of file vhdldocgen.cpp.
References ARCHITECTURE, VhdlDocGen::ARCHITECTURECLASS, VhdlDocGen::convert(), ENTITY, VhdlDocGen::ENTITYCLASS, getSpecifierTypeFromClass(), PACKAGE, PACKAGE_BODY, VhdlDocGen::PACKAGECLASS, VhdlDocGen::PACKBODYCLASS, ClassDef::protection(), and UNKNOWN.
Referenced by VhdlDocGen::getClassTitle(), getSpecifierTypeFromClass(), VhdlDocGen::writeClassType(), and VhdlDocGen::writeInlineClassLink().
|
static |
Definition at line 1972 of file vhdldocgen.cpp.
References DString::append(), DString::clear(), VhdlDocGen::deleteAllChars(), DString::empty(), findIndex(), VhdlDocGen::getRecordNumber(), initUCF(), DString::left(), Entry::moveToSubEntryAndKeep(), DString::remove(), DString::str(), DString::stripPrefix(), DString::stripWhiteSpace(), and UCF_CONST.
Referenced by initUCF(), and VhdlDocGen::parseUCF().
|
static |
Definition at line 1727 of file vhdldocgen.cpp.
References MemberList::getMemberGroupList(), and membersHaveSpecificType().
Referenced by membersHaveSpecificType(), and VhdlDocGen::writeVHDLDeclarations().
Definition at line 104 of file vhdldocgen.cpp.
References DString::find(), DString::left(), DString::npos, DString::remove(), and splitString().
Referenced by splitString(), and writeUCFLink().
|
static |
Definition at line 96 of file vhdldocgen.cpp.
References OutputList::codeGenerators(), OutputCodeList::startFontClass(), and startFonts().
Referenced by startFonts(), VhdlDocGen::writeFormatString(), VhdlDocGen::writeFuncProcDocu(), VhdlDocGen::writeFunctionProto(), VhdlDocGen::writeProcedureProto(), and VhdlDocGen::writeStringLink().
|
static |
Definition at line 88 of file vhdldocgen.cpp.
References Definition::anchor(), Definition::getOutputFileBase(), Definition::getReference(), Definition::name(), writeLink(), and OutputList::writeObjectLink().
Referenced by writeLink(), VhdlDocGen::writeRecordUnit(), VhdlDocGen::writeSource(), VhdlDocGen::writeStringLink(), writeUCFLink(), VhdlDocGen::writeVHDLDeclaration(), and VhdlDocGen::writeVHDLTypeDocumentation().
|
static |
Definition at line 2029 of file vhdldocgen.cpp.
References MemberDef::argsString(), DString::contains(), OutputList::docify(), VhdlDocGen::formatString(), OutputList::insertMemberAlign(), DString::length(), Definition::name(), splitString(), writeLink(), OutputList::writeString(), and writeUCFLink().
Referenced by writeUCFLink(), and VhdlDocGen::writeVHDLDeclaration().
| struct [struct].flowCol flowCol |
Referenced by FlowChart::buildCommentNodes(), FlowChart::writeEdge(), and FlowChart::writeShape().
| std::vector<FlowChart> flowList |
Definition at line 2539 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 74 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::getFlowMember(), and VhdlDocGen::setFlowMember().
|
static |
Definition at line 213 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::findMemberDef(), and VhdlDocGen::resetCodeVhdlParserState().
Definition at line 214 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::findAllPackages(), VhdlDocGen::findMember(), and VhdlDocGen::resetCodeVhdlParserState().
|
static |
Definition at line 212 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::findMemberDef(), and VhdlDocGen::resetCodeVhdlParserState().
|
static |
Definition at line 124 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::findKeyWord().
|
static |
Definition at line 150 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::findKeyWord().
|
static |
Definition at line 158 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::findKeyWord().
|
static |
Definition at line 164 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::findKeyWord().
|
static |
Definition at line 211 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::findAllPackages(), VhdlDocGen::findMember(), VhdlDocGen::findMemberDef(), and VhdlDocGen::resetCodeVhdlParserState().
|
static |
Definition at line 2512 of file vhdldocgen.cpp.
Referenced by FlowChart::delFlowList(), FlowChart::FlowChart(), and FlowChart::moveToPrevLevel().
|
static |
Definition at line 2380 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::createFlowChart(), and findMemFlow().
|
static |
Definition at line 2513 of file vhdldocgen.cpp.
Referenced by FlowChart::delFlowList(), and FlowChart::FlowChart().
|
static |
Definition at line 736 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::getRecordNumber().