MoveLocation
data class MoveLocation(var package: ObjectId, var module: String, var function: UShort, var instruction: UShort, var functionName: String? = null) : Disposable
Location in move bytecode where an error occurred
BCS
The BCS serialized form for this type is defined by the following ABNF:
move-location = object-id identifier u16 u16 (option identifier)
Constructors
| MoveLocation | constructor(package: ObjectId, module: String, function: UShort, instruction: UShort, functionName: String? = null) |
Properties
| Name | Summary |
|---|---|
| function | var function: UShort The function index |
| functionName | var functionName: String? The name of the function if available |
| instruction | var instruction: UShort Index into the code stream for a jump. The offset is relative to the beginning of the instruction stream. |
| module | var module: String The module name |
| package | var package: ObjectId The package id |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |