// can have multiple nodes - either an expression, integer literal or reference
int numChildren = node.jjtGetNumChildren();
for (int i = 1; i < numChildren; i++) {
JexlNode nindex = node.jjtGetChild(i);
if (nindex instanceof JexlNode.Literal<?>) {
object = nindex.jjtAccept(this, object);
} else {
Object index = nindex.jjtAccept(this, null);
object = getAttribute(object, index, nindex);
}
}