[][src]Module minsc::ast

Structs

And

Logical AND expression

Array

An array expression

ArrayAccess
Assign

An assignment statement

Assignment
Block

A collection of statements and a final expression used as the return value. Represents the main program, function bodies and block expressions

Call

A function call expression

ChildDerive
FnDef

A function definition statement

Ident

A terminal word expression. This can either be a variable name or a plain value passed-through to miniscript.

Or

Logical OR expression

Thresh

Threshold expression

WithProb

An expression with a probability. Valid as an argument to or().

Enums

Duration
DurationPart
Expr

Expressions have no side-effects and produce a value

Stmt

Statements have side-effects and don't produce a value