int id = controller.getCompileStack().defineTemporaryVariable("$subscript", true);
VariableSlotLoader subscriptExpression = new VariableSlotLoader(id,operandStack);
// do modified visit
BinaryExpression newBe = new BinaryExpression(be.getLeftExpression(), be.getOperation(), subscriptExpression);
newBe.setSourcePosition(be);
newBe.visit(controller.getAcg());
return subscriptExpression;
}
}
// normal loading of expression