Exemple #1
0
 public Primitive Not()
 {
     return(PROGRAM.PerformOperation(UniOperand.NOT, this));
 }
Exemple #2
0
 public Primitive GetValue()
 {
     return(PROGRAM.PerformOperation(operand, a.GetValue()));
 }
Exemple #3
0
 public int Compare(Primitive p)
 {
     return(Convert.ToInt32(CastNumber(PROGRAM.PerformOperation(BiOperand.COMPARE, this, p)).GetTypedValue()));
 }
Exemple #4
0
 public Primitive Divide(Primitive p)
 {
     return(PROGRAM.PerformOperation(BiOperand.DIVIDE, this, p));
 }
Exemple #5
0
 public Primitive Multiply(Primitive p)
 {
     return(PROGRAM.PerformOperation(BiOperand.MULTIPLY, this, p));
 }
Exemple #6
0
 public Primitive Minus(Primitive p)
 {
     return(PROGRAM.PerformOperation(BiOperand.SUBTACT, this, p));
 }
Exemple #7
0
 public Primitive Plus(Primitive p)
 {
     return(PROGRAM.PerformOperation(BiOperand.ADD, this, p));
 }