GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
chaiscript::eval::Constant_AST_Node< T > Struct Template Referencefinal

#include <chaiscript_eval.hpp>

Inheritance diagram for chaiscript::eval::Constant_AST_Node< T >:
Collaboration diagram for chaiscript::eval::Constant_AST_Node< T >:

Public Member Functions

 Constant_AST_Node (std::string t_ast_node_text, Parse_Location t_loc, Boxed_Value t_value)
 Constant_AST_Node (Boxed_Value t_value)
Boxed_Value eval_internal (const chaiscript::detail::Dispatch_State &) const override
Public Member Functions inherited from chaiscript::eval::AST_Node_Impl< T >
 AST_Node_Impl (std::string t_ast_node_text, AST_Node_Type t_id, Parse_Location t_loc, std::vector< AST_Node_Impl_Ptr< T > > t_children=std::vector< AST_Node_Impl_Ptr< T > >())
std::vector< std::reference_wrapper< AST_Node > > get_children () const final
Boxed_Value eval (const chaiscript::detail::Dispatch_State &t_e) const final
Public Member Functions inherited from chaiscript::AST_Node
const std::string & filename () const
const File_Position & start () const
const File_Position & end () const
std::string pretty_print () const
std::string to_string (const std::string &t_prepend="") const
 Prints the contents of an AST node, including its children, recursively.
virtual ~AST_Node ()=default
 AST_Node (AST_Node &&)=default
AST_Node & operator= (AST_Node &&)=default
 AST_Node (const AST_Node &)=delete
AST_Node & operator= (const AST_Node &)=delete

Public Attributes

Boxed_Value m_value
Public Attributes inherited from chaiscript::eval::AST_Node_Impl< T >
std::vector< AST_Node_Impl_Ptr< T > > children
Public Attributes inherited from chaiscript::AST_Node
const AST_Node_Type identifier
const std::string text
Parse_Location location

Additional Inherited Members

Static Public Member Functions inherited from chaiscript::eval::AST_Node_Impl< T >
static bool get_scoped_bool_condition (const AST_Node_Impl< T > &node, const chaiscript::detail::Dispatch_State &t_ss)
Static Public Member Functions inherited from chaiscript::AST_Node
static bool get_bool_condition (const Boxed_Value &t_bv, const chaiscript::detail::Dispatch_State &t_ss)
Protected Member Functions inherited from chaiscript::AST_Node
 AST_Node (std::string t_ast_node_text, AST_Node_Type t_id, Parse_Location t_loc)

Constructor & Destructor Documentation

◆ Constant_AST_Node() [1/2]

template<typename T>
chaiscript::eval::Constant_AST_Node< T >::Constant_AST_Node ( std::string t_ast_node_text,
Parse_Location t_loc,
Boxed_Value t_value )
inline

◆ Constant_AST_Node() [2/2]

template<typename T>
chaiscript::eval::Constant_AST_Node< T >::Constant_AST_Node ( Boxed_Value t_value)
inlineexplicit

Member Function Documentation

◆ eval_internal()

template<typename T>
Boxed_Value chaiscript::eval::Constant_AST_Node< T >::eval_internal ( const chaiscript::detail::Dispatch_State & ) const
inlineoverridevirtual

Member Data Documentation

◆ m_value

template<typename T>
Boxed_Value chaiscript::eval::Constant_AST_Node< T >::m_value

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