Module expr

Module expr 

Source
Expand description

Defines value expression representation used in Ledger format. Note this is purely lexicographical and not always valid expression.

Structs§

Amount
Amount, which is a single unit of value with a commodity.
BinaryOpExpr
Represents binary operator expression.
BinaryOpIter
An iterator over the variants of BinaryOp
UnaryOpExpr
Unary operator expression.

Enums§

BinaryOp
Binary operator.
Expr
Generic expression.
UnaryOp
Represents unary operator.
ValueExpr
Defines value expression. Value expression is a valid expression when used in amount. It can be either amount literal or expression wrapped in ().