Module miniscript::expression
source · Expand description
Structs
- A token of the form
x(...)
orx
Enums
- Error parsing a threshold expression.
Constants
- Allowed characters are descriptor strings.
- Map of valid characters in descriptor strings.
Traits
- A trait for extracting a structure from a Tree representation in token form
Functions
- Attempts to parse an expression with exactly two children
- Filter out non-ASCII because we byte-index strings all over the place and Rust gets very upset when you splinch a string.
- Parse a string as a u32, for timelocks or thresholds
- Attempts to parse a terminal expression
- Attempts to parse an expression with exactly one child