C# Class UnityScript.Scripting.Evaluator

ファイルを表示 Open project: CarlosHBC/UnityDecompiled

Protected Properties

Property Type Description
_cacheKey EvaluationScriptCacheKey
_code string
_compilationResult Boo.Lang.Compiler.CompilerContext
_context EvaluationContext

Public Methods

Method Description
ActivateScript ( Type scriptType ) : EvaluationScript
AdjustPipeline ( EvaluationContext context, CompilerPipeline pipeline ) : CompilerPipeline
Eval ( EvaluationContext context, string code ) : object
Evaluator ( EvaluationContext context, string code ) : Boo.Lang.Compiler
IsTainted ( Boo.Lang.Compiler.Ast.CompileUnit cu ) : bool
Run ( ) : object
Taint ( Boo.Lang.Compiler.Ast.CompileUnit cu ) : void

Private Methods

Method Description
AddEvaluationContextReferencesTo ( UnityScriptCompiler compiler ) : void
CacheScript ( Type type ) : void
CompileScript ( ) : Type
DoCompile ( ) : Type
GetCachedScript ( ) : Type
GetEvaluationDomain ( ) : EvaluationDomain

Method Details

ActivateScript() public method

public ActivateScript ( Type scriptType ) : EvaluationScript
scriptType System.Type
return EvaluationScript

AdjustPipeline() public static method

public static AdjustPipeline ( EvaluationContext context, CompilerPipeline pipeline ) : CompilerPipeline
context EvaluationContext
pipeline Boo.Lang.Compiler.CompilerPipeline
return Boo.Lang.Compiler.CompilerPipeline

Eval() public static method

public static Eval ( EvaluationContext context, string code ) : object
context EvaluationContext
code string
return object

Evaluator() public method

public Evaluator ( EvaluationContext context, string code ) : Boo.Lang.Compiler
context EvaluationContext
code string
return Boo.Lang.Compiler

IsTainted() public static method

public static IsTainted ( Boo.Lang.Compiler.Ast.CompileUnit cu ) : bool
cu Boo.Lang.Compiler.Ast.CompileUnit
return bool

Run() public method

public Run ( ) : object
return object

Taint() public static method

public static Taint ( Boo.Lang.Compiler.Ast.CompileUnit cu ) : void
cu Boo.Lang.Compiler.Ast.CompileUnit
return void

Property Details

_cacheKey protected_oe property

protected EvaluationScriptCacheKey,UnityScript.Scripting _cacheKey
return EvaluationScriptCacheKey

_code protected_oe property

protected string _code
return string

_compilationResult protected_oe property

protected CompilerContext,Boo.Lang.Compiler _compilationResult
return Boo.Lang.Compiler.CompilerContext

_context protected_oe property

protected EvaluationContext,UnityScript.Scripting _context
return EvaluationContext