final public double number() throws ParseException { double number; if (jj_2_2(2147483647)) { number = real(); } else { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case PLUS: case MINUS: case UINT: number = integer(); break; default: jj_la1[14] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } { if (true) return number; } throw new Error("Missing return statement in function"); }
final public double number() throws ParseException { double number; if (jj_2_2(2147483647)) { number = real(); } else { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case PLUS: case MINUS: case UINT: number = integer(); break; default: jj_la1[14] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } { if (true) return number; } throw new Error("Missing return statement in function"); }
final public Unit powerExpr(UnitDB unitDB) throws ParseException, OperationException, UnitSystemException, PrefixDBException, UnitDBException { Unit unit; int exponent; unit = basicExpr(unitDB); switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case PLUS: case MINUS: case UINT: case RAISE: switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case RAISE: jj_consume_token(RAISE); break; default: jj_la1[7] = jj_gen; ; } exponent = integer(); unit = unit.raiseTo(exponent); break; default: jj_la1[8] = jj_gen; ; } { if (true) return unit; } throw new Error("Missing return statement in function"); }
final public Unit powerExpr(UnitDB unitDB) throws ParseException, OperationException, UnitSystemException, PrefixDBException, UnitDBException { Unit unit; int exponent; unit = basicExpr(unitDB); switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case PLUS: case MINUS: case UINT: case RAISE: switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case RAISE: jj_consume_token(RAISE); break; default: jj_la1[7] = jj_gen; ; } exponent = integer(); unit = unit.raiseTo(exponent); break; default: jj_la1[8] = jj_gen; ; } { if (true) return unit; } throw new Error("Missing return statement in function"); }