Свойство | Type | Description | |
---|---|---|---|
_Parameters | List |
||
_PreloadArgumentsFlag | bool | ||
_PreloadGlobalFlag | bool | ||
_PreloadParentFlag | bool | ||
_PreloadRootFlag | bool | ||
_PreloadSuperFlag | bool | ||
_PreloadThisFlag | bool | ||
_SuppressArgumentsFlag | bool | ||
_SuppressSuperFlag | bool | ||
_SuppressThisFlag | bool | ||
_codeSize | UInt16 | ||
_functionName | string | ||
_numParams | UInt16 | ||
_numRegister | byte |
Méthode | Description | |
---|---|---|
ActionDefineFunction2 ( ) : System |
Defines a function
|
|
ActionDefineFunction2 ( string name, byte registers, List |
Defines a function
|
|
ToString ( ) : string |
Converts the action to a string
|
Méthode | Description | |
---|---|---|
Parse ( System sourceStream, byte sourceVersion ) : void |
Parses all neccessary information from a source stream
|
|
ParseFrom ( ) : bool |
Parses the action from a string array
|
|
Render ( |
Renders the DefineFuntion parameters back to a output stream
|
public ActionDefineFunction2 ( string name, byte registers, List |
||
name | string | The function name |
registers | byte | Number of registers used by the function |
parameters | List |
The function parameters |
codeSize | The size of the code | |
preloadGlobalFlag | bool | True - Preload _global into registers. False - Do not preload _global into registers. |
preloadArgumentsFlag | bool | True - Preload arguments into registers. False - Do not preload arguments into registers. |
preloadParentFlag | bool | True - Preload parent variables into registers. False - Do not preload parent variables into registers. |
preloadRootFlag | bool | True - Preload global variables into registers. False - Do not preload global variables into registers. |
preloadSuperFlag | bool | True - Preload super variables into registers. False - Do not preload super variables into registers. |
preloadThisFlag | bool | True - Preload super variables into registers. False - Do not preload super variables into registers. |
suppressSuperFlag | bool | True - Do NOT create super variable. False - Create super variable |
suppressArgumentsFlag | bool | True - Do NOT create arguments variable. False - Create arguments variable |
suppressThisFlag | bool | True - Do NOT create this variable. False - Create this variable |
Résultat | System |
protected Parse ( System sourceStream, byte sourceVersion ) : void | ||
sourceStream | System | The source stream |
sourceVersion | byte | The version |
Résultat | void |
protected Render ( |
||
outputStream | The outputstream | |
Résultat | ulong |