메소드 | 설명 | |
---|---|---|
GetArity ( ) : int | ||
GetDebuggableView ( ) : DebuggableScript | ||
GetEncodedSource ( ) : string |
Get encoded source string. Get encoded source string. |
|
GetLength ( ) : int | ||
InitScriptFunction ( |
||
ResumeGenerator ( |
Resume execution of a suspended generator. Resume execution of a suspended generator. |
메소드 | 설명 | |
---|---|---|
GetLanguageVersion ( ) : int | ||
GetParamAndVarCount ( ) : int |
Get number of declared parameters and variables defined through var statements. Get number of declared parameters and variables defined through var statements. |
|
GetParamCount ( ) : int |
Get number of declared parameters. Get number of declared parameters. It should be 0 for scripts. |
|
GetParamOrVarConst ( int index ) : bool |
Get parameter or variable const-ness. Get parameter or variable const-ness. If index < |
|
GetParamOrVarName ( int index ) : string |
Get parameter or variable name. Get parameter or variable name. If index < |
메소드 | 설명 | |
---|---|---|
Decompile ( int indent, int flags ) : string | ||
JsGet_name ( ) : string |
protected abstract GetParamOrVarName ( int index ) : string | ||
index | int | |
리턴 | string |
public InitScriptFunction ( |
||
cx | ||
scope | Scriptable | |
리턴 | void |
public ResumeGenerator ( |
||
cx | The current context | |
scope | Scriptable | Scope for the parent generator function |
operation | int | The resumption operation (next, send, etc.. ) |
state | object | The generator state (has locals, stack, etc.) |
value | object | The return value of yield (if required). |
리턴 | object |