예제 #1
0
 public Function5Args(EvaluatableParamters p, Func <T, T, T, T, T, T> function) : base(p)
 {
     _func = function;
 }
예제 #2
0
 protected BaseEvaluatable(EvaluatableParamters p, Func <T, T> unaryFunc = null) : this(p.Symbol, p.Precedence, p.Associativity, p.InputArgs, p.SpecialUnary, unaryFunc)
 {
 }
예제 #3
0
 public Operator1Arg(EvaluatableParamters p, Func <T, T> function) : base(p)
 {
     _func = function;
 }
예제 #4
0
 protected BaseFunction(EvaluatableParamters p) : base(p)
 {
 }
예제 #5
0
 public Operator2Args(EvaluatableParamters p, Func <T, T, T> function, Func <T, T> unaryFunc = null) : base(p, unaryFunc)
 {
     _func = (arg1, arg2) => Associativity == Associativity.L ? function(arg2, arg1) : function(arg1, arg2);
 }