Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros

◆ VisitLambda< T >()

override Expression System.Linq.Expressions.Compiler.VariableBinder.VisitLambda< T > ( Expression< T > node)
inlinepackagevirtual

Reimplemented from System.Linq.Expressions.ExpressionVisitor.

Definition at line 86 of file VariableBinder.cs.

87 {
89 CompilerScope item = (_tree.Scopes[node] = new CompilerScope(node, isMethod: true));
90 scopes.Push(item);
92 BoundConstants item2 = (_tree.Constants[node] = new BoundConstants());
93 constants.Push(item2);
95 _constants.Pop();
96 _scopes.Pop();
97 return node;
98 }
readonly Dictionary< object, CompilerScope > Scopes
readonly Dictionary< LambdaExpression, BoundConstants > Constants
readonly Stack< CompilerScope > _scopes
readonly Stack< BoundConstants > _constants
override Expression Visit(Expression node)
ReadOnlyCollection< Expression > MergeScopes(Expression node)

References System.Linq.Expressions.Compiler.VariableBinder._constants, System.Linq.Expressions.Compiler.VariableBinder._scopes, System.Linq.Expressions.Compiler.VariableBinder._tree, System.Linq.Expressions.Compiler.AnalyzedTree.Constants, System.item, System.Linq.Expressions.Compiler.VariableBinder.MergeScopes(), System.Linq.Expressions.Compiler.AnalyzedTree.Scopes, and System.Linq.Expressions.Compiler.VariableBinder.Visit().