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.
- Handler
Attributes Binding - A wrapper that implements the
AttributesBindingtrait for the handlers provided by the PDK. - Script
- An script relating an
Expressionwith theirInputs. - Script
Parser - Parser for script
Expressions. - Scripting
Engine - A builder for
ScriptParsers.
Enums§
- Evaluation
Error - Represents an evaluation error.
- Format
- Represents the format for the
payloadvariable. - Input
- Represents top-level variables.
- Script
Error - Represents the
ScriptParser::compileerror. - Value
- Represents any valid script value.
Traits§
- Attributes
Binding - Binding for the top-level
attributesvariable. - Authentication
Binding - Binding for the top-level
authenticationvariable. - Into
Value - A Rust-value to Script-value conversion that consumes the input.
- Payload
Binding - Binding for the top-level
payloadvariable. - TryFrom
Value - A falible Script-value to Rust-value conversion that consumes the input.