Class Constructor

    • Constructor Detail

      • Constructor

        public Constructor​(String type,
                           AstNode... arguments)
        Constructor.
        Parameters:
        type - Constructor type
        arguments - Constructor arguments
      • Constructor

        public Constructor​(String type,
                           List<AstNode> arguments)
        Constructor.
        Parameters:
        type - Constructor type
        arguments - Constructor arguments
      • Constructor

        public Constructor​(String type,
                           Attributes attrs,
                           AstNode... arguments)
        Constructor.
        Parameters:
        type - Constructor type
        attrs - Constructor attributes
        arguments - Constructor arguments
      • Constructor

        public Constructor​(String type,
                           Attributes attrs,
                           List<AstNode> args)
        Constructor.
        Parameters:
        type - Constructor type
        attrs - Constructor attributes
        args - Constructor arguments
      • Constructor

        public Constructor​(org.eolang.jeo.representation.xmir.XmlNode node,
                           Parser parser)
        Constructor.
        Parameters:
        node - Xmir representation of constructor.
        parser - Parser that understands how to parse subnodes.
      • Constructor

        public Constructor​(AstNode ctype,
                           Attributes attributes,
                           List<AstNode> arguments)
        Constructor.
        Parameters:
        ctype - Constructor type
        attributes - Constructor attributes
        arguments - Constructor arguments
    • 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.