Module okane_core::repl::expr

source ·
Expand description

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

Structs

  • Amount with presentation information. Similar to datamodel::Amount with extra formatting information.
  • Represents binary operator expression.
  • An iterator over the variants of BinaryOp
  • Unary operator expression.

Enums

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