My Project
|
#include <docparser.h>
Public Member Functions | |
DocInclude (DocNode *parent, const QCString &file, const QCString context, Type t, bool isExample, const QCString exampleFile, const QCString blockId) | |
Kind | kind () const |
QCString | file () const |
QCString | extension () const |
Type | type () const |
QCString | text () const |
QCString | context () const |
QCString | blockId () const |
bool | isExample () const |
QCString | exampleFile () const |
void | accept (DocVisitor *v) |
void | parse () |
Public Member Functions inherited from DocNode | |
DocNode () | |
virtual | ~DocNode () |
DocNode * | parent () const |
void | setParent (DocNode *parent) |
bool | isPreformatted () const |
Private Attributes | |
QCString | m_file |
QCString | m_context |
QCString | m_text |
Type | m_type |
bool | m_isExample |
QCString | m_exampleFile |
QCString | m_blockId |
Additional Inherited Members | |
Protected Member Functions inherited from DocNode | |
void | setInsidePreformatted (bool p) |
Protected Attributes inherited from DocNode | |
DocNode * | m_parent |
Node representing an included text block from file
Definition at line 483 of file docparser.h.
enum DocInclude::Type |
Enumerator | |
---|---|
Include | |
DontInclude | |
VerbInclude | |
HtmlInclude | |
LatexInclude | |
IncWithLines | |
Snippet | |
IncludeDoc | |
SnippetDoc |
Definition at line 486 of file docparser.h.
|
inline |
|
inlinevirtual |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 508 of file docparser.h.
References DocVisitor::visit().
|
inline |
Definition at line 505 of file docparser.h.
References m_blockId.
Referenced by DocbookDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), and LatexDocVisitor::visit().
|
inline |
Definition at line 504 of file docparser.h.
References m_context.
Referenced by DocbookDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), LatexDocVisitor::visit(), and PerlModDocVisitor::visit().
|
inline |
Definition at line 507 of file docparser.h.
References m_exampleFile.
Referenced by DocbookDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), LatexDocVisitor::visit(), and PerlModDocVisitor::visit().
|
inline |
Definition at line 496 of file docparser.h.
References m_file.
Referenced by DocbookDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), and LatexDocVisitor::visit().
|
inline |
Definition at line 495 of file docparser.h.
References m_file.
Referenced by DocbookDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), LatexDocVisitor::visit(), PrintDocVisitor::visit(), and PerlModDocVisitor::visit().
|
inline |
Definition at line 506 of file docparser.h.
References m_isExample.
Referenced by DocbookDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), LatexDocVisitor::visit(), and PerlModDocVisitor::visit().
|
inlinevirtual |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 494 of file docparser.h.
References DocNode::Kind_Include.
void DocInclude::parse | ( | ) |
Definition at line 1909 of file docparser.cpp.
References DBG, doctokenizerYYlineno, DontInclude, err(), g_fileName, g_includeFileLength, g_includeFileOffset, g_includeFileText, HtmlInclude, Include, IncludeDoc, IncWithLines, LatexInclude, m_blockId, m_file, m_text, m_type, readTextFileByName(), Snippet, SnippetDoc, VerbInclude, and warn_doc_error().
Referenced by DocPara::handleInclude().
|
inline |
Definition at line 503 of file docparser.h.
References m_text.
Referenced by DocbookDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), LatexDocVisitor::visit(), and PerlModDocVisitor::visit().
|
inline |
Definition at line 502 of file docparser.h.
References m_type.
Referenced by DocbookDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), LatexDocVisitor::visit(), PrintDocVisitor::visit(), and PerlModDocVisitor::visit().
|
private |
Definition at line 518 of file docparser.h.
|
private |
Definition at line 513 of file docparser.h.
Referenced by context().
|
private |
Definition at line 517 of file docparser.h.
Referenced by exampleFile().
|
private |
Definition at line 512 of file docparser.h.
Referenced by extension(), file(), and parse().
|
private |
Definition at line 516 of file docparser.h.
Referenced by isExample().
|
private |
Definition at line 514 of file docparser.h.
|
private |
Definition at line 515 of file docparser.h.