BranchingOpcodes
Opcodes for logical operators such as if/esle, switch/case
opIfelse
function opIfelse(address _ctxProgram, address) public
opIf
function opIf(address _ctxProgram, address) public
opFunc
function opFunc(address _ctxProgram, address) public
opForLoop
function opForLoop(address _ctxProgram, address) external
For loop setup. Responsible for checking iterating array existence, set the number of iterations
Parameters
Name | Type | Description |
---|---|---|
_ctxProgram | address | Context contract address |
address |
opStartLoop
function opStartLoop(address _ctxProgram, address _ctxDSL) public
Does the real iterating process over the body of the for-loop
Parameters
Name | Type | Description |
---|---|---|
_ctxProgram | address | ProgramContext contract address |
_ctxDSL | address | DSL Context contract address |
opEndLoop
function opEndLoop(address _ctxProgram, address) public
This function is responsible for getting of the body of the for-loop
Parameters
Name | Type | Description |
---|---|---|
_ctxProgram | address | Context contract address |
address |
opEnd
function opEnd(address _ctxProgram, address) public
getUint16
function getUint16(address _ctxProgram) public returns (uint16)