Package org.eolang.opeo
Interface Instruction
- All Known Implementing Classes:
Instruction.Nop
,JeoInstruction
,LabelInstruction
,OpcodeInstruction
public interface Instruction
Instruction abstraction.
- Since:
- 0.1
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
Not an operation instruction. -
Method Summary
-
Method Details
-
opcode
int opcode()Opcode number.- Returns:
- Opcode number.
-
operand
Retrieve operand by position index.- Parameters:
index
- Operand index- Returns:
- Operand
-
operands
Full list of operands.- Returns:
- Operands.
-