MQTTSuite
Loading...
Searching...
No Matches
inja::BlockStatementNode Class Reference

#include <inja.hpp>

Inheritance diagram for inja::BlockStatementNode:
Collaboration diagram for inja::BlockStatementNode:

Public Member Functions

 BlockStatementNode (BlockNode *const parent, const std::string &name, size_t pos)
void accept (NodeVisitor &v) const override
Public Member Functions inherited from inja::StatementNode
 StatementNode (size_t pos)
Public Member Functions inherited from inja::AstNode
 AstNode (size_t pos)
 AstNode (const AstNode &)=default
AstNodeoperator= (const AstNode &)=default
virtual ~AstNode ()

Public Attributes

const std::string name
BlockNode block
BlockNode *const parent
Public Attributes inherited from inja::AstNode
size_t pos

Detailed Description

Definition at line 760 of file inja.hpp.

Constructor & Destructor Documentation

◆ BlockStatementNode()

inja::BlockStatementNode::BlockStatementNode ( BlockNode *const parent,
const std::string & name,
size_t pos )
inlineexplicit

Definition at line 766 of file inja.hpp.

768 , name(name)
769 , parent(parent) {
770 }
size_t pos
Definition inja.hpp:418
const std::string name
Definition inja.hpp:762
BlockNode *const parent
Definition inja.hpp:764
StatementNode(size_t pos)
Definition inja.hpp:655

References name, parent, and inja::StatementNode::StatementNode().

Here is the call graph for this function:

Member Function Documentation

◆ accept()

void inja::BlockStatementNode::accept ( NodeVisitor & v) const
inlineoverridevirtual

Implements inja::StatementNode.

Definition at line 772 of file inja.hpp.

772 {
773 v.visit(*this);
774 }

References inja::NodeVisitor::visit().

Here is the call graph for this function:

Member Data Documentation

◆ block

BlockNode inja::BlockStatementNode::block

◆ name

const std::string inja::BlockStatementNode::name

Definition at line 762 of file inja.hpp.

Referenced by BlockStatementNode(), inja::Renderer::visit(), and inja::Renderer::visit().

◆ parent

BlockNode* const inja::BlockStatementNode::parent

Definition at line 764 of file inja.hpp.

Referenced by BlockStatementNode(), and inja::Parser::parse_statement().


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