}
public Expression translatePrimitiveCall(TranslationContext context,
FunctionCall call) {
SEXP function = call.getFunction();
FunctionCallTranslator translator = builders.get(function);
if(translator != null) {
return translator.translateToExpression(this, context, call);
} else {
if(!(function instanceof Symbol)) {
throw new IllegalArgumentException("Expected symbol, got '" + function + "'");
}
return new PrimitiveCall(call, (Symbol)function, makeEvaledArgList(context, call.getArguments()));