Map 定义初始化表达式,添加支持 key 可以为 int、long、float、double、true、false、null 常量
This commit is contained in:
@@ -43,7 +43,7 @@ import com.jfinal.template.stat.ParseException;
|
||||
*/
|
||||
public class NumTok extends Tok {
|
||||
|
||||
private Object value;
|
||||
private Number value;
|
||||
|
||||
NumTok(Sym sym, String s, int radix, boolean isScientificNotation, Location location) {
|
||||
super(sym, location.getRow());
|
||||
@@ -101,3 +101,8 @@ public class NumTok extends Tok {
|
||||
return sym.value() + " : " + value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user