#include <stdlib.h>
#include <stack>
#include <fstream>
#include <iostream>
#include "perlmodgen.h"
#include "docparser.h"
#include "message.h"
#include "doxygen.h"
#include "pagedef.h"
#include "memberlist.h"
#include "arguments.h"
#include "config.h"
#include "groupdef.h"
#include "classdef.h"
#include "classlist.h"
#include "filename.h"
#include "membername.h"
#include "namespacedef.h"
#include "membergroup.h"
#include "section.h"
#include "util.h"
#include "htmlentity.h"
#include "emoji.h"
#include "dir.h"
浏览源代码.
|
static void | addTemplateArgumentList (const ArgumentList &al, PerlModOutput &output, const QCString &) |
|
static void | addTemplateList (const ClassDef *cd, PerlModOutput &output) |
|
static void | addTemplateList (const ConceptDef *cd, PerlModOutput &output) |
|
static void | addPerlModDocBlock (PerlModOutput &output, const QCString &name, const QCString &fileName, int lineNr, const Definition *scope, const MemberDef *md, const QCString &text) |
|
static const char * | getProtectionName (Protection prot) |
|
static const char * | getVirtualnessName (Specifier virt) |
|
void | setPerlModDoxyfile (const QCString &qs) |
|
void | generatePerlMod () |
|
◆ PERLOUTPUT_MAX_INDENTATION
#define PERLOUTPUT_MAX_INDENTATION 40 |
◆ addPerlModDocBlock()
在文件 perlmodgen.cpp 第 1458 行定义.
1475 auto visitor = std::make_unique<PerlModDocVisitor>(output);
1476 root->accept(visitor.get());
引用了 PerlModOutput::add(), PerlModOutput::addField(), PerlModOutput::closeHash(), Config_getBool, createDocParser(), FALSE, QCString::isEmpty(), PerlModOutput::openHash(), QCString::stripWhiteSpace() , 以及 validatingParseDoc().
被这些函数引用 PerlModGenerator::generatePerlModForClass(), PerlModGenerator::generatePerlModForConcept(), PerlModGenerator::generatePerlModForFile(), PerlModGenerator::generatePerlModForGroup(), PerlModGenerator::generatePerlModForMember(), PerlModGenerator::generatePerlModForNamespace() , 以及 PerlModGenerator::generatePerlModForPage().
◆ addTemplateArgumentList()
◆ addTemplateList() [1/2]
◆ addTemplateList() [2/2]
◆ generatePerlMod()
◆ getProtectionName()
static const char* getProtectionName |
( |
Protection |
prot | ) |
|
|
static |
◆ getVirtualnessName()
static const char* getVirtualnessName |
( |
Specifier |
virt | ) |
|
|
static |
◆ setPerlModDoxyfile()
void setPerlModDoxyfile |
( |
const QCString & |
qs | ) |
|
◆ pathDoxyExec
◆ pathDoxyfile
PerlModOutput & add(char c)
static std::string currentDirPath()
PerlModOutput & addFieldQuotedString(const QCString &field, const QCString &content)
PerlModOutput & closeList()
bool isEmpty() const
Returns TRUE iff the string is empty
PerlModOutput & openHash(const QCString &s=QCString())
bool hasParameters() const
static void addTemplateArgumentList(const ArgumentList &al, PerlModOutput &output, const QCString &)
PerlModOutput & closeHash()
QCString stripWhiteSpace() const
returns a copy of this string with leading and trailing whitespace removed
virtual ArgumentList getTemplateParameterList() const =0
PerlModOutput & addField(const QCString &s)
virtual QCString name() const =0
This class contains the information about the argument of a function or template
DocRoot * validatingParseDoc(IDocParser &parserIntf, const QCString &fileName, int startLine, const Definition *ctx, const MemberDef *md, const QCString &input, bool indexWords, bool isExample, const QCString &exampleName, bool singleLine, bool linkFromIndex, bool markdownSupport)
static QCString pathDoxyfile
PerlModOutput & openList(const QCString &s=QCString())
#define Config_getBool(name)
virtual const ArgumentList & templateArguments() const =0
Returns the template arguments of this class
static QCString pathDoxyExec
std::unique_ptr< IDocParser > createDocParser()
This is an alternative implementation of QCString.