Package org.eolang.opeo.vmachine
Class DecompilerMachine
- java.lang.Object
-
- org.eolang.opeo.vmachine.DecompilerMachine
-
public final class DecompilerMachine extends Object
Decompiler machine.- Since:
- 0.1
-
-
Constructor Summary
Constructors Constructor Description DecompilerMachine()
Constructor.DecompilerMachine(Map<String,String> args)
Constructor.DecompilerMachine(LocalVariables locals, Map<String,String> arguments)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
decompile(Instruction... instructions)
Decompile instructions.Iterable<org.xembly.Directive>
decompileToXmir(Instruction... instructions)
Decompile instructions into directives.
-
-
-
Constructor Detail
-
DecompilerMachine
public DecompilerMachine()
Constructor.
-
DecompilerMachine
public DecompilerMachine(Map<String,String> args)
Constructor.- Parameters:
args
- Arguments provided to decompiler.
-
DecompilerMachine
public DecompilerMachine(LocalVariables locals, Map<String,String> arguments)
Constructor.- Parameters:
locals
- Local variables.arguments
- Arguments provided to decompiler.
-
-
Method Detail
-
decompileToXmir
public Iterable<org.xembly.Directive> decompileToXmir(Instruction... instructions)
Decompile instructions into directives.- Parameters:
instructions
- Instructions to decompile.- Returns:
- Decompiled instructions.
-
decompile
public String decompile(Instruction... instructions)
Decompile instructions.- Parameters:
instructions
- Instructions to decompile.- Returns:
- Decompiled code.
-
-