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