Example #1
0
 private Expr compare(BinaryOperation op, Variable value) {
   Expr expr = Expr.binary(op, Expr.var(value.getIndex()), Expr.constant(0));
   expr.setLocation(currentLocation);
   return expr;
 }
Example #2
0
 private Expr withLocation(Expr expr) {
   expr.setLocation(currentLocation);
   return expr;
 }