@Override public ResolvedStructType caseStructureConstant(StructureConstant object) { EList<TypedConstant> values = object.getList().getTypedConstants(); List<ResolvedType> resolvedTypes = new ArrayList<ResolvedType>(values.size()); for (TypedConstant tc : values) { resolvedTypes.add(resolve(tc.getType())); } return new ResolvedStructType(resolvedTypes, object.getPacked() != null, true); }
@Override public ResolvedType caseTypedConstant(TypedConstant object) { return resolve(object.getType()); }