C# Class IronPython.Compiler.Ast.LookupCompilationMode

Provides globals for when we need to lookup into a dictionary for each global access. This is the slowest form of globals and is only used when we need to run against an arbitrary dictionary given to us by a user.
Inheritance: CompilationMode
Show file Open project: jschementi/iron

Public Methods

Method Description
GetGlobal ( System.Linq.Expressions globalContext, int arrayIndex, PythonVariable variable, PythonGlobal global ) : Expression
LookupCompilationMode ( ) : System
MakeScriptCode ( IronPython.Compiler.Ast.PythonAst ast ) : ScriptCode
ReduceAst ( IronPython.Compiler.Ast.PythonAst instance, string name ) : LightLambdaExpression

Method Details

GetGlobal() public method

public GetGlobal ( System.Linq.Expressions globalContext, int arrayIndex, PythonVariable variable, PythonGlobal global ) : Expression
globalContext System.Linq.Expressions
arrayIndex int
variable PythonVariable
global PythonGlobal
return System.Linq.Expressions.Expression

LookupCompilationMode() public method

public LookupCompilationMode ( ) : System
return System

MakeScriptCode() public method

public MakeScriptCode ( IronPython.Compiler.Ast.PythonAst ast ) : ScriptCode
ast IronPython.Compiler.Ast.PythonAst
return Microsoft.Scripting.ScriptCode

ReduceAst() public method

public ReduceAst ( IronPython.Compiler.Ast.PythonAst instance, string name ) : LightLambdaExpression
instance IronPython.Compiler.Ast.PythonAst
name string
return LightLambdaExpression