Class XmirRepresentation

  • All Implemented Interfaces:
    Representation

    public final class XmirRepresentation
    extends Object
    implements Representation
    Intermediate representation of a class files from XMIR.
    Since:
    0.1.0
    • Constructor Detail

      • XmirRepresentation

        public XmirRepresentation​(XmirObject object)
        Constructor.
        Parameters:
        object - EO object as XML.
      • XmirRepresentation

        public XmirRepresentation​(com.jcabi.xml.XML xml)
        Constructor.
        Parameters:
        xml - XML.
    • Method Detail

      • toEO

        public com.jcabi.xml.XML toEO()
        Description copied from interface: Representation
        Convert to EOlang XML representation (XMIR).
        Specified by:
        toEO in interface Representation
        Returns:
        XML.
      • toBytecode

        public byte[] toBytecode()
        Description copied from interface: Representation
        Convert to bytecode.
        Specified by:
        toBytecode in interface Representation
        Returns:
        Array of bytes.