BlockEnd
interface BlockEnd
Fields
Name | Description |
---|---|
abstract startPosition: Int
|
Extensions
validate
fun Instruction.validate(context: FunctionBody): FunctionBody
Validates the Instruction.
Receiver
Name | Description |
---|---|
Instruction
|
Parameters
Name | Description |
---|---|
context: FunctionBody
|
ReturnValue
Name | Description |
---|---|
FunctionBody
|
Marker of the end of BlockInstruction, during execution, the startPosition should be used to locate the start of the block which is then used to locate the first instruction after the original BlockInstruction (may not always be the next instruction after a BlockEnd, for example, the BlockEnds used for each branch of an if instruction).