Skip to main content

Crate pdk_script

Crate pdk_script 

Source
Expand description

§PDK Script

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

Structs§

AccessorAttributesBinding
Evaluator
An evaluator for Scripts.
Expression
An evaluable expression.
HandlerAttributesBinding
Script
An script relating an Expression with their Inputs.
ScriptingEngine
A builder for [ScriptParser]s.

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.