C# Class IronPython.Compiler.PythonSavableScriptCode

A ScriptCode which can be saved to disk. We only create this when called via the clr.CompileModules API. This ScriptCode does not support running.
Inheritance: SavableScriptCode, ICustomScriptCodeData
Datei anzeigen Open project: jschementi/iron

Public Methods

Method Description
CreateScope ( ) : Scope
PythonSavableScriptCode ( Expression code, SourceUnit sourceUnit, string names, string moduleName ) : System.Linq.Expressions
Run ( ) : object
Run ( Scope scope ) : object

Protected Methods

Method Description
CompileForSave ( TypeGen typeGen ) : Type>.KeyValuePair

Private Methods

Method Description
ICustomScriptCodeData ( ) : string

Method Details

CompileForSave() protected method

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

CreateScope() public method

public CreateScope ( ) : Scope
return Scope

PythonSavableScriptCode() public method

public PythonSavableScriptCode ( Expression code, SourceUnit sourceUnit, string names, string moduleName ) : System.Linq.Expressions
code Expression
sourceUnit SourceUnit
names string
moduleName string
return System.Linq.Expressions

Run() public method

public Run ( ) : object
return object

Run() public method

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