C# Class ScriptNET.Runtime.ScriptContext

Base implementation of ScriptContext object
Inheritance: IScriptContext
Afficher le fichier Open project: Zepheus/Fiesta_Utils Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
CreateScope ( ) : void

Creates new default nested scope

CreateScope ( IScriptScope scope ) : void

Replace existing scope with new one

GetFunctionDefinition ( string name ) : IInvokable

Finds function definition in current scope

GetItem ( string id, bool throwException ) : object
IsBreak ( ) : bool

Break state

IsContinue ( ) : bool

Continue state

IsReturn ( ) : bool

Return state

RemoveLocalScope ( ) : void

Remove Local Scope

ScriptContext ( ) : System

Creates new Script Context with Default scope

SetBreak ( bool val ) : void

Set break state of run-time

SetContinue ( bool val ) : void

Set continue state of run-time

SetItem ( string id, object value ) : void
SetReturn ( bool val ) : void

Set return state of run-time

Method Details

CreateScope() public méthode

Creates new default nested scope
public CreateScope ( ) : void
Résultat void

CreateScope() public méthode

Replace existing scope with new one
public CreateScope ( IScriptScope scope ) : void
scope IScriptScope
Résultat void

GetFunctionDefinition() public méthode

Finds function definition in current scope
public GetFunctionDefinition ( string name ) : IInvokable
name string function name
Résultat IInvokable

GetItem() public méthode

public GetItem ( string id, bool throwException ) : object
id string
throwException bool
Résultat object

IsBreak() public méthode

Break state
public IsBreak ( ) : bool
Résultat bool

IsContinue() public méthode

Continue state
public IsContinue ( ) : bool
Résultat bool

IsReturn() public méthode

Return state
public IsReturn ( ) : bool
Résultat bool

RemoveLocalScope() public méthode

Remove Local Scope
public RemoveLocalScope ( ) : void
Résultat void

ScriptContext() public méthode

Creates new Script Context with Default scope
public ScriptContext ( ) : System
Résultat System

SetBreak() public méthode

Set break state of run-time
public SetBreak ( bool val ) : void
val bool true or false
Résultat void

SetContinue() public méthode

Set continue state of run-time
public SetContinue ( bool val ) : void
val bool true or false
Résultat void

SetItem() public méthode

public SetItem ( string id, object value ) : void
id string
value object
Résultat void

SetReturn() public méthode

Set return state of run-time
public SetReturn ( bool val ) : void
val bool true or false
Résultat void