/// <summary> /// Creates a new UnaryOperator /// </summary> /// <param name="strOp">the string representation of the operator</param> /// <param name="doOp">the method that processes the operand</param> /// <param name="side">the side that the operand is on</param> public UnaryOperator(string strOp, UnaryOpDelegate doOp, OperandSide side = OperandSide.Right) { OperatorString = strOp; ExecuteOperator = doOp; Side = side; }
//---------------------------------------------------------------UnaryOpIntrinsics public void CreateUnaryOpIntrinsic(UnaryOpKey key, UnaryOpDelegate intrinsic) { UnaryOpIntrinsics.TryAdd(key, intrinsic); }