L1DisassemblyVisitor

interface L1DisassemblyVisitor : L1OperandTypeDispatcher

Functions

Link copied to clipboard
abstract fun betweenOperands()

We're between processing operands of an operation.

Link copied to clipboard
abstract fun doImmediate(index: Int)

The operand is an immediate value, encoding an integer as itself.

Link copied to clipboard
abstract fun doLiteral(index: Int)

The operand is a literal value, encoded by a subscript into some list of literals.

Link copied to clipboard
abstract fun doLocal(index: Int)

The operand is a local, encoded by a subscript into the arguments and locals area.

Link copied to clipboard
abstract fun doOuter(index: Int)

The operand is a declaration captured set an outer scope, encoded as a subscript into some function's list of outer variables.

Link copied to clipboard
abstract fun endOperation(operation: L1Operation)

The given L1Operation has now been completely processed.

Link copied to clipboard
abstract fun startOperation(    operation: L1Operation,     pc: Int,     line: Int)

The given L1Operation was just encountered, and its operands will be visited before the corresponding endOperation is called.