L1Decompiler
class L1Decompiler( code: A_RawFunction, outerDeclarations: Array<A_Phrase>, tempGenerator: (String) -> String)
Content copied to clipboard
The L1Decompiler converts a compiled code object into an equivalent parse tree.
Author
Mark van Gulik
Parameters
code
The code to decompile.
outer Declarations
The array of outer variable declarations and literal phrases.
temp Generator
A transformer that takes a prefix and generates a suitably unique temporary variable name.
Constructors
Link copied to clipboard
fun L1Decompiler( code: A_RawFunction, outerDeclarations: Array<A_Phrase>, tempGenerator: (String) -> String)
Content copied to clipboard
Create a new decompiler suitable for decoding the given raw function, tuple of outer variable declarations, and temporary name generator.