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

#include <chaiscript_eval.hpp>

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

Public Member Functions

 Binary_Operator_AST_Node (const std::string &t_oper, Parse_Location t_loc, std::vector< AST_Node_Impl_Ptr< T > > t_children)
Boxed_Value eval_internal (const chaiscript::detail::Dispatch_State &t_ss) 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

Protected Member Functions

Boxed_Value do_oper (const chaiscript::detail::Dispatch_State &t_ss, Operators::Opers t_oper, const std::string &t_oper_string, const Boxed_Value &t_lhs, const Boxed_Value &t_rhs) const
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)

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)
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

Constructor & Destructor Documentation

◆ Binary_Operator_AST_Node()

template<typename T>
chaiscript::eval::Binary_Operator_AST_Node< T >::Binary_Operator_AST_Node ( const std::string & t_oper,
Parse_Location t_loc,
std::vector< AST_Node_Impl_Ptr< T > > t_children )
inline

Member Function Documentation

◆ do_oper()

template<typename T>
Boxed_Value chaiscript::eval::Binary_Operator_AST_Node< T >::do_oper ( const chaiscript::detail::Dispatch_State & t_ss,
Operators::Opers t_oper,
const std::string & t_oper_string,
const Boxed_Value & t_lhs,
const Boxed_Value & t_rhs ) const
inlineprotected
Here is the caller graph for this function:

◆ eval_internal()

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

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