Class JeoInstruction

  • All Implemented Interfaces:
    Instruction

    public final class JeoInstruction
    extends Object
    implements Instruction
    Class that represents the instruction provided by jeo maven plugin.
    Since:
    0.1
    • Constructor Detail

      • JeoInstruction

        public JeoInstruction​(org.eolang.jeo.representation.xmir.XmlInstruction instruction)
        Constructor.
        Parameters:
        instruction - Instruction.
    • Method Detail

      • opcode

        public int opcode()
        Description copied from interface: Instruction
        Opcode number.
        Specified by:
        opcode in interface Instruction
        Returns:
        Opcode number.
      • operand

        public Object operand​(int index)
        Description copied from interface: Instruction
        Retrieve operand by position index.
        Specified by:
        operand in interface Instruction
        Parameters:
        index - Operand index
        Returns:
        Operand