Doxygen
|
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include <map>
#include <algorithm>
#include <unordered_set>
#include <mutex>
#include "qcstring.h"
#include "vhdldocgen.h"
#include "message.h"
#include "config.h"
#include "doxygen.h"
#include "util.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.
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 QCString &type, QCString &qcs, int line, const QCString &fileName, QCString &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 QCString &q, const char *keyword, OutputList &ol) |
static QCString | splitString (QCString &str, char c) |
static int | compareString (const QCString &s1, const QCString &s2) |
static VhdlSpecifier | getSpecifierTypeFromClass (const ClassDef *cd) |
static bool | membersHaveSpecificType (const MemberList *ml, VhdlSpecifier type) |
static const MemberDef * | findMemFlow (const MemberDef *mdef) |
void | alignText (QCString &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 | |
struct { | ||
const char * textNodeLink | ||
const char * yesNodeLink | ||
const char * noNodeLink | ||
const char * comment | ||
const char * decisionNode | ||
const char * varNode | ||
const char * startEndNode | ||
const char * textNode | ||
} | flowCol | |
std::vector< FlowChart > | flowList | |
#define DECLN |
Definition at line 2505 of file vhdldocgen.cpp.
Referenced by FlowChart::writeShape().
#define EE (FlowChart::ELSE_NO | FlowChart::ELSIF_NO) |
Definition at line 2517 of file vhdldocgen.cpp.
#define EEND (FlowChart::ENDIF_NO | FlowChart::ELSE_NO ) |
Definition at line 2513 of file vhdldocgen.cpp.
Referenced by FlowChart::writeFlowLinks(), and FlowChart::writeShape().
#define EMPTNODE (ENDCL | EEND | FlowChart::ELSIF_NO) |
Definition at line 2518 of file vhdldocgen.cpp.
Referenced by FlowChart::printNode().
#define EMPTY (EEND | FlowChart::ELSIF_NO) |
Definition at line 2516 of file vhdldocgen.cpp.
Referenced by FlowChart::colTextNodes().
#define ENDCL (FlowChart::END_CASE | FlowChart::END_LOOP) |
Definition at line 2512 of file vhdldocgen.cpp.
Referenced by FlowChart::writeShape().
#define EXITNEXT (FlowChart::EXIT_NO | FlowChart::NEXT_NO ) |
Definition at line 2515 of file vhdldocgen.cpp.
Referenced by FlowChart::writeShape().
#define FLOWLEN (flowList.size()-1) |
Definition at line 2519 of file vhdldocgen.cpp.
Referenced by FlowChart::buildCommentNodes(), FlowChart::getNextNode(), and FlowChart::printUmlTree().
#define IFF (FlowChart::ELSIF_NO | FlowChart::IF_NO) |
Definition at line 2514 of file vhdldocgen.cpp.
Referenced by FlowChart::colTextNodes(), FlowChart::writeFlowLinks(), and FlowChart::writeShape().
#define LOOP |
Definition at line 2510 of file vhdldocgen.cpp.
Referenced by FlowChart::findLabel(), FlowChart::findPrevLoop(), and FlowChart::writeShape().
#define STARTFIN (FlowChart::START_NO | FlowChart::END_NO) |
Definition at line 2509 of file vhdldocgen.cpp.
Referenced by FlowChart::writeShape().
#define STARTL |
Definition at line 2502 of file vhdldocgen.cpp.
Referenced by FlowChart::FlowChart(), FlowChart::printNode(), and FlowChart::writeEdge().
#define theTranslator_vhdlType theTranslator->trVhdlType |
Definition at line 68 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::getClassTitle(), VhdlDocGen::writeInlineClassLink(), VhdlDocGen::writeVHDLDeclaration(), and VhdlDocGen::writeVhdlDeclarations().
|
static |
Definition at line 2192 of file vhdldocgen.cpp.
References VhdlDocGen::addBaseClass(), TagInfo::anchor, createMemberDef(), TagInfo::fileName, Doxygen::functionNameLinkedMap, Definition::getDefFileName(), ClassDef::getFileDef(), Definition::getOutputFileBase(), ClassDefMutable::insertBaseClass(), ClassDefMutable::insertMember(), ClassDefMutable::insertSubClass(), INSTANTIATION, ClassDef::isBaseClass(), QCString::isEmpty(), VhdlDocGen::isSubClass(), Member, Definition::name(), Normal, Public, MemberName::push_back(), DefinitionMutable::setBodyDef(), DefinitionMutable::setLanguage(), TagInfo::tagName, toMemberDefMutable(), Variable, and VHDL.
Referenced by VhdlDocGen::computeVhdlComponentRelations().
void alignText | ( | QCString & | q | ) |
Definition at line 2554 of file vhdldocgen.cpp.
References QCString::append(), QCString::findRev(), QCString::left(), QCString::length(), QCString::remove(), and QCString::resize().
Referenced by FlowChart::writeShape().
Definition at line 117 of file vhdldocgen.cpp.
References qstricmp(), and QCString::stripWhiteSpace().
Referenced by VhdlDocGen::findFunction().
Definition at line 2391 of file vhdldocgen.cpp.
References Definition::getStartBodyLine(), mdList, and Definition::name().
Referenced by VhdlDocGen::createFlowChart().
|
static |
Definition at line 414 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 1975 of file vhdldocgen.cpp.
References QCString::append(), QCString::clear(), VhdlDocGen::deleteAllChars(), findIndex(), VhdlDocGen::getRecordNumber(), QCString::isEmpty(), QCString::left(), Entry::moveToSubEntryAndKeep(), QCString::remove(), QCString::str(), QCString::stripPrefix(), QCString::stripWhiteSpace(), UCF_CONST, and VHDL.
Referenced by VhdlDocGen::parseUCF().
|
static |
Definition at line 1725 of file vhdldocgen.cpp.
References FALSE, MemberList::getMemberGroupList(), membersHaveSpecificType(), and TRUE.
Referenced by membersHaveSpecificType(), and VhdlDocGen::writeVHDLDeclarations().
Definition at line 105 of file vhdldocgen.cpp.
References QCString::find(), QCString::left(), and QCString::remove().
Referenced by writeUCFLink().
|
static |
Definition at line 97 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 89 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 2032 of file vhdldocgen.cpp.
References MemberDef::argsString(), QCString::contains(), OutputList::docify(), VhdlDocGen::formatString(), OutputList::insertMemberAlign(), QCString::length(), Definition::name(), splitString(), writeLink(), and OutputList::writeString().
Referenced by VhdlDocGen::writeVHDLDeclaration().
const char* comment |
Definition at line 2532 of file vhdldocgen.cpp.
Referenced by codifyLines(), CommentScanner::parseCommentBlock(), VhdlDocGen::parseUCF(), and writeObjCMethodCall().
const char* decisionNode |
Definition at line 2533 of file vhdldocgen.cpp.
struct { ... } flowCol |
Referenced by FlowChart::buildCommentNodes(), FlowChart::writeEdge(), and FlowChart::writeShape().
std::vector<FlowChart> flowList |
Definition at line 2548 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 75 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::getFlowMember(), and VhdlDocGen::setFlowMember().
|
static |
Definition at line 214 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::findMemberDef(), and VhdlDocGen::resetCodeVhdlParserState().
Definition at line 215 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::findAllPackages(), VhdlDocGen::findMember(), and VhdlDocGen::resetCodeVhdlParserState().
|
static |
Definition at line 213 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::findMemberDef(), and VhdlDocGen::resetCodeVhdlParserState().
|
static |
Definition at line 125 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 159 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::findKeyWord().
|
static |
Definition at line 165 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::findKeyWord().
|
static |
Definition at line 212 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::findAllPackages(), VhdlDocGen::findMember(), VhdlDocGen::findMemberDef(), and VhdlDocGen::resetCodeVhdlParserState().
|
static |
Definition at line 2521 of file vhdldocgen.cpp.
Referenced by FlowChart::delFlowList(), FlowChart::FlowChart(), and FlowChart::moveToPrevLevel().
|
static |
Definition at line 2389 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::createFlowChart(), and findMemFlow().
|
static |
Definition at line 2522 of file vhdldocgen.cpp.
Referenced by FlowChart::delFlowList(), and FlowChart::FlowChart().
const char* noNodeLink |
Definition at line 2529 of file vhdldocgen.cpp.
|
static |
Definition at line 738 of file vhdldocgen.cpp.
Referenced by VhdlDocGen::getRecordNumber().
const char* startEndNode |
Definition at line 2535 of file vhdldocgen.cpp.
const char* textNode |
Definition at line 2536 of file vhdldocgen.cpp.
const char* textNodeLink |
Definition at line 2527 of file vhdldocgen.cpp.
const char* varNode |
Definition at line 2534 of file vhdldocgen.cpp.
const char* yesNodeLink |
Definition at line 2528 of file vhdldocgen.cpp.