Implements the Interactive Console API.
More...
|
string | Name [get] |
| Name of the API.
|
|
virtual Version | Version [get] |
| The Version of the API.
|
|
Implements the Interactive Console API.
Definition at line 12 of file BadInteractiveConsoleApi.cs.
◆ BadInteractiveConsoleApi()
BadScript2.Interactive.BadInteractiveConsoleApi.BadInteractiveConsoleApi |
( |
BadInteractiveConsole |
console | ) |
|
Constructs a new BadInteractiveConsoleApi instance.
- Parameters
-
console | The Console Instance |
Definition at line 23 of file BadInteractiveConsoleApi.cs.
23 : base("Interactive")
24 {
26 }
readonly BadInteractiveConsole m_Console
The Console Instance.
◆ GetScope()
BadObject BadScript2.Interactive.BadInteractiveConsoleApi.GetScope |
( |
| ) |
|
|
private |
Returns the Current Scope.
- Returns
- Scope
Definition at line 63 of file BadInteractiveConsoleApi.cs.
64 {
66 }
The Base Class for all BadScript Objects.
static readonly BadObject Null
The Null Value for the BadScript Language.
◆ LoadApi()
override void BadScript2.Interactive.BadInteractiveConsoleApi.LoadApi |
( |
BadTable |
target | ) |
|
|
protected |
Definition at line 29 of file BadInteractiveConsoleApi.cs.
30 {
38 target.SetFunction<
bool>(
"SetPreParse",
SetPreParse);
39 }
BadObject GetScope()
Returns the Current Scope.
void SetPreParse(bool enable)
Sets the Pre Parse Flag.
void SetCatchError(bool enable)
Sets the Catch Error Flag.
void Load(string file)
Loads a File into the Interactive Session.
BadObject RunIsolated(string code)
Runs a set of Expressions isolated from the Interactive Session.
void Run(IEnumerable< BadExpression > expressions)
Runs a set of Expressions.
void Reset()
Resets the Current Context.
BadObject LoadIsolated(string file)
Loads a File isolated from the Interactive Session.
Implements the Scope for the Script Engine.
static BadClassPrototype Prototype
A Class Prototype for the Scope.
The Any Prototype, Base type for all types.
static readonly BadAnyPrototype Instance
The Instance of the BadAnyPrototype.
◆ SetCatchError()
void BadScript2.Interactive.BadInteractiveConsoleApi.SetCatchError |
( |
bool |
enable | ) |
|
|
private |
◆ SetPreParse()
void BadScript2.Interactive.BadInteractiveConsoleApi.SetPreParse |
( |
bool |
enable | ) |
|
|
private |
◆ m_Console
The documentation for this class was generated from the following file: