Class StoreArray

java.lang.Object
org.eolang.opeo.ast.StoreArray
All Implemented Interfaces:
AstNode, Xmir

public final class StoreArray extends Object implements AstNode
Store array element.
Since:
0.1
  • Constructor Details

    • StoreArray

      public StoreArray(AstNode array, AstNode index, AstNode value)
      Constructor.
      Parameters:
      array - Array
      index - Index
      value - Value
  • Method Details

    • toXmir

      public Iterable<org.xembly.Directive> toXmir()
      Description copied from interface: Xmir
      Convert node to XMIR.
      Specified by:
      toXmir in interface Xmir
      Returns:
      XMIR XML.
    • opcodes

      public List<AstNode> opcodes()
      Description copied from interface: AstNode
      Bytecode instructions.
      Specified by:
      opcodes in interface AstNode
      Returns:
      List of opcodes.