Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SetParent()

void System.Linq.Expressions.Compiler.CompilerScope.SetParent ( LambdaCompiler lc,
CompilerScope parent )
inlineprivate

Definition at line 367 of file CompilerScope.cs.

368 {
369 _parent = parent;
370 if (NeedsClosure && _parent != null)
371 {
373 }
376 select p).ToReadOnly();
377 if (readOnlyCollection.Count > 0)
378 {
381 }
382 }
IEnumerable< ParameterExpression > GetVariables()
readonly Dictionary< ParameterExpression, VariableStorageKind > Definitions
void AddLocal(LambdaCompiler gen, ParameterExpression variable)
readonly ParameterExpression SelfVariable

References System.Linq.Expressions.Compiler.CompilerScope._closureHoistedLocals, System.Linq.Expressions.Compiler.CompilerScope._hoistedLocals, System.Linq.Expressions.Compiler.CompilerScope._parent, System.Linq.Expressions.Compiler.CompilerScope.AddLocal(), System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.Linq.Expressions.Compiler.CompilerScope.Definitions, System.Linq.Expressions.Compiler.CompilerScope.GetVariables(), System.Linq.Expressions.Compiler.CompilerScope.NearestHoistedLocals, System.Linq.Expressions.Compiler.CompilerScope.NeedsClosure, and System.Linq.Expressions.Compiler.HoistedLocals.SelfVariable.

Referenced by System.Linq.Expressions.Compiler.CompilerScope.Enter().