메소드 | 설명 | |
---|---|---|
Decompile ( string source, int flags, |
Decompile the source information associated with this js function/script back into a string. Decompile the source information associated with this js function/script back into a string. For the most part, this just means translating tokens back to their string representations; there's a little bit of lookahead logic to decide the proper spacing/indentation. Most of the work in mapping the original source to the prettyprinted decompiled version is done by the parser. |
메소드 | 설명 | |
---|---|---|
AddEOL ( int token ) : void | ||
AddName ( string str ) : void | ||
AddNumber ( double n ) : void | ||
AddRegexp ( string regexp, string flags ) : void | ||
AddString ( string str ) : void | ||
AddToken ( int token ) : void | ||
Append ( char c ) : void | ||
AppendString ( string str ) : void | ||
GetCurrentOffset ( ) : int | ||
GetEncodedSource ( ) : string | ||
GetNext ( string source, int length, int i ) : int | ||
GetSourceStringEnd ( string source, int offset ) : int | ||
IncreaseSourceCapacity ( int minimalCapacity ) : void | ||
MarkFunctionEnd ( int functionStart ) : int | ||
MarkFunctionStart ( int functionType ) : int | ||
PrintSourceNumber ( string source, int offset, StringBuilder sb ) : int | ||
PrintSourceString ( string source, int offset, bool asQuotedString, StringBuilder sb ) : int | ||
SourceToString ( int offset ) : string |
public static Decompile ( string source, int flags, |
||
source | string | encoded source tree presentation |
flags | int | flags to select output format |
properties | indentation properties | |
리턴 | string |