added to to binary expression

This commit is contained in:
wea_ondara
2022-11-24 14:55:16 +01:00
parent 922da9556c
commit cd30f58500

View File

@@ -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();
}; };
} }