Esempio n. 1
0
 /// <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;
 }
Esempio n. 2
0
 //---------------------------------------------------------------UnaryOpIntrinsics
 public void CreateUnaryOpIntrinsic(UnaryOpKey key, UnaryOpDelegate intrinsic)
 {
     UnaryOpIntrinsics.TryAdd(key, intrinsic);
 }