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

Base node class for the abstract syntax tree (AST). More...

#include <inja.hpp>

Inheritance diagram for inja::AstNode:
Collaboration diagram for inja::AstNode:

Public Member Functions

virtual void accept (NodeVisitor &v) const =0
 AstNode (size_t pos)
 AstNode (const AstNode &)=default
AstNodeoperator= (const AstNode &)=default
virtual ~AstNode ()

Public Attributes

size_t pos

Detailed Description

Base node class for the abstract syntax tree (AST).

Definition at line 414 of file inja.hpp.

Constructor & Destructor Documentation

◆ AstNode() [1/2]

inja::AstNode::AstNode ( size_t pos)
inline

Definition at line 420 of file inja.hpp.

421 : pos(pos) {
422 }
size_t pos
Definition inja.hpp:418

References pos.

Referenced by inja::BlockNode::BlockNode(), inja::ExpressionListNode::ExpressionListNode(), inja::ExpressionListNode::ExpressionListNode(), inja::ExpressionNode::ExpressionNode(), inja::StatementNode::StatementNode(), and inja::TextNode::TextNode().

Here is the caller graph for this function:

◆ AstNode() [2/2]

inja::AstNode::AstNode ( const AstNode & )
default

◆ ~AstNode()

virtual inja::AstNode::~AstNode ( )
inlinevirtual

Definition at line 425 of file inja.hpp.

425 {
426 }

Member Function Documentation

◆ accept()

virtual void inja::AstNode::accept ( NodeVisitor & v) const
pure virtual

◆ operator=()

AstNode & inja::AstNode::operator= ( const AstNode & )
default

Member Data Documentation

◆ pos

size_t inja::AstNode::pos

Definition at line 418 of file inja.hpp.

Referenced by AstNode(), inja::Renderer::throw_renderer_error(), and inja::Renderer::visit().


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