Skip to main content

The DocVhdlFlow Class Reference

Node representing a VHDL flow chart. More...

Declaration

class DocVhdlFlow { ... }

Included Headers

#include <src/docnode.h>

Base class

classDocCompoundNode

Base class for nodes with children. More...

Public Constructors Index

DocVhdlFlow (DocParser *parser, DocNodeVariant *parent)

Public Member Functions Index

voidparse ()
boolhasCaption () const

Description

Node representing a VHDL flow chart.

Definition at line 748 of file docnode.h.

Public Constructors

DocVhdlFlow()

DocVhdlFlow::DocVhdlFlow (DocParser * parser, DocNodeVariant * parent)

Declaration at line 751 of file docnode.h, definition at line 1251 of file docnode.cpp.

References DocCompoundNode::DocCompoundNode, DocNode::parent and DocNode::parser.

Public Member Functions

hasCaption()

bool DocVhdlFlow::hasCaption ()
inline

Definition at line 753 of file docnode.h.

753 bool hasCaption() const { return !children().empty(); }

References DocCompoundNode::children and GrowVector< T >::empty.

Referenced by HtmlDocVisitor::operator().

parse()

void DocVhdlFlow::parse ()

Declaration at line 752 of file docnode.h, definition at line 1255 of file docnode.cpp.

1256{
1257 AUTO_TRACE();
1258 auto ns = AutoNodeStack(parser(),thisVariant());
1259
1261 Token tok = parser()->tokenizer.lex();
1262 while (!tok.is_any_of(TokenRetval::TK_NONE, TokenRetval::TK_EOF))
1263 {
1264 if (!parser()->defaultHandleToken(thisVariant(),tok,children()))
1265 {
1266 parser()->errorHandleDefaultToken(thisVariant(),tok,children(),"\\vhdlflow");
1267 }
1268 tok = parser()->tokenizer.lex();
1269 }
1270 parser()->tokenizer.lex();
1271
1274
1275 VhdlDocGen::createFlowChart(parser()->context.memberDef);
1276}

References AUTO_TRACE, DocCompoundNode::children, VhdlDocGen::createFlowChart, DocParser::errorHandleDefaultToken, DocParser::handlePendingStyleCommands, Token::is_any_of, DocTokenizer::lex, DocNode::parser, DocTokenizer::setStatePara, DocTokenizer::setStateTitle, DocNode::thisVariant and DocParser::tokenizer.


The documentation for this class was generated from the following files:


Generated via doxygen2docusaurus by Doxygen 1.14.0.