enjoy 3.3 release ^_^
This commit is contained in:
@@ -72,10 +72,6 @@ public class Const extends Expr {
|
||||
return value;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return value.toString();
|
||||
}
|
||||
|
||||
public boolean isStr() {
|
||||
return type == Sym.STR;
|
||||
}
|
||||
@@ -139,6 +135,10 @@ public class Const extends Expr {
|
||||
public Double getDouble() {
|
||||
return (Double)value;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return value != null ? value.toString() : "null";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user