Method | Description | |
---|---|---|
ClearContext ( string contextId ) : void | ||
Compile ( GlobalPath filePath, int startLineNum, string scriptText ) : List |
Compile source text into compiled codeparts.
|
|
Compile ( GlobalPath filePath, int startLineNum, string scriptText, string contextId ) : List |
Compile source text into compiled codeparts.
|
|
Compile ( GlobalPath filePath, int startLineNum, string scriptText, string contextId, kOS.Safe.Compilation.CompilerOptions options ) : List |
Compile source text into compiled codeparts.
|
|
IsCommandComplete ( string command ) : bool |
Method | Description | |
---|---|---|
Script ( ) : System.Collections.Generic |
public abstract ClearContext ( string contextId ) : void | ||
contextId | string | |
return | void |
public Compile ( GlobalPath filePath, int startLineNum, string scriptText ) : List |
||
filePath | GlobalPath | The name that should get reported to the user on /// runtime errors in this compiled code. Even if the text is not from an /// actual file this should still be a pseudo-filename for reporting, for /// example "(commandline)" or "(socket stream)" /// |
startLineNum | int | Assuming scriptText is a subset of some bigger buffer, line 1 of scripttext /// corresponds to line (what) of the more global something, for reporting numbers on errors. |
scriptText | string | The text to be compiled. |
return | List |
public Compile ( GlobalPath filePath, int startLineNum, string scriptText, string contextId ) : List |
||
filePath | GlobalPath | The name that should get reported to the user on /// runtime errors in this compiled code. Even if the text is not from an /// actual file this should still be a pseudo-filename for reporting, for /// example "(commandline)" or "(socket stream)" /// |
startLineNum | int | Assuming scriptText is a subset of some bigger buffer, line 1 of scripttext /// corresponds to line (what) of the more global something, for reporting numbers on errors. |
scriptText | string | The text to be compiled. |
contextId | string | The name of the runtime context (i.e. "interpreter"). |
return | List |
public abstract Compile ( GlobalPath filePath, int startLineNum, string scriptText, string contextId, kOS.Safe.Compilation.CompilerOptions options ) : List |
||
filePath | GlobalPath | The name that should get reported to the user on /// runtime errors in this compiled code. Even if the text is not from an /// actual file this should still be a pseudo-filename for reporting, for /// example "(commandline)" or "(socket stream)" /// |
startLineNum | int | Assuming scriptText is a subset of some bigger buffer, line 1 of scripttext /// corresponds to line (what) of the more global something, for reporting numbers on errors. |
scriptText | string | The text to be compiled. |
contextId | string | The name of the runtime context (i.e. "interpreter"). |
options | kOS.Safe.Compilation.CompilerOptions | settings for the compile |
return | List |
public IsCommandComplete ( string command ) : bool | ||
command | string | |
return | bool |
protected Script ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |