if (_arrayRefNode instanceof ExpressionNodeForArrayReference) {
final Collection<ExpressionNode> args = _arrayRefNode.arguments();
return args.toArray( new ExpressionNode[ args.size() ] );
}
else if (_arrayRefNode instanceof ExpressionNodeForLetVar) {
final ExpressionNodeForLetVar var = (ExpressionNodeForLetVar) _arrayRefNode;
final Object res = letDict().lookup( var.varName() );
final ExpressionNode val = (ExpressionNode) res;
return arrayRefElements( _outerNode, val );
}
else {
throw new CompilerException.UnsupportedExpression( "Array reference expected in "