My Project
|
#include <docparser.h>
Public Member Functions | |
DocParBlock (DocNode *parent) | |
int | parse () |
Kind | kind () const |
void | accept (DocVisitor *v) |
Public Member Functions inherited from CompAccept< DocParBlock > | |
CompAccept () | |
virtual | ~CompAccept () |
void | accept (DocParBlock *obj, DocVisitor *v) |
const QList< DocNode > & | children () const |
QList< DocNode > & | children () |
Public Member Functions inherited from DocNode | |
DocNode () | |
virtual | ~DocNode () |
DocNode * | parent () const |
void | setParent (DocNode *parent) |
bool | isPreformatted () const |
Node representing an block of paragraphs
Definition at line 1002 of file docparser.h.
|
inline |
Definition at line 1005 of file docparser.h.
References DocNode::m_parent, and DocNode::parent().
|
inlinevirtual |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 1008 of file docparser.h.
References CompAccept< T >::accept().
|
inlinevirtual |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 1007 of file docparser.h.
References DocNode::Kind_ParBlock.
int DocParBlock::parse | ( | ) |
Definition at line 4316 of file docparser.cpp.
References DBG, g_nodeStack, CompAccept< DocParBlock >::m_children, DocPara::markFirst(), DocPara::markLast(), DocPara::parse(), RetVal_EndBlockQuote, RetVal_OK, and TK_NEWPARA.
Referenced by DocPara::handleCommand().