Method | Description | |
---|---|---|
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. |
Method | Description | |
---|---|---|
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 < |
Method | Description | |
---|---|---|
Decompile ( int indent, int flags ) : string | ||
JsGet_name ( ) : string |
public GetDebuggableView ( ) : DebuggableScript | ||
return | DebuggableScript |
protected abstract GetLanguageVersion ( ) : int | ||
return | int |
protected abstract GetParamAndVarCount ( ) : int | ||
return | int |
protected GetParamOrVarConst ( int index ) : bool | ||
index | int | |
return | bool |
protected abstract GetParamOrVarName ( int index ) : string | ||
index | int | |
return | string |
public InitScriptFunction ( |
||
cx | ||
scope | Scriptable | |
return | 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). |
return | object |