public class Decompiler
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static int | CASE_GAP_PROPDecompilation property to specify identation offset for case labels. | 
| static int | INDENT_GAP_PROPDecompilation property to specify default identation offset. | 
| static int | INITIAL_INDENT_PROPDecompilation property to specify initial ident value. | 
| static int | ONLY_BODY_FLAGFlag to indicate that the decompilation should omit the
 function header and trailing brace. | 
| static int | TO_SOURCE_FLAGFlag to indicate that the decompilation generates toSource result. | 
| Constructor and Description | 
|---|
| Decompiler() | 
| Modifier and Type | Method and Description | 
|---|---|
| static java.lang.String | decompile(java.lang.String source,
         int flags,
         UintMap properties)Decompile the source information associated with this js
 function/script back into a string. | 
public static final int ONLY_BODY_FLAG
public static final int TO_SOURCE_FLAG
public static final int INITIAL_INDENT_PROP
public static final int INDENT_GAP_PROP
public static final int CASE_GAP_PROP
public static java.lang.String decompile(java.lang.String source,
                                         int flags,
                                         UintMap properties)
source - encoded source tree presentationflags - flags to select output formatproperties - indentation properties