C# Класс UnityScript.Scripting.Evaluator

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
_cacheKey EvaluationScriptCacheKey
_code string
_compilationResult Boo.Lang.Compiler.CompilerContext
_context EvaluationContext

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
AddEvaluationContextReferencesTo ( UnityScriptCompiler compiler ) : void
CacheScript ( Type type ) : void
CompileScript ( ) : Type
DoCompile ( ) : Type
GetCachedScript ( ) : Type
GetEvaluationDomain ( ) : EvaluationDomain

Описание методов

ActivateScript() публичный Метод

public ActivateScript ( Type scriptType ) : EvaluationScript
scriptType System.Type
Результат EvaluationScript

AdjustPipeline() публичный статический Метод

public static AdjustPipeline ( EvaluationContext context, CompilerPipeline pipeline ) : CompilerPipeline
context EvaluationContext
pipeline Boo.Lang.Compiler.CompilerPipeline
Результат Boo.Lang.Compiler.CompilerPipeline

Eval() публичный статический Метод

public static Eval ( EvaluationContext context, string code ) : object
context EvaluationContext
code string
Результат object

Evaluator() публичный Метод

public Evaluator ( EvaluationContext context, string code ) : Boo.Lang.Compiler
context EvaluationContext
code string
Результат Boo.Lang.Compiler

IsTainted() публичный статический Метод

public static IsTainted ( Boo.Lang.Compiler.Ast.CompileUnit cu ) : bool
cu Boo.Lang.Compiler.Ast.CompileUnit
Результат bool

Run() публичный Метод

public Run ( ) : object
Результат object

Taint() публичный статический Метод

public static Taint ( Boo.Lang.Compiler.Ast.CompileUnit cu ) : void
cu Boo.Lang.Compiler.Ast.CompileUnit
Результат void

Описание свойств

_cacheKey защищенное свойство

protected EvaluationScriptCacheKey,UnityScript.Scripting _cacheKey
Результат EvaluationScriptCacheKey

_code защищенное свойство

protected string _code
Результат string

_compilationResult защищенное свойство

protected CompilerContext,Boo.Lang.Compiler _compilationResult
Результат Boo.Lang.Compiler.CompilerContext

_context защищенное свойство

protected EvaluationContext,UnityScript.Scripting _context
Результат EvaluationContext