Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Linq.Expressions.Compiler.CompilerScope Class Referencesealed

Classes

class  ArgumentStorage
 
class  ElementBoxStorage
 
class  LocalBoxStorage
 
class  LocalStorage
 
class  Storage
 

Package Functions

 CompilerScope (object node, bool isMethod)
 
CompilerScope Enter (LambdaCompiler lc, CompilerScope parent)
 
CompilerScope Exit ()
 
void EmitVariableAccess (LambdaCompiler lc, ReadOnlyCollection< ParameterExpression > vars)
 
void AddLocal (LambdaCompiler gen, ParameterExpression variable)
 
void EmitGet (ParameterExpression variable)
 
void EmitSet (ParameterExpression variable)
 
void EmitAddressOf (ParameterExpression variable)
 

Package Attributes

readonly object Node
 
readonly bool IsMethod
 
bool NeedsClosure
 
readonly Dictionary< ParameterExpression, VariableStorageKindDefinitions = new Dictionary<ParameterExpression, VariableStorageKind>()
 
Dictionary< ParameterExpression, int > ReferenceCount
 
HashSet< BlockExpressionMergedScopes
 

Properties

HoistedLocals NearestHoistedLocals [get]
 
string CurrentLambdaName [get]
 

Private Member Functions

Storage ResolveVariable (ParameterExpression variable)
 
Storage ResolveVariable (ParameterExpression variable, HoistedLocals hoistedLocals)
 
void SetParent (LambdaCompiler lc, CompilerScope parent)
 
void EmitNewHoistedLocals (LambdaCompiler lc)
 
void EmitCachedVariables ()
 
bool ShouldCache (ParameterExpression v, int refCount)
 
bool ShouldCache (ParameterExpression v)
 
void CacheBoxToLocal (LambdaCompiler lc, ParameterExpression v)
 
void EmitClosureAccess (LambdaCompiler lc, HoistedLocals locals)
 
void EmitClosureToVariable (LambdaCompiler lc, HoistedLocals locals)
 
void AllocateLocals (LambdaCompiler lc)
 
IEnumerable< ParameterExpressionGetVariables ()
 
IEnumerable< ParameterExpressionGetVariablesIncludingMerged ()
 

Static Private Member Functions

static IReadOnlyList< ParameterExpressionGetVariables (object scope)
 

Private Attributes

CompilerScope _parent
 
HoistedLocals _hoistedLocals
 
HoistedLocals _closureHoistedLocals
 
readonly Dictionary< ParameterExpression, Storage_locals = new Dictionary<ParameterExpression, Storage>()
 

Detailed Description

Definition at line 10 of file CompilerScope.cs.


The documentation for this class was generated from the following file: