Example #1
0
            internal SelectOperatorValueOp(string intoName, OperatorOp operand) : base(intoName)
            {
                if (operand == null)
                {
                    throw new LockingException(StringConsts.ARGUMENT_ERROR + "SelectOperatorValue(operand=null)");
                }

                Operand = operand;
            }
Example #2
0
            internal AssertOp(OperatorOp condition)
            {
                if (condition == null)
                {
                    throw new LockingException(StringConsts.ARGUMENT_ERROR + "Assert(condition=null)");
                }

                Condition = condition;
            }
Example #3
0
            internal NotOp(OperatorOp operand)
            {
                if (operand == null)
                {
                    throw new LockingException(StringConsts.ARGUMENT_ERROR + "Not(operand=null)");
                }

                Operand = operand;
            }
Example #4
0
            public BinaryOperatorOp(OperatorOp lop, OperatorOp rop)
            {
                if (lop == null || rop == null)
                {
                    throw new LockingException(StringConsts.ARGUMENT_ERROR + "BinOp(lop|rop=null)");
                }

                LeftOperand  = lop;
                RightOperand = rop;
            }
Example #5
0
 internal IfOp(OperatorOp condition, StatementOp then, StatementOp elze)
 {
     if (condition == null || then == null)
     {
         throw new LockingException(StringConsts.ARGUMENT_ERROR + "IfOp(condition|then==null)");
     }
     Condition = condition;
     Then      = then;
     Else      = elze;
 }
Example #6
0
 public static SelectOperatorValueOp SelectOperatorValue(string intoName, OperatorOp operand)
 {
     return(new SelectOperatorValueOp(intoName, operand));
 }
Example #7
0
 public static AssertOp Assert(OperatorOp condition)
 {
     return(new AssertOp(condition));
 }
Example #8
0
 public static IfOp If(OperatorOp condition, StatementOp then, StatementOp elze = null)
 {
     return(new IfOp(condition, then, elze));
 }
Example #9
0
 internal XorOp(OperatorOp lop, OperatorOp rop) : base(lop, rop)
 {
 }
Example #10
0
 public static XorOp Xor(OperatorOp lop, OperatorOp rop)
 {
     return(new XorOp(lop, rop));
 }
Example #11
0
 public static OrOp Or(OperatorOp lop, OperatorOp rop)
 {
     return(new OrOp(lop, rop));
 }
Example #12
0
 public static AndOp And(OperatorOp lop, OperatorOp rop)
 {
     return(new AndOp(lop, rop));
 }
Example #13
0
 public static NotOp Not(OperatorOp operand)
 {
     return(new NotOp(operand));
 }