Crossfire Server, Trunk
inja::LiteralNode Class Reference

#include <inja.hpp>

+ Inheritance diagram for inja::LiteralNode:
+ Collaboration diagram for inja::LiteralNode:

Public Member Functions

void accept (NodeVisitor &v) const
 
 LiteralNode (const nlohmann::json &value, size_t pos)
 
- Public Member Functions inherited from inja::ExpressionNode
 ExpressionNode (size_t pos)
 
- Public Member Functions inherited from inja::AstNode
 AstNode (size_t pos)
 
virtual ~AstNode ()
 

Data Fields

const nlohmann::json value
 
- Data Fields inherited from inja::AstNode
size_t pos
 

Detailed Description

Definition at line 2466 of file inja.hpp.

Constructor & Destructor Documentation

◆ LiteralNode()

inja::LiteralNode::LiteralNode ( const nlohmann::json value,
size_t  pos 
)
inlineexplicit

Definition at line 2470 of file inja.hpp.

Member Function Documentation

◆ accept()

void inja::LiteralNode::accept ( NodeVisitor v) const
inlinevirtual

Reimplemented from inja::ExpressionNode.

Definition at line 2472 of file inja.hpp.

References inja::NodeVisitor::visit().

+ Here is the call graph for this function:

Field Documentation

◆ value

const nlohmann::json inja::LiteralNode::value

Definition at line 2468 of file inja.hpp.

Referenced by inja::Renderer::visit().


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