C# Класс 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.
Наследование: SavableScriptCode, ICustomScriptCodeData
Показать файл Открыть проект

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

Метод Описание
CreateScope ( ) : Scope
PythonSavableScriptCode ( Expression code, SourceUnit sourceUnit, string names, string moduleName ) : System.Linq.Expressions
Run ( ) : object
Run ( Scope scope ) : object

Защищенные методы

Метод Описание
CompileForSave ( TypeGen typeGen ) : Type>.KeyValuePair

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

Метод Описание
ICustomScriptCodeData ( ) : string

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

CompileForSave() защищенный Метод

protected CompileForSave ( TypeGen typeGen ) : Type>.KeyValuePair
typeGen Microsoft.Scripting.Generation.TypeGen
Результат Type>.KeyValuePair

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

public CreateScope ( ) : Scope
Результат Scope

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

public PythonSavableScriptCode ( Expression code, SourceUnit sourceUnit, string names, string moduleName ) : System.Linq.Expressions
code Expression
sourceUnit SourceUnit
names string
moduleName string
Результат System.Linq.Expressions

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

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

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

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