Inja 3.4.0
A Template Engine for Modern C++
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
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
 
- Public Member Functions inherited from inja::StatementNode
 StatementNode (size_t pos)
 
virtual void accept (NodeVisitor &v) const =0
 
- Public Member Functions inherited from inja::AstNode
virtual void accept (NodeVisitor &v) const =0
 
 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
inlinevirtual

Implements inja::StatementNode.


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