Examples of translateToExpression()


Examples of org.renjin.compiler.ir.tac.functions.FunctionCallTranslator.translateToExpression()

  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()));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.