Package org.eolang.opeo.decompilation
Class DecompilerState
java.lang.Object
org.eolang.opeo.decompilation.DecompilerState
Internal state of decompiler.
This state changes all the time between instruction handlers.
- Since:
- 0.2
-
Constructor Details
-
DecompilerState
Constructor.- Parameters:
vars
- Method local variables.
-
-
Method Details
-
instruction
Retrieve current bytecode instruction.- Returns:
- Current bytecode instruction.
-
operand
Instruction operand.- Parameters:
index
- Operand index.- Returns:
- Instruction operand.
-
variable
Retrieve variable by index and type.- Parameters:
index
- Variable index.type
- Varaiable type.- Returns:
- Variable node.
-
stack
Retrieve current stack.- Returns:
- Operand stack.
-