My Project
|
#include <docparser.h>
Public Member Functions | |
DocIncOperator (DocNode *parent, Type t, const QCString &pat, const QCString &context, bool isExample, const QCString &exampleFile) | |
Kind | kind () const |
Type | type () const |
QCString | text () const |
QCString | pattern () const |
QCString | context () const |
void | accept (DocVisitor *v) |
bool | isFirst () const |
bool | isLast () const |
void | markFirst (bool v=TRUE) |
void | markLast (bool v=TRUE) |
bool | isExample () const |
QCString | exampleFile () const |
void | parse () |
Public Member Functions inherited from DocNode | |
DocNode () | |
virtual | ~DocNode () |
DocNode * | parent () const |
void | setParent (DocNode *parent) |
bool | isPreformatted () const |
Private Attributes | |
Type | m_type |
QCString | m_text |
QCString | m_pattern |
QCString | m_context |
bool | m_isFirst |
bool | m_isLast |
bool | m_isExample |
QCString | m_exampleFile |
Additional Inherited Members | |
Protected Member Functions inherited from DocNode | |
void | setInsidePreformatted (bool p) |
Protected Attributes inherited from DocNode | |
DocNode * | m_parent |
Node representing a include/dontinclude operator block
Definition at line 522 of file docparser.h.
enum DocIncOperator::Type |
|
inline |
|
inlinevirtual |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 536 of file docparser.h.
References DocVisitor::visit().
|
inline |
Definition at line 535 of file docparser.h.
References m_context.
Referenced by DocbookDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), and LatexDocVisitor::visit().
|
inline |
Definition at line 542 of file docparser.h.
References m_exampleFile.
Referenced by DocbookDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), and LatexDocVisitor::visit().
|
inline |
Definition at line 541 of file docparser.h.
References m_isExample.
Referenced by DocbookDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), and LatexDocVisitor::visit().
|
inline |
Definition at line 537 of file docparser.h.
References m_isFirst.
Referenced by DocbookDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), and LatexDocVisitor::visit().
|
inline |
Definition at line 538 of file docparser.h.
References m_isLast.
Referenced by DocbookDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), and LatexDocVisitor::visit().
|
inlinevirtual |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 531 of file docparser.h.
References DocNode::Kind_IncOperator.
|
inline |
Definition at line 539 of file docparser.h.
References m_isFirst.
Referenced by DocPara::handleIncludeOperator().
|
inline |
Definition at line 540 of file docparser.h.
References m_isLast.
Referenced by DocPara::handleIncludeOperator().
void DocIncOperator::parse | ( | ) |
Definition at line 1954 of file docparser.cpp.
References DBG, g_includeFileLength, g_includeFileOffset, g_includeFileText, Line, m_pattern, m_text, Skip, SkipLine, type(), and Until.
Referenced by DocPara::handleIncludeOperator().
|
inline |
Definition at line 534 of file docparser.h.
References m_pattern.
Referenced by PrintDocVisitor::visit().
|
inline |
Definition at line 533 of file docparser.h.
References m_text.
Referenced by DocbookDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), and LatexDocVisitor::visit().
|
inline |
Definition at line 532 of file docparser.h.
References m_type.
Referenced by parse(), DocbookDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), LatexDocVisitor::visit(), and PrintDocVisitor::visit().
|
private |
Definition at line 549 of file docparser.h.
Referenced by context().
|
private |
Definition at line 553 of file docparser.h.
Referenced by exampleFile().
|
private |
Definition at line 552 of file docparser.h.
Referenced by isExample().
|
private |
Definition at line 550 of file docparser.h.
Referenced by isFirst(), and markFirst().
|
private |
Definition at line 551 of file docparser.h.
Referenced by isLast(), and markLast().
|
private |
Definition at line 548 of file docparser.h.
|
private |
Definition at line 547 of file docparser.h.
|
private |
Definition at line 546 of file docparser.h.
Referenced by type().