Module script

Module script 

Source
Expand description

PDK Script

An interpreter for script expressions and the set of operations and types to interoperate with Rust.

Structs§

Evaluator
An evaluator for Scripts.
Expression
An evaluable expression.
HandlerAttributesBinding
A wrapper that implements the AttributesBinding trait for the handlers provided by the PDK.
Script
An script relating an Expression with their Inputs.
ScriptParser
Parser for script Expressions.
ScriptingEngine
A builder for ScriptParsers.

Enums§

EvaluationError
Represents an evaluation error.
Format
Represents the format for the payload variable.
Input
Represents top-level variables.
ScriptError
Represents the ScriptParser::compile error.
Value
Represents any valid script value.

Traits§

AttributesBinding
Binding for the top-level attributes variable.
AuthenticationBinding
Binding for the top-level authentication variable.
IntoValue
A Rust-value to Script-value conversion that consumes the input.
PayloadBinding
Binding for the top-level payload variable.
TryFromValue
A falible Script-value to Rust-value conversion that consumes the input.