protected static Operator Init2(Operator op, BlockBase parent, NodeBase arg1, NodeBase arg2) { op.Parent = parent; if (arg1 != null) op.values.Add(arg1); if (arg2 != null) op.values.Add(arg2); return op; }
protected static Operator Init1(Operator op, BlockBase parent, NodeBase arg1) { return Init2(op, parent, arg1, null); }