(TypeInfo t)
| 250 | return code.toString(); |
| 251 | } |
| 252 | protected String javaType(TypeInfo t) { |
| 253 | if (t.type() == TypeInfo.INT) |
| 254 | return "int"; |
| 255 | else if (t.type() == TypeInfo.STRING) |
| 256 | return "String"; |
| 257 | else |
| 258 | return "Object"; |
| 259 | } |
| 260 | } |
| 261 | @Reviser public static class PrimaryEx2 extends FuncEvaluator.PrimaryEx { |
| 262 | public PrimaryEx2(List<ASTree> c) { super(c); } |