C# Class IronPython.Compiler.RuntimeScriptCode

Represents a script code which can be consumed at runtime as-is. This code has no external dependencies and is closed over it's scope.
Inheritance: Microsoft.Scripting.ScriptCode
Afficher le fichier Open project: jschementi/iron

Méthodes publiques

Méthode Description
CreateScope ( ) : Scope
GetFunctionCode ( bool register ) : FunctionCode
Run ( ) : object
Run ( Scope scope ) : object
RuntimeScriptCode ( IronPython.Compiler.Ast.PythonAst ast, CodeContext codeContext ) : System

Private Methods

Méthode Description
Compile ( ) : object>.Func
EnsureCompiled ( ) : void
InvokeTarget ( Scope scope ) : object
OptimizedEvalWrapper ( FunctionCode funcCode ) : object

Method Details

CreateScope() public méthode

public CreateScope ( ) : Scope
Résultat Scope

GetFunctionCode() public méthode

public GetFunctionCode ( bool register ) : FunctionCode
register bool
Résultat IronPython.Runtime.FunctionCode

Run() public méthode

public Run ( ) : object
Résultat object

Run() public méthode

public Run ( Scope scope ) : object
scope Scope
Résultat object

RuntimeScriptCode() public méthode

public RuntimeScriptCode ( IronPython.Compiler.Ast.PythonAst ast, CodeContext codeContext ) : System
ast IronPython.Compiler.Ast.PythonAst
codeContext CodeContext
Résultat System