C# Class Microsoft.Scripting.Runtime.LegacyScriptCode

Inheritance: SavableScriptCode
Exibir arquivo Open project: jschementi/iron

Public Methods

Method Description
EnsureCompiled ( ) : void
LegacyScriptCode ( LambdaExpression code, DlrMainCallTarget target, SourceUnit sourceUnit ) : System.Linq.Expressions
LegacyScriptCode ( LambdaExpression code, SourceUnit sourceUnit ) : System.Linq.Expressions
Load ( DlrMainCallTarget method, LanguageContext language, string path ) : ScriptCode
Run ( ) : object
Run ( Scope scope ) : object

Protected Methods

Method Description
CompileForSave ( TypeGen typeGen ) : Type>.KeyValuePair
InvokeTarget ( LambdaExpression code, Scope scope ) : object

Private Methods

Method Description
EnsureTarget ( LambdaExpression code ) : DlrMainCallTarget

Method Details

CompileForSave() protected method

protected CompileForSave ( TypeGen typeGen ) : Type>.KeyValuePair
typeGen Microsoft.Scripting.Generation.TypeGen
return Type>.KeyValuePair

EnsureCompiled() public method

public EnsureCompiled ( ) : void
return void

InvokeTarget() protected method

protected InvokeTarget ( LambdaExpression code, Scope scope ) : object
code System.Linq.Expressions.LambdaExpression
scope Scope
return object

LegacyScriptCode() public method

public LegacyScriptCode ( LambdaExpression code, DlrMainCallTarget target, SourceUnit sourceUnit ) : System.Linq.Expressions
code System.Linq.Expressions.LambdaExpression
target DlrMainCallTarget
sourceUnit SourceUnit
return System.Linq.Expressions

LegacyScriptCode() public method

public LegacyScriptCode ( LambdaExpression code, SourceUnit sourceUnit ) : System.Linq.Expressions
code System.Linq.Expressions.LambdaExpression
sourceUnit SourceUnit
return System.Linq.Expressions

Load() public static method

public static Load ( DlrMainCallTarget method, LanguageContext language, string path ) : ScriptCode
method DlrMainCallTarget
language LanguageContext
path string
return ScriptCode

Run() public method

public Run ( ) : object
return object

Run() public method

public Run ( Scope scope ) : object
scope Scope
return object