internal SelectOperatorValueOp(string intoName, OperatorOp operand) : base(intoName) { if (operand == null) { throw new LockingException(StringConsts.ARGUMENT_ERROR + "SelectOperatorValue(operand=null)"); } Operand = operand; }
internal AssertOp(OperatorOp condition) { if (condition == null) { throw new LockingException(StringConsts.ARGUMENT_ERROR + "Assert(condition=null)"); } Condition = condition; }
internal NotOp(OperatorOp operand) { if (operand == null) { throw new LockingException(StringConsts.ARGUMENT_ERROR + "Not(operand=null)"); } Operand = operand; }
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; }
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; }
public static SelectOperatorValueOp SelectOperatorValue(string intoName, OperatorOp operand) { return(new SelectOperatorValueOp(intoName, operand)); }
public static AssertOp Assert(OperatorOp condition) { return(new AssertOp(condition)); }
public static IfOp If(OperatorOp condition, StatementOp then, StatementOp elze = null) { return(new IfOp(condition, then, elze)); }
internal XorOp(OperatorOp lop, OperatorOp rop) : base(lop, rop) { }
public static XorOp Xor(OperatorOp lop, OperatorOp rop) { return(new XorOp(lop, rop)); }
public static OrOp Or(OperatorOp lop, OperatorOp rop) { return(new OrOp(lop, rop)); }
public static AndOp And(OperatorOp lop, OperatorOp rop) { return(new AndOp(lop, rop)); }
public static NotOp Not(OperatorOp operand) { return(new NotOp(operand)); }