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

#include <inja.hpp>

Inheritance diagram for inja::ForArrayStatementNode:
Collaboration diagram for inja::ForArrayStatementNode:

Public Member Functions

 ForArrayStatementNode (const std::string &value, BlockNode *const parent, size_t pos)
void accept (NodeVisitor &v) const override
Public Member Functions inherited from inja::ForStatementNode
 ForStatementNode (BlockNode *const parent, size_t pos)
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 value
Public Attributes inherited from inja::ForStatementNode
ExpressionListNode condition
BlockNode body
BlockNode *const parent
Public Attributes inherited from inja::AstNode
size_t pos

Detailed Description

Definition at line 676 of file inja.hpp.

Constructor & Destructor Documentation

◆ ForArrayStatementNode()

inja::ForArrayStatementNode::ForArrayStatementNode ( const std::string & value,
BlockNode *const parent,
size_t pos )
inlineexplicit

Definition at line 680 of file inja.hpp.

682 , value(value) {
683 }
size_t pos
Definition inja.hpp:418
const std::string value
Definition inja.hpp:678
ForStatementNode(BlockNode *const parent, size_t pos)
Definition inja.hpp:668
BlockNode *const parent
Definition inja.hpp:666

References inja::ForStatementNode::ForStatementNode(), and value.

Here is the call graph for this function:

Member Function Documentation

◆ accept()

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

Implements inja::ForStatementNode.

Definition at line 685 of file inja.hpp.

685 {
686 v.visit(*this);
687 }

References inja::NodeVisitor::visit().

Here is the call graph for this function:

Member Data Documentation

◆ value

const std::string inja::ForArrayStatementNode::value

Definition at line 678 of file inja.hpp.

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


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