Package org.renjin.compiler.ir.tac.expressions

Examples of org.renjin.compiler.ir.tac.expressions.PrimitiveCall


   
    Expression object = builder.translateExpression(context, call.getArgument(0));
    Symbol index = call.getArgument(1);
    Expression replacement = builder.translateExpression(context, call.getArgument(2));
   
    return new PrimitiveCall(call, "$<-", builder.simplify(object), new Constant(index), replacement);
  }
View Full Code Here


      TranslationContext context, FunctionCall call, Expression rhs) {
   
    Expression object = builder.translateExpression(context, call.getArgument(0));
    Symbol index = call.getArgument(1);
   
    return new PrimitiveCall(call, "$<-", object, new Constant(index), builder.simplify(rhs));
 
  }
View Full Code Here

  public Expression translateToExpression(IRBodyBuilder builder,
      TranslationContext context, FunctionCall call) {
    Expression object = builder.translateExpression(context, call.getArgument(0));
    Symbol index = toSymbol(call.getArgument(1));
   
    return new PrimitiveCall(call, "$", builder.simplify(object), new Constant(index) );
  }
View Full Code Here

    // tranlsation into IR later when we upgrade to 2.14 base package,
    // in which switch() is not internal.
   
    Expression expr = builder.translateSimpleExpression(context, call.getArgument(0));
   
    return new PrimitiveCall(call, "switch", expr, new EnvironmentVariable(Symbols.ELLIPSES));
           
  }
View Full Code Here

TOP

Related Classes of org.renjin.compiler.ir.tac.expressions.PrimitiveCall

Copyright © 2018 www.massapicom. 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.