Skip to content

Struct zmbt::lang::EvalContext

ClassList > zmbt > lang > EvalContext

Expression evaluation context.

  • #include <eval_context.hpp>

Public Attributes

Type Name
std::shared_ptr< boost::json::object > captures
reference -> value map
std::uint64_t depth
Evaluation stack depth.
std::shared_ptr< std::map< boost::json::string, ExpressionView > > links
EvalLog log
Evaluation log.
Operator op
Operator .

Public Functions

Type Name
EvalContext ()
EvalContext operator++ () const
Copy context with depth increment.

Public Static Functions

Type Name
EvalContext make (Operator const & op={})

Public Attributes Documentation

variable captures

reference -> value map

std::shared_ptr<boost::json::object> zmbt::lang::EvalContext::captures;


variable depth

Evaluation stack depth.

std::uint64_t zmbt::lang::EvalContext::depth;


std::shared_ptr<std::map<boost::json::string, ExpressionView> > zmbt::lang::EvalContext::links;

variable log

Evaluation log.

EvalLog zmbt::lang::EvalContext::log;


variable op

Operator .

Operator zmbt::lang::EvalContext::op;


Public Functions Documentation

function EvalContext

zmbt::lang::EvalContext::EvalContext () 

function operator++

Copy context with depth increment.

EvalContext zmbt::lang::EvalContext::operator++ () const


Public Static Functions Documentation

function make

static EvalContext zmbt::lang::EvalContext::make (
    Operator const & op={}
) 


The documentation for this class was generated from the following file zmbt-framework/zmbt-framework/backends/cxx/include/zmbt/expr/eval_context.hpp