L1OperandTypeDispatcher

interface L1OperandTypeDispatcher

A visitor for L1OperandTypes.

Author

Mark van Gulik

Functions

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.

Inheritors

Link copied to clipboard