A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
a11::flow::EvalContext Struct Reference

#include <cpp/a11/flow/values.h>

Public Member Functions

CoerceContext Coercion () const
 

Public Attributes

const PreparedExpressions *absl_nullable prepared = nullptr
 
std::function< absl::StatusOr< std::optional< Value > >(const syntax::Node &)> lookup
 
std::function< absl::StatusOr< Value >(const syntax::Builtin &)> reference
 
std::function< bool(const syntax::Node &)> is_option
 
const absl::flat_hash_map< const syntax::Node *, Value > *absl_nullable bound
 
Value it
 The value a where/map/group stage is looking at.
 
bool has_it = false
 
HostBridge *absl_nullable bridge = nullptr
 
const Program *absl_nullable shapes = nullptr
 The shapes the program declared, for a cast written inside an expression.
 

Member Function Documentation

◆ Coercion()

CoerceContext a11::flow::EvalContext::Coercion ( ) const
inline

Member Data Documentation

◆ bound

const absl::flat_hash_map<const syntax::Node*, Value>* absl_nullable a11::flow::EvalContext::bound
Initial value:
=
nullptr

◆ bridge

HostBridge* absl_nullable a11::flow::EvalContext::bridge = nullptr

◆ has_it

bool a11::flow::EvalContext::has_it = false

◆ is_option

std::function<bool(const syntax::Node&)> a11::flow::EvalContext::is_option

◆ it

Value a11::flow::EvalContext::it

The value a where/map/group stage is looking at.

◆ lookup

std::function<absl::StatusOr<std::optional<Value> >(const syntax::Node&)> a11::flow::EvalContext::lookup

◆ prepared

const PreparedExpressions* absl_nullable a11::flow::EvalContext::prepared = nullptr

◆ reference

std::function<absl::StatusOr<Value>(const syntax::Builtin&)> a11::flow::EvalContext::reference

◆ shapes

const Program* absl_nullable a11::flow::EvalContext::shapes = nullptr

The shapes the program declared, for a cast written inside an expression.


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