MQTTSuite
Loading...
Searching...
No Matches
inja::ForStatementNode Class Referenceabstract

#include <inja.hpp>

Inheritance diagram for inja::ForStatementNode:
Collaboration diagram for inja::ForStatementNode:

Public Member Functions

 ForStatementNode (BlockNode *const parent, size_t pos)
virtual void accept (NodeVisitor &v) const override=0
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

ExpressionListNode condition
BlockNode body
BlockNode *const parent
Public Attributes inherited from inja::AstNode
size_t pos

Detailed Description

Definition at line 662 of file inja.hpp.

Constructor & Destructor Documentation

◆ ForStatementNode()

inja::ForStatementNode::ForStatementNode ( BlockNode *const parent,
size_t pos )
inline

Definition at line 668 of file inja.hpp.

670 , parent(parent) {
671 }
size_t pos
Definition inja.hpp:418
BlockNode *const parent
Definition inja.hpp:666
StatementNode(size_t pos)
Definition inja.hpp:655

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

Referenced by inja::ForArrayStatementNode::ForArrayStatementNode(), and inja::ForObjectStatementNode::ForObjectStatementNode().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ accept()

virtual void inja::ForStatementNode::accept ( NodeVisitor & v) const
overridepure virtual

Member Data Documentation

◆ body

◆ condition

◆ parent

BlockNode* const inja::ForStatementNode::parent

Definition at line 666 of file inja.hpp.

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


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