Struct jrsonnet_evaluator::EvaluationSettings [−][src]
pub struct EvaluationSettings { pub max_stack: usize, pub max_trace: usize, pub ext_vars: HashMap<IStr, Val>, pub ext_natives: HashMap<IStr, Gc<NativeCallback>>, pub tla_vars: HashMap<IStr, Val>, pub globals: HashMap<IStr, Val>, pub import_resolver: Box<dyn ImportResolver>, pub manifest_format: ManifestFormat, pub trace_format: Box<dyn TraceFormat>, }
Fields
max_stack: usize
Limits recursion by limiting the number of stack frames
max_trace: usize
Limits amount of stack trace items preserved
ext_vars: HashMap<IStr, Val>
Used for std.extVar
ext_natives: HashMap<IStr, Gc<NativeCallback>>
Used for ext.native
tla_vars: HashMap<IStr, Val>
TLA vars
globals: HashMap<IStr, Val>
Global variables are inserted in default context
import_resolver: Box<dyn ImportResolver>
Used to resolve file locations/contents
manifest_format: ManifestFormat
Used in manifestification functions
trace_format: Box<dyn TraceFormat>
Used for bindings
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for EvaluationSettings
impl !Send for EvaluationSettings
impl !Sync for EvaluationSettings
impl Unpin for EvaluationSettings
impl !UnwindSafe for EvaluationSettings