Ejemplo n.º 1
0
        public ClosureParentField(IClosureBuilder closure, FieldInfo field)
        {
            if (closure == null)
                throw new ArgumentNullException("closure");
            if (field == null)
                throw new ArgumentNullException("field");

            Closure = closure;
            Field = field;
        }
Ejemplo n.º 2
0
 public ClosureSubstituter(ParameterExpression closure, IClosureBuilder closureBuilder, Dictionary <ParameterExpression, int> parameters)
 {
     this.closure        = closure;
     this.closureBuilder = closureBuilder;
     this.parameters     = parameters;
 }
Ejemplo n.º 3
0
		public void PushFunction(IClosureBuilder closureBuilder, bool hasVarArgs)
		{
			m_ClosureBuilders.Add(closureBuilder);
			m_Frames.Add(new BuildTimeScopeFrame(hasVarArgs));
		}
Ejemplo n.º 4
0
 public ExpressionClosureBuilder(LambdaExpression lambda, IClosureBuilder closureBuilder, IClosureBuilder constantsBuilder)
 {
     this.lambda           = lambda;
     this.closureBuilder   = closureBuilder;
     this.constantsBuilder = constantsBuilder;
 }
Ejemplo n.º 5
0
 public void PushFunction(IClosureBuilder closureBuilder, bool hasVarArgs)
 {
     m_ClosureBuilders.Add(closureBuilder);
     m_Frames.Add(new BuildTimeScopeFrame(hasVarArgs));
 }