Package org.formulacompiler.compiler.internal.expressions

Examples of org.formulacompiler.compiler.internal.expressions.ExpressionNodeForSwitch.addArgument()


  private ExpressionNode rewriteChoose( ExpressionNodeForFunction _fun )
  {
    final ExpressionNodeForSwitch result = new ExpressionNodeForSwitch( _fun.argument( 0 ),
        err( "#VALUE! because index to CHOOSE is out of range" ) );
    for (int iCase = 1; iCase < _fun.cardinality(); iCase++) {
      result.addArgument( new ExpressionNodeForSwitchCase( _fun.argument( iCase ), iCase ) );
    }
    return result;
  }

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.