}
break;
default:
if (cnt6 >= 1) break loop6;
EarlyExitException eee =
new EarlyExitException(6, input);
throw eee;
}
cnt6++;
} while (true);
match('.');
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:240:27: ( '0' .. '9' )*
loop7:
do {
int alt7 = 2;
int LA7_0 = input.LA(1);
if (((LA7_0 >= '0' && LA7_0 <= '9'))) {
alt7 = 1;
}
switch (alt7) {
case 1:
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:240:28: '0' .. '9'
{
matchRange('0', '9');
}
break;
default:
break loop7;
}
} while (true);
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:240:41: ( Exponent )?
int alt8 = 2;
int LA8_0 = input.LA(1);
if ((LA8_0 == 'E' || LA8_0 == 'e')) {
alt8 = 1;
}
switch (alt8) {
case 1:
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:240:41: Exponent
{
mExponent();
}
break;
}
}
break;
case 2:
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:241:9: '.' ( '0' .. '9' )+ ( Exponent )?
{
match('.');
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:241:13: ( '0' .. '9' )+
int cnt9 = 0;
loop9:
do {
int alt9 = 2;
int LA9_0 = input.LA(1);
if (((LA9_0 >= '0' && LA9_0 <= '9'))) {
alt9 = 1;
}
switch (alt9) {
case 1:
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:241:15: '0' .. '9'
{
matchRange('0', '9');
}
break;
default:
if (cnt9 >= 1) break loop9;
EarlyExitException eee =
new EarlyExitException(9, input);
throw eee;
}
cnt9++;
} while (true);
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:241:29: ( Exponent )?
int alt10 = 2;
int LA10_0 = input.LA(1);
if ((LA10_0 == 'E' || LA10_0 == 'e')) {
alt10 = 1;
}
switch (alt10) {
case 1:
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:241:29: Exponent
{
mExponent();
}
break;
}
}
break;
case 3:
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:242:9: ( '0' .. '9' )+ Exponent
{
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:242:9: ( '0' .. '9' )+
int cnt11 = 0;
loop11:
do {
int alt11 = 2;
int LA11_0 = input.LA(1);
if (((LA11_0 >= '0' && LA11_0 <= '9'))) {
alt11 = 1;
}
switch (alt11) {
case 1:
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:242:10: '0' .. '9'
{
matchRange('0', '9');
}
break;
default:
if (cnt11 >= 1) break loop11;
EarlyExitException eee =
new EarlyExitException(11, input);
throw eee;
}
cnt11++;
} while (true);
mExponent();
}
break;
case 4:
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:243:9: ( '0' .. '9' )+
{
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:243:9: ( '0' .. '9' )+
int cnt12 = 0;
loop12:
do {
int alt12 = 2;
int LA12_0 = input.LA(1);
if (((LA12_0 >= '0' && LA12_0 <= '9'))) {
alt12 = 1;
}
switch (alt12) {
case 1:
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:243:10: '0' .. '9'
{
matchRange('0', '9');
}
break;
default:
if (cnt12 >= 1) break loop12;
EarlyExitException eee =
new EarlyExitException(12, input);
throw eee;
}
cnt12++;
} while (true);
}
break;
case 5:
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:245:9: HexPrefix ( HexDigit )* ( () | ( '.' ( HexDigit )* ) ) ( 'p' | 'P' ) ( '+' | '-' )? ( '0' .. '9' )+
{
mHexPrefix();
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:245:19: ( HexDigit )*
loop13:
do {
int alt13 = 2;
int LA13_0 = input.LA(1);
if (((LA13_0 >= '0' && LA13_0 <= '9') || (LA13_0 >= 'A' && LA13_0 <= 'F') || (LA13_0 >= 'a' && LA13_0 <= 'f'))) {
alt13 = 1;
}
switch (alt13) {
case 1:
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:245:20: HexDigit
{
mHexDigit();
}
break;
default:
break loop13;
}
} while (true);
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:246:9: ( () | ( '.' ( HexDigit )* ) )
int alt15 = 2;
int LA15_0 = input.LA(1);
if ((LA15_0 == 'P' || LA15_0 == 'p')) {
alt15 = 1;
} else if ((LA15_0 == '.')) {
alt15 = 2;
} else {
NoViableAltException nvae =
new NoViableAltException("", 15, 0, input);
throw nvae;
}
switch (alt15) {
case 1:
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:246:14: ()
{
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:246:14: ()
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:246:15:
{
}
}
break;
case 2:
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:247:14: ( '.' ( HexDigit )* )
{
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:247:14: ( '.' ( HexDigit )* )
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:247:15: '.' ( HexDigit )*
{
match('.');
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:247:19: ( HexDigit )*
loop14:
do {
int alt14 = 2;
int LA14_0 = input.LA(1);
if (((LA14_0 >= '0' && LA14_0 <= '9') || (LA14_0 >= 'A' && LA14_0 <= 'F') || (LA14_0 >= 'a' && LA14_0 <= 'f'))) {
alt14 = 1;
}
switch (alt14) {
case 1:
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:247:20: HexDigit
{
mHexDigit();
}
break;
default:
break loop14;
}
} while (true);
}
}
break;
}
if (input.LA(1) == 'P' || input.LA(1) == 'p') {
input.consume();
} else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
}
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:250:9: ( '+' | '-' )?
int alt16 = 2;
int LA16_0 = input.LA(1);
if ((LA16_0 == '+' || LA16_0 == '-')) {
alt16 = 1;
}
switch (alt16) {
case 1:
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:
{
if (input.LA(1) == '+' || input.LA(1) == '-') {
input.consume();
} else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
}
}
break;
}
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:251:9: ( '0' .. '9' )+
int cnt17 = 0;
loop17:
do {
int alt17 = 2;
int LA17_0 = input.LA(1);
if (((LA17_0 >= '0' && LA17_0 <= '9'))) {
alt17 = 1;
}
switch (alt17) {
case 1:
// C:\\Users\\Erdinc\\Projects\\cambridge\\src\\main\\java\\cambridge\\parser\\expressions\\CambridgeExpression.g:251:11: '0' .. '9'
{
matchRange('0', '9');
}
break;
default:
if (cnt17 >= 1) break loop17;
EarlyExitException eee =
new EarlyExitException(17, input);
throw eee;
}
cnt17++;
} while (true);