Inja 3.5.0
A Template Engine for Modern C++
Loading...
Searching...
No Matches
inja::IfStatementNode Class Reference
Inheritance diagram for inja::IfStatementNode:
inja::StatementNode inja::AstNode

Public Member Functions

 IfStatementNode (BlockNode *const parent, size_t pos)
 IfStatementNode (bool is_nested, BlockNode *const parent, 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)

Public Attributes

ExpressionListNode condition
BlockNode true_statement
BlockNode false_statement
BlockNode *const parent
const bool is_nested
bool has_false_statement {false}
Public Attributes inherited from inja::AstNode
size_t pos

Member Function Documentation

◆ accept()

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

Implements inja::StatementNode.


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