added to to binary expression
This commit is contained in:
@@ -25,6 +25,7 @@ public class BinaryExpression implements Expression {
|
|||||||
case EQ, NE, IS -> Priority.EQUALITY;
|
case EQ, NE, IS -> Priority.EQUALITY;
|
||||||
case LT, LE, GT, GE -> Priority.RELATIONAL;
|
case LT, LE, GT, GE -> Priority.RELATIONAL;
|
||||||
case IN -> Priority.RELATIONAL; //or equality?
|
case IN -> Priority.RELATIONAL; //or equality?
|
||||||
|
//TODO +-, */, %, ...
|
||||||
default -> throw new IllegalStateException();
|
default -> throw new IllegalStateException();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user