Package org.eolang.jeo
Interface Representation
-
- All Known Implementing Classes:
BytecodeRepresentation
,Representation.Named
,XmirRepresentation
public interface Representation
Intermediate representation of a class files which can be optimized.- Since:
- 0.1.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Representation.Named
Named representation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
name()
Name of the class or an object.byte[]
toBytecode()
Convert to bytecode.com.jcabi.xml.XML
toEO()
Convert to EOlang XML representation (XMIR).
-
-
-
Method Detail
-
name
String name()
Name of the class or an object.- Returns:
- Name.
-
toEO
com.jcabi.xml.XML toEO()
Convert to EOlang XML representation (XMIR).- Returns:
- XML.
-
toBytecode
byte[] toBytecode()
Convert to bytecode.- Returns:
- Array of bytes.
-
-