Property | Type | Description | |
---|---|---|---|
AddLocal | void | ||
AllocateLocals | void | ||
CacheBoxToLocal | void | ||
CompilerScope | System | ||
EmitAddressOf | void | ||
EmitCachedVariables | void | ||
EmitClosureAccess | void | ||
EmitClosureToVariable | void | ||
EmitGet | void | ||
EmitNewHoistedLocals | void | ||
EmitSet | void | ||
EmitVariableAccess | void | ||
Enter | |||
Exit | |||
GetVariables | IList |
||
GetVariables | IList |
||
ResolveVariable | Storage | ||
ResolveVariable | Storage | ||
SetParent | void | ||
ShouldCache | bool | ||
ShouldCache | bool |
Method | Description | |
---|---|---|
AddLocal ( |
Adds a new virtual variable corresponding to an IL local
|
|
AllocateLocals ( |
||
CacheBoxToLocal ( |
||
CompilerScope ( object node, bool isMethod ) : System | ||
EmitAddressOf ( ParameterExpression variable ) : void | ||
EmitCachedVariables ( ) : void | ||
EmitClosureAccess ( |
||
EmitClosureToVariable ( |
||
EmitGet ( ParameterExpression variable ) : void | ||
EmitNewHoistedLocals ( |
||
EmitSet ( ParameterExpression variable ) : void | ||
EmitVariableAccess ( |
||
Enter ( |
Called when entering a lambda/block. Performs all variable allocation needed, including creating hoisted locals and IL locals for accessing parent locals
|
|
Exit ( ) : |
Frees unnamed locals, clears state associated with this compiler
|
|
GetVariables ( ) : IList |
||
GetVariables ( object scope ) : IList |
||
ResolveVariable ( ParameterExpression variable ) : Storage | ||
ResolveVariable ( ParameterExpression variable, |
Resolve a local variable in this scope or a closed over scope Throws if the variable is defined
|
|
SetParent ( |
||
ShouldCache ( ParameterExpression v ) : bool | ||
ShouldCache ( ParameterExpression v, int refCount ) : bool |