Package org.eolang.opeo.jeo
Class JeoInstruction
java.lang.Object
org.eolang.opeo.jeo.JeoInstruction
- All Implemented Interfaces:
Instruction
Class that represents the instruction provided by jeo maven plugin.
- Since:
- 0.1
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eolang.opeo.Instruction
Instruction.Nop
-
Constructor Summary
ConstructorsConstructorDescriptionJeoInstruction
(org.eolang.jeo.representation.xmir.XmlInstruction instruction) Constructor. -
Method Summary
-
Constructor Details
-
JeoInstruction
public JeoInstruction(org.eolang.jeo.representation.xmir.XmlInstruction instruction) Constructor.- Parameters:
instruction
- Instruction.
-
-
Method Details
-
opcode
public int opcode()Description copied from interface:Instruction
Opcode number.- Specified by:
opcode
in interfaceInstruction
- Returns:
- Opcode number.
-
operand
Description copied from interface:Instruction
Retrieve operand by position index.- Specified by:
operand
in interfaceInstruction
- Parameters:
index
- Operand index- Returns:
- Operand
-
operands
Description copied from interface:Instruction
Full list of operands.- Specified by:
operands
in interfaceInstruction
- Returns:
- Operands.
-