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

#include <inja.hpp>

Inheritance diagram for inja::ForObjectStatementNode:
Collaboration diagram for inja::ForObjectStatementNode:

Public Member Functions

 ForObjectStatementNode (const std::string &key, 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 key
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 690 of file inja.hpp.

Constructor & Destructor Documentation

◆ ForObjectStatementNode()

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

Definition at line 695 of file inja.hpp.

697 , key(key)
698 , value(value) {
699 }
size_t pos
Definition inja.hpp:418
const std::string key
Definition inja.hpp:692
const std::string value
Definition inja.hpp:693
ForStatementNode(BlockNode *const parent, size_t pos)
Definition inja.hpp:668
BlockNode *const parent
Definition inja.hpp:666

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

Here is the call graph for this function:

Member Function Documentation

◆ accept()

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

Implements inja::ForStatementNode.

Definition at line 701 of file inja.hpp.

701 {
702 v.visit(*this);
703 }

References inja::NodeVisitor::visit().

Here is the call graph for this function:

Member Data Documentation

◆ key

const std::string inja::ForObjectStatementNode::key

Definition at line 692 of file inja.hpp.

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

◆ value

const std::string inja::ForObjectStatementNode::value

Definition at line 693 of file inja.hpp.

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


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