return null;
List<Constant> accessors = context.getEnvironment().getFieldAccessors(idAccessor.fieldName);
if(accessors == null) {
- context.getErrorLog().log("Couldn't resolve accessor ." + idAccessor.fieldName + ".");
+ context.getErrorLog().log(idAccessor.location, "Couldn't resolve accessor ." + idAccessor.fieldName + ".");
return new EError(location);
}
Expression accessorExpression;
public Type getType() {
return accessors.get(index).getType();
}
+ @Override
+ public String toString() {
+ return accessors.get(index).toString();
+ }
};
}
accessorExpression = new EAmbiguous(alternatives);