operator = exprAst.getChild(i-1).getTokenValue();
rhs = exprAst.getChild(i);
if (operator.equals("<<")) {
//todo: limit to UINT64_MAX?
result = result.shiftLeft(evalToInt(rhs).intValue()).and(UINT64_MAX);
} else if (operator.equals(">>")) {
result = result.shiftRight(evalToInt(rhs).intValue());
} else {
throw new EvaluationException("Unknown shift operator '" + operator + "'");
}