Property | Type | Description | |
---|---|---|---|
_body |
Property | Type | Description | |
---|---|---|---|
AddDefaultReturn | |||
AddReturnTarget | |||
Bind | void | ||
BindReference | |||
CompileAssignment | void | ||
CreateFunctionInstructions | void | ||
CreateFunctionLambda | Microsoft.Scripting.Ast.LightLambdaExpression | ||
CreateFunctionVariables | void | ||
CreateParameters | System.Linq.Expressions.ParameterExpression[] | ||
EmitDebugFunction | bool | ||
EnsureFunctionLambda | Microsoft.Scripting.Ast.LightLambdaExpression | ||
ExposesLocalVariable | bool | ||
FinishBind | void | ||
FunctionDefinition | System | ||
FunctionDefinition | System | ||
GetDelegateType | |||
GetLambda | Microsoft.Scripting.Ast.LightLambdaExpression | ||
GetParentClosureTuple | |||
GetVarNames | IList |
||
InitializeParameters | void | ||
MakeFunctionExpression | |||
RewriteBody | void | ||
TryBindOuter | bool | ||
Verify | void |
Method | Description | |
---|---|---|
FunctionDefinition ( string name, |
||
FunctionDefinition ( string name, |
||
Reduce ( ) : |
||
Walk ( IronPython.Compiler.Ast.PythonWalker walker ) : void |
Method | Description | |
---|---|---|
IInstructionProvider ( LightCompiler compiler ) : void |
Method | Description | |
---|---|---|
AddDefaultReturn ( System.Linq.Expressions body, |
||
AddReturnTarget ( System.Linq.Expressions expression ) : |
||
Bind ( |
||
BindReference ( |
||
CompileAssignment ( LightCompiler compiler, System.Linq.Expressions variable, Action |
||
CreateFunctionInstructions ( LightCompiler compiler ) : void | ||
CreateFunctionLambda ( ) : Microsoft.Scripting.Ast.LightLambdaExpression |
Creates the LambdaExpression which implements the body of the function. The functions signature is either "object Function(PythonFunction, ...)" where there is one object parameter for each user defined parameter or object Function(PythonFunction, object[]) for functions which take more than PythonCallTargets.MaxArgs arguments.
|
|
CreateFunctionVariables ( ReadOnlyCollectionBuilder |
||
CreateParameters ( bool needsWrapperMethod, ReadOnlyCollectionBuilder |
||
EmitDebugFunction ( ) : bool | ||
EnsureFunctionLambda ( ) : Microsoft.Scripting.Ast.LightLambdaExpression |
Creates the LambdaExpression which is the actual function body.
|
|
ExposesLocalVariable ( |
||
FinishBind ( |
||
FunctionDefinition ( string name, |
||
FunctionDefinition ( string name, |
||
GetDelegateType ( |
Determines delegate type for the Python function
|
|
GetLambda ( ) : Microsoft.Scripting.Ast.LightLambdaExpression | ||
GetParentClosureTuple ( ) : |
Pulls the closure tuple from our function/generator which is flowed into each function call.
|
|
GetVarNames ( ) : IList |
||
InitializeParameters ( List |
||
MakeFunctionExpression ( ) : |
Returns an expression which creates the function object.
|
|
RewriteBody ( IronPython.Compiler.Ast.PythonAst visitor ) : void | ||
TryBindOuter ( |
||
Verify ( |
public FunctionDefinition ( string name, |
||
name | string | |
parameters | ||
return | System |
public FunctionDefinition ( string name, |
||
name | string | |
parameters | ||
body | ||
return | System |
protected IInstructionProvider ( LightCompiler compiler ) : void | ||
compiler | LightCompiler | |
return | void |
public Walk ( IronPython.Compiler.Ast.PythonWalker walker ) : void | ||
walker | IronPython.Compiler.Ast.PythonWalker | |
return | void |