Class XmlFrame
java.lang.Object
org.eolang.jeo.representation.xmir.XmlFrame
- All Implemented Interfaces:
XmlBytecodeEntry
Xmir representation of bytecode frame.
- Since:
- 0.3
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
XmlFrame
Constructor.- Parameters:
lines
- Lines of XML
-
XmlFrame
Constructor.- Parameters:
xml
- XML
-
XmlFrame
Constructor.- Parameters:
node
- Xmir node
-
-
Method Details
-
writeTo
Description copied from interface:XmlBytecodeEntry
Write instruction to the bytecode method.- Specified by:
writeTo
in interfaceXmlBytecodeEntry
- Parameters:
method
- Bytecode Method where instruction should be written.
-
type
public int type()Type of frame.- Returns:
- Type.
-
nlocal
public int nlocal()Number of local variables.- Returns:
- Number of local variables.
-
locals
Local variables.- Returns:
- Local variables.
-
nstack
public int nstack()Number of stack elements.- Returns:
- Number of stack elements.
-
stack
Stack elements.- Returns:
- Stack elements.
-