Package org.eolang.jeo.representation
Class XmirRepresentation
java.lang.Object
org.eolang.jeo.representation.XmirRepresentation
- All Implemented Interfaces:
Representation
Intermediate representation of a class files from XMIR.
- Since:
- 0.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionXmirRepresentation
(com.jcabi.xml.XML xml) Constructor.XmirRepresentation
(com.jcabi.xml.XML xml, String source) Constructor.XmirRepresentation
(com.jcabi.xml.XML xml, String source, boolean verify) Constructor.XmirRepresentation
(Path path) Constructor.XmirRepresentation
(Path path, boolean verify) Constructor. -
Method Summary
-
Constructor Details
-
XmirRepresentation
Constructor.- Parameters:
path
- Path to XML file.
-
XmirRepresentation
Constructor.- Parameters:
path
- Path to XML file.verify
- Verify bytecode.
-
XmirRepresentation
public XmirRepresentation(com.jcabi.xml.XML xml) Constructor.- Parameters:
xml
- XML.
-
XmirRepresentation
Constructor.- Parameters:
xml
- XML.source
- Source of the XML.
-
XmirRepresentation
Constructor.- Parameters:
xml
- XML.source
- Source of the XML.verify
- Verify bytecode.
-
-
Method Details
-
details
Description copied from interface:Representation
Details of representation. Additional info about representation which might include the source file, the name of a class or an object, etc.- Specified by:
details
in interfaceRepresentation
- Returns:
- Representation details instance.
-
toEO
public com.jcabi.xml.XML toEO()Description copied from interface:Representation
Convert to EOlang XML representation (XMIR).- Specified by:
toEO
in interfaceRepresentation
- Returns:
- XML.
-
toBytecode
Description copied from interface:Representation
Convert to bytecode.- Specified by:
toBytecode
in interfaceRepresentation
- Returns:
- Array of bytes.
-