C# Class Scorpio.Runtime.ScriptContext

Datei anzeigen Open project: qingfeng346/Scorpio-CSharp Class Usage Examples

Private Properties

Property Type Description
ApplyVariableObject void
Execute Scorpio.ScriptObject
ExecuteInstruction void
GetMember object
GetVariable Scorpio.ScriptObject
GetVariableObject Scorpio.ScriptObject
Initialize void
InvokeBreak void
InvokeContinue void
InvokeReturnValue void
ParseArray ScriptArray
ParseAssign Scorpio.ScriptObject
ParseCall Scorpio.ScriptObject
ParseCallBlock void
ParseEval Scorpio.ScriptObject
ParseFunction Scorpio.ScriptFunction
ParseOperate Scorpio.ScriptObject
ParseRegion Scorpio.ScriptObject
ParseScriptObject Scorpio.ScriptObject
ParseTable Scorpio.ScriptTable
ParseTernary Scorpio.ScriptObject
ProcessAllow bool
ProcessBreak void
ProcessCallBlock void
ProcessCallFor void
ProcessCallForSimple void
ProcessCallForeach void
ProcessCallFunction void
ProcessCallIf void
ProcessCallSwitch void
ProcessCallWhile void
ProcessCondition void
ProcessContinue void
ProcessMov void
ProcessResolve void
ProcessRet void
ProcessThrow void
ProcessTry void
ProcessVar void
Reset void
ResolveOperand Scorpio.ScriptObject
ResolveOperand_impl Scorpio.ScriptObject
SetVariable void
SetVariableObject bool
SupportBreak bool
SupportContinue bool
SupportReturnValue bool

Public Methods

Method Description
Execute ( ) : ScriptObject
Initialize ( ScriptObject>.Dictionary variable ) : void
ScriptContext ( Script script, ScriptExecutable scriptExecutable ) : System
ScriptContext ( Script script, ScriptExecutable scriptExecutable, ScriptContext parent ) : System
ScriptContext ( Script script, ScriptExecutable scriptExecutable, ScriptContext parent, Executable_Block block ) : System

Private Methods

Method Description
ApplyVariableObject ( string name ) : void
Execute ( ScriptExecutable executable ) : ScriptObject
ExecuteInstruction ( ) : void
GetMember ( CodeMember member ) : object
GetVariable ( CodeMember member ) : ScriptObject
GetVariableObject ( string name ) : ScriptObject
Initialize ( string name, ScriptObject obj ) : void
InvokeBreak ( CodeObject bre ) : void
InvokeContinue ( CodeObject con ) : void
InvokeReturnValue ( ScriptObject value ) : void
ParseArray ( CodeArray array ) : ScriptArray
ParseAssign ( CodeAssign assign ) : ScriptObject
ParseCall ( CodeCallFunction scriptFunction, bool needRet ) : ScriptObject
ParseCallBlock ( CodeCallBlock block ) : void
ParseEval ( CodeEval eval ) : ScriptObject
ParseFunction ( CodeFunction func ) : ScriptFunction
ParseOperate ( CodeOperator operate ) : ScriptObject
ParseRegion ( CodeRegion region ) : ScriptObject
ParseScriptObject ( CodeScriptObject obj ) : ScriptObject
ParseTable ( CodeTable table ) : ScriptTable
ParseTernary ( CodeTernary ternary ) : ScriptObject
ProcessAllow ( TempCondition con ) : bool
ProcessBreak ( ) : void
ProcessCallBlock ( ) : void
ProcessCallFor ( ) : void
ProcessCallForSimple ( ) : void
ProcessCallForeach ( ) : void
ProcessCallFunction ( ) : void
ProcessCallIf ( ) : void
ProcessCallSwitch ( ) : void
ProcessCallWhile ( ) : void
ProcessCondition ( TempCondition condition ) : void
ProcessContinue ( ) : void
ProcessMov ( ) : void
ProcessResolve ( ) : void
ProcessRet ( ) : void
ProcessThrow ( ) : void
ProcessTry ( ) : void
ProcessVar ( ) : void
Reset ( ) : void
ResolveOperand ( CodeObject value ) : ScriptObject
ResolveOperand_impl ( CodeObject value ) : ScriptObject
SetVariable ( CodeMember member, ScriptObject variable ) : void
SetVariableObject ( string name, ScriptObject obj ) : bool
SupportBreak ( ) : bool
SupportContinue ( ) : bool
SupportReturnValue ( ) : bool

Method Details

Execute() public method

public Execute ( ) : ScriptObject
return Scorpio.ScriptObject

Initialize() public method

public Initialize ( ScriptObject>.Dictionary variable ) : void
variable ScriptObject>.Dictionary
return void

ScriptContext() public method

public ScriptContext ( Script script, ScriptExecutable scriptExecutable ) : System
script Script
scriptExecutable ScriptExecutable
return System

ScriptContext() public method

public ScriptContext ( Script script, ScriptExecutable scriptExecutable, ScriptContext parent ) : System
script Script
scriptExecutable ScriptExecutable
parent ScriptContext
return System

ScriptContext() public method

public ScriptContext ( Script script, ScriptExecutable scriptExecutable, ScriptContext parent, Executable_Block block ) : System
script Script
scriptExecutable ScriptExecutable
parent ScriptContext
block Executable_Block
return System