Bug 132515 Expression like "Toltal.rank(Tolta.ave(row[a]),ture,Null,1)" is return an error
Description: Add an expression like "Toltal.rank(Tolta.ave(row[a]),ture,Null,1)" is return an error.The nesting "Toltal" seem not to be work. Step to reproduce: 1.new a datasource and dataset 2.drag the dataset to layout veiw for a table 3.set a group on the table 4.Insert a data into the group header with the expression e.g. "Toltal.rank(Tolta.ave(row[a]),ture,Null,1)" Actual result: An error was thrown out Expected result: It should work correctly in order to support some requirments
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/expression/ExpressionProcessor.java
import org.eclipse.birt.data.engine.impl.aggregation.AggregateCalculator;
import org.eclipse.birt.data.engine.impl.aggregation.AggregateTable;
import org.eclipse.birt.data.engine.impl.aggregation.AggregateCalculator.JSAggrValueObject;
import org.eclipse.birt.data.engine.odi.IResultClass;
import org.eclipse.birt.data.engine.odi.IResultIterator;
import org.eclipse.birt.data.engine.odi.IQuery.GroupSpec;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.Scriptable;
/**
 * This class handles the compilation of ROM JavaScript expressions of the
 * multiple pass level Each expression is compiled to generate a handle, which
 * is an instance of CompiledExpression or its derived class. The expression
 * handle is used by the factory to evaluate the expression after the report
 * query is executed. <br>
 * ExpressionProcessor compiles the expression into Rhino byte code for faster
 * evaluation at runtime.
 *  
 */
public class ExpressionProcessor implements IExpressionProcessor
{
	private List tempRefactorCmpList;
	
	private IComputedColumnsState computedColumnState;
	
	private int exprType =  COMPUTED_COLUMN_EXPR;
	
	private ExpressionParseHelper helper;
	private IResultIterator resultIterator;
	private IResultClass metaData;