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

#include <inja.hpp>

Inheritance diagram for inja::SetStatementNode:
Collaboration diagram for inja::SetStatementNode:

Public Member Functions

 SetStatementNode (const std::string &key, 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 key
ExpressionListNode expression
Public Attributes inherited from inja::AstNode
size_t pos

Detailed Description

Definition at line 777 of file inja.hpp.

Constructor & Destructor Documentation

◆ SetStatementNode()

inja::SetStatementNode::SetStatementNode ( const std::string & key,
size_t pos )
inlineexplicit

Definition at line 782 of file inja.hpp.

784 , key(key) {
785 }
size_t pos
Definition inja.hpp:418
const std::string key
Definition inja.hpp:779
StatementNode(size_t pos)
Definition inja.hpp:655

References key, and inja::StatementNode::StatementNode().

Here is the call graph for this function:

Member Function Documentation

◆ accept()

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

Implements inja::StatementNode.

Definition at line 787 of file inja.hpp.

787 {
788 v.visit(*this);
789 }

References inja::NodeVisitor::visit().

Here is the call graph for this function:

Member Data Documentation

◆ expression

ExpressionListNode inja::SetStatementNode::expression

Definition at line 780 of file inja.hpp.

Referenced by inja::Parser::parse_statement(), and inja::Renderer::visit().

◆ key

const std::string inja::SetStatementNode::key

Definition at line 779 of file inja.hpp.

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


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