} else if (groupingStr.equalsIgnoreCase("right")) {
grouping = InfixOperator.RIGHT_ASSOCIATIVE;
}
oper = ASTNodeFactory.createInfixOperator(operatorStr, headStr, precedence, grouping);
} catch (final NoSuchElementException nsee) {
oper = new InfixOperator(operatorStr, headStr, precedence, InfixOperator.NONE);
}
// if (operatorStr.equals("*")) {
// TIMES_OPERATOR = (InfixOperator) oper;
// } else if (operatorStr.equals("+")) {
// PLUS_OPERATOR = (InfixOperator) oper;