Class Super

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

public final class Super extends Object implements AstNode, Typed
Super output node.
Since:
0.1
  • Constructor Details

    • Super

      public Super(AstNode instance, List<AstNode> arguments, String descriptor, String type, String name)
      Constructor.
      Parameters:
      instance - Target instance
      arguments - Super arguments
      descriptor - Descriptor
      type - Type
      name - Method Name
    • Super

      public Super(AstNode instance, List<AstNode> arguments, Attributes attributes)
      Constructor.
      Parameters:
      instance - Target instance
      arguments - Super arguments
      attributes - Attributes
    • Super

      public Super(org.eolang.jeo.representation.xmir.XmlNode xmir, Parser parser)
      Constructor.
      Parameters:
      xmir - XMIR root node.
      parser - Parser that can parse child nodes.
  • 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.
    • type

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