TypedKlass resultKlass = null;
TypeContext type = ctx.type();
if (type != null) {
// 手动定义返回变量的类型
SegmentCode c = (SegmentCode) type.accept(this);
resultKlass = c.getTypedKlass();
} else {
// 根据 expression 来进行自动类型推导
Class<?> rhsKlass = code.getKlass();
if (rhsKlass.isArray()) {