Doxygen
|
Node representing a simple section title. More...
#include <src/docnode.h>
Public Member Functions | |
DocTitle (DocParser *parser, DocNodeVariant *parent) | |
void | parse () |
void | parseFromString (DocNodeVariant *, const QCString &title) |
bool | hasTitle () const |
Public Member Functions inherited from DocCompoundNode | |
DocCompoundNode (DocParser *parser, DocNodeVariant *parent) | |
DocNodeList & | children () |
const DocNodeList & | children () const |
Public Member Functions inherited from DocNode | |
DocNode (DocParser *parser, DocNodeVariant *parent) | |
~DocNode ()=default | |
DocNodeVariant * | parent () |
const DocNodeVariant * | parent () const |
DocNodeVariant * | thisVariant () |
const DocNodeVariant * | thisVariant () const |
void | setThisVariant (DocNodeVariant *thisVariant) |
DocParser * | parser () |
const DocParser * | parser () const |
void | setParent (DocNodeVariant *parent) |
bool | isPreformatted () const |
Additional Inherited Members | |
Protected Types inherited from DocNode | |
enum | RefType { Unknown , Anchor , Section , Table } |
Protected Member Functions inherited from DocNode | |
void | setInsidePreformatted (bool p) |
|
inline |
Definition at line 591 of file docnode.h.
References DocCompoundNode::DocCompoundNode(), DocNode::parent(), and DocNode::parser().
|
inline |
Definition at line 594 of file docnode.h.
References DocCompoundNode::children(), and GrowVector< T >::empty().
Referenced by DocbookDocVisitor::operator()().
void DocTitle::parse | ( | ) |
Definition at line 2855 of file docnode.cpp.
References AUTO_TRACE, DocCompoundNode::children(), DocParser::errorHandleDefaultToken(), DocParser::handlePendingStyleCommands(), Token::is_any_of(), DocTokenizer::lex(), DocNode::parser(), DocTokenizer::setStatePara(), DocTokenizer::setStateTitle(), DocNode::thisVariant(), and DocParser::tokenizer.
void DocTitle::parseFromString | ( | DocNodeVariant * | parent, |
const QCString & | title ) |
Definition at line 2873 of file docnode.cpp.
References DocCompoundNode::children(), DocParser::context, FALSE, flattenParagraphs(), DocParserContext::insideHtmlLink, DocParser::internalValidatingParseDoc(), DocNode::parent(), DocNode::parser(), DocParser::popContext(), DocParser::pushContext(), DocTokenizer::setStatePara(), DocNode::thisVariant(), DocParser::tokenizer, and TRUE.