Class StoreArray

    • Constructor Detail

      • StoreArray

        public StoreArray​(org.eolang.jeo.representation.xmir.XmlNode root,
                          Parser parser)
        Constructor.
        Parameters:
        root - Xmir representation of a store array element.
        parser - Parser that will be used to parse the nodes of the store array element.
      • StoreArray

        public StoreArray​(List<org.eolang.jeo.representation.xmir.XmlNode> children,
                          Parser parser)
        Constructor.
        Parameters:
        children - Children nodes that represent an array, an index and a value.
        parser - Parser that will be used to parse the children nodes.
      • 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.
      • type

        public org.objectweb.asm.Type type()
        Description copied from interface: Typed
        Node type.
        Specified by:
        type in interface Typed
        Returns:
        Type.