Crossfire Server, Trunk
inja::JsonNode Class Reference

#include <inja.hpp>

+ Inheritance diagram for inja::JsonNode:
+ Collaboration diagram for inja::JsonNode:

Public Member Functions

void accept (NodeVisitor &v) const
 
 JsonNode (nonstd::string_view ptr_name, 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 ()
 

Static Public Member Functions

static std::string convert_dot_to_json_ptr (nonstd::string_view ptr_name)
 

Data Fields

const std::string name
 
const json::json_pointer ptr
 
- Data Fields inherited from inja::AstNode
size_t pos
 

Detailed Description

Definition at line 2477 of file inja.hpp.

Constructor & Destructor Documentation

◆ JsonNode()

inja::JsonNode::JsonNode ( nonstd::string_view  ptr_name,
size_t  pos 
)
inlineexplicit

Definition at line 2493 of file inja.hpp.

Member Function Documentation

◆ accept()

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

Reimplemented from inja::ExpressionNode.

Definition at line 2495 of file inja.hpp.

References inja::NodeVisitor::visit().

+ Here is the call graph for this function:

◆ convert_dot_to_json_ptr()

static std::string inja::JsonNode::convert_dot_to_json_ptr ( nonstd::string_view  ptr_name)
inlinestatic

Definition at line 2482 of file inja.hpp.

References rotate-tower::result, and split().

+ Here is the call graph for this function:

Field Documentation

◆ name

const std::string inja::JsonNode::name

Definition at line 2479 of file inja.hpp.

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

◆ ptr

const json::json_pointer inja::JsonNode::ptr

Definition at line 2480 of file inja.hpp.

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


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