added null support to parsing

This commit is contained in:
wea_ondara
2022-07-11 22:03:40 +02:00
parent 8bb2265abd
commit a267d7034b
10 changed files with 83 additions and 14 deletions

View File

@@ -0,0 +1,19 @@
package jef.expressions;
public class NullExpression extends ConstantExpression {
public static final NullExpression INSTANCE = new NullExpression();
private NullExpression() {
super(null);
}
@Override
public Type getType() {
return Type.NULL;
}
@Override
public String toString() {
return "NULL";
}
}