Crate air

source ·

Modules

Macros

Structs

  • Describes a result returned at the end of the interpreter execution_step.
  • This struct is intended to track the last arisen error. LastError is essentially a scalar value with support of lambda expressions. The only differences from a scalar are
  • ResolvedTriplet represents peer network location with all variables, literals and etc resolved into final string. This structure contains a subset of values that SecurityTetraplet consists of.
  • Parameters that a host side should pass to an interpreter and that necessary for execution.
  • Describes an origin that set corresponding value.

Enums

  • Catchable errors arisen during AIR script execution. Catchable here means that these errors could be handled by a xor instruction and their error_code could be used in a match instruction.
  • Errors arisen while executing AIR script. This enum is pub since it’s used in tests.
  • Errors happened during the interpreter farewell step.
  • Describes errors related to applying lambdas to values.
  • Describes errors related to converting a scalar into error object.
  • Errors happened during the interpreter preparation step.
  • Uncatchable errors arisen during AIR script execution. Uncatchable here means that these errors couldn’t be handled by a xor instruction and their error_code couldn’t be used in a match instruction. They are similar to JVM runtime errors and some of them could be caught only while execution of AIR script, others (FoldStateNotFound and MultipleVariablesFound) are checked additionally on the validation step, and presence here for convenience.

Constants

Traits

Functions