Exemplo n.º 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;
 }
Exemplo n.º 2
0
 private Expr withLocation(Expr expr) {
   expr.setLocation(currentLocation);
   return expr;
 }