Class StoreArray

  • All Implemented Interfaces:
    AstNode, Xmir

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

      • StoreArray

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

      • 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.