// evaluate expr-a to value-a
Object base = this.children[0].getValue(ctx);
// if our base is null (we know there are more properites to evaluate)
if (base == null) {
throw new PropertyNotFoundException(MessageFactory.get(
"error.unreachable.base", this.children[0].getImage()));
}
// set up our start/end
int propCount = this.jjtGetNumChildren() - 1;
int i = 1;
while (base != null && i < propCount) {
base = ((ValueSuffixNode) this.children[i]).getTarget(base, ctx);
i++;
if (base == null) {
throw new PropertyNotFoundException(MessageFactory.get(
"error.unreachable.base", this.children[0].getImage()));
}
}
Target t = new Target();