return function;
... disabled 1 line */
// End of VoltDB extension
}
HsqlArrayList exprList = new HsqlArrayList();
// A VoltDB extension to avoid using exceptions for flow control.
HsqlException e = null;
try {
e = readExpression(exprList, parseList, 0, parseList.length, false, false);
} catch (HsqlException caught) {
e = caught;
}
if (e != null) {
if (function.parseListAlt == null) {
if ( ! preferToThrow) {
return new ExpressionOrException(e);
}
/* disable 4 lines ...
try {
readExpression(exprList, parseList, 0, parseList.length, false);
} catch (HsqlException e) {
if (function.parseListAlt == null) {
... disabled 4 lines */
// End of VoltDB extension
throw e;
}
rewind(position);
parseList = function.parseListAlt;
exprList = new HsqlArrayList();
// A VoltDB extension to avoid using exceptions for flow control.
e = readExpression(exprList, parseList, 0, parseList.length, false, preferToThrow);
if (e != null) {
if ( ! preferToThrow ) {
return new ExpressionOrException(e);
}
// It's a little strange to be here -- should have thrown already.
// But better late than sorry.
throw e;
}
/* disable 1 line ...
readExpression(exprList, parseList, 0, parseList.length, false);
... disabled 1 line */
// End of VoltDB extension
}
Expression[] expr = new Expression[exprList.size()];
exprList.toArray(expr);
function.setArguments(expr);
// A VoltDB extension to avoid using exceptions for flow control.
return new ExpressionOrException(function.getFunctionExpression());
/* disable 1 line ...