Méthode | Description | |
---|---|---|
CallHostFunction ( string funcName ) : |
Call the host function without checking of existence - be careful on it! For internal use only!
|
|
GetFunction ( string varName ) : |
Get function description without checking of existence - be careful on it!
|
|
GetVar ( string varName ) : |
Get script variable without checking of existence - be careful on it!
|
|
IsFunctionExists ( string funcName ) : bool |
Is script function exists.
|
|
IsHostFunctionExists ( string funcName ) : bool |
is host function exists.
|
|
IsVarExists ( string varName ) : bool |
Is script variable exists.
|
|
RegisterFunction ( string funcName, int pc, List |
Register script function during parsing. For internal use.
|
|
RegisterHostFunction ( string funcName, HostFunction cb ) : void |
Register host function (publish to script).
|
|
RegisterVar ( string varName, |
Create / update script variable with value.
|
|
Reset ( ) : void |
Reset internal state (script functions, variables). Published host functions will be kept.
|
|
ResetVars ( ) : void |
Reset script variables.
|
|
UnregisterHostFunctions ( ) : void |
Unregister all host functions.
|
|
Vars ( |
Initialization for specified ScriptVM.
|
public CallHostFunction ( string funcName ) : |
||
funcName | string | Func name. |
Résultat |
public GetFunction ( string varName ) : |
||
varName | string | Variable name. |
Résultat |
public GetVar ( string varName ) : |
||
varName | string | Variable name. |
Résultat |
public IsFunctionExists ( string funcName ) : bool | ||
funcName | string | Func name. |
Résultat | bool |
public IsHostFunctionExists ( string funcName ) : bool | ||
funcName | string | Function name. |
Résultat | bool |
public IsVarExists ( string varName ) : bool | ||
varName | string | Variable name. |
Résultat | bool |
public RegisterFunction ( string funcName, int pc, List |
||
funcName | string | Function name. |
pc | int | PC counter at script-s lexem stream. |
paramList | List |
Parameters list. |
Résultat | void |
public RegisterHostFunction ( string funcName, HostFunction cb ) : void | ||
funcName | string | Function name. |
cb | HostFunction | Host callback. |
Résultat | void |
public RegisterVar ( string varName, |
||
varName | string | Variable name. |
v | V. | |
Résultat | void |
public Vars ( |
||
vm | ||
Résultat | System.Collections.Generic |