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
Show file Open project: jschementi/iron

Public Methods

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

Private Methods

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

Method Details

CreateScope() public method

public CreateScope ( ) : Scope
return Scope

GetFunctionCode() public method

public GetFunctionCode ( bool register ) : FunctionCode
register bool
return IronPython.Runtime.FunctionCode

Run() public method

public Run ( ) : object
return object

Run() public method

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

RuntimeScriptCode() public method

public RuntimeScriptCode ( IronPython.Compiler.Ast.PythonAst ast, CodeContext codeContext ) : System
ast IronPython.Compiler.Ast.PythonAst
codeContext CodeContext
return System