private final Value decodeNumberOverlay(final boolean minus) { char[] array = charArray; final int startIndex = __index; int index = __index; char currentChar; boolean doubleFloat = false; if (minus && index + 1 < array.length) { index++; } while (true) { currentChar = array[index]; if (CharScanner.isNumberDigit(currentChar)) { //noop } else if ( currentChar <= 32 ) { //white break; } else if ( CharScanner.isDelimiter ( currentChar ) ) { break; } else if ( CharScanner.isDecimalChar(currentChar) ) { doubleFloat = true; } index++; if (index >= array.length) break; } __index = index; __currentChar = currentChar; TypeType type = doubleFloat ? TypeType.DOUBLE : TypeType.INT; NumberValue value = new NumberValue ( chop, type, startIndex, __index, this.charArray ); return value; }
private final Value decodeNumberOverlay(final boolean minus) { char[] array = charArray; final int startIndex = __index; int index = __index; char currentChar; boolean doubleFloat = false; if (minus && index + 1 < array.length) { index++; } while (true) { currentChar = array[index]; if (CharScanner.isNumberDigit(currentChar)) { //noop } else if ( currentChar <= 32 ) { //white break; } else if ( CharScanner.isDelimiter ( currentChar ) ) { break; } else if ( CharScanner.isDecimalChar(currentChar) ) { doubleFloat = true; } index++; if (index >= array.length) break; } __index = index; __currentChar = currentChar; TypeType type = doubleFloat ? TypeType.DOUBLE : TypeType.INT; NumberValue value = new NumberValue ( chop, type, startIndex, __index, this.charArray ); return value; }
private final Value decodeNumberOverlay(final boolean minus) { char[] array = charArray; final int startIndex = __index; int index = __index; char currentChar; boolean doubleFloat = false; if (minus && index + 1 < array.length) { index++; } while (true) { currentChar = array[index]; if (CharScanner.isNumberDigit(currentChar)) { //noop } else if ( currentChar <= 32 ) { //white break; } else if ( CharScanner.isDelimiter ( currentChar ) ) { break; } else if ( CharScanner.isDecimalChar(currentChar) ) { doubleFloat = true; } index++; if (index >= array.length) break; } __index = index; __currentChar = currentChar; TypeType type = doubleFloat ? TypeType.DOUBLE : TypeType.INT; NumberValue value = new NumberValue ( chop, type, startIndex, __index, this.charArray ); return value; }
protected final Value decodeNumberLax(boolean minus) { char[] array = charArray; final int startIndex = __index; int index = __index; char currentChar; boolean doubleFloat = false; if (minus && index + 1 < array.length) { index++; } while (true) { currentChar = array[index]; if ( CharScanner.isNumberDigit(currentChar)) { //noop } else if ( currentChar <= 32 ) { //white break; } else if ( CharScanner.isDelimiter(currentChar) ) { break; } else if ( CharScanner.isDecimalChar(currentChar) ) { doubleFloat = true; } index++; if (index >= array.length) break; } __index = index; __currentChar = currentChar; TypeType type = doubleFloat ? TypeType.DOUBLE : TypeType.INT; NumberValue value = new NumberValue ( chop, type, startIndex, __index, this.charArray ); if (events!=null) if (!events.number( startIndex, __index, value ))stop(); return value; }
protected final Value decodeNumberLax(boolean minus) { char[] array = charArray; final int startIndex = __index; int index = __index; char currentChar; boolean doubleFloat = false; if (minus && index + 1 < array.length) { index++; } while (true) { currentChar = array[index]; if ( CharScanner.isNumberDigit(currentChar)) { //noop } else if ( currentChar <= 32 ) { //white break; } else if ( CharScanner.isDelimiter(currentChar) ) { break; } else if ( CharScanner.isDecimalChar(currentChar) ) { doubleFloat = true; } index++; if (index >= array.length) break; } __index = index; __currentChar = currentChar; TypeType type = doubleFloat ? TypeType.DOUBLE : TypeType.INT; NumberValue value = new NumberValue ( chop, type, startIndex, __index, this.charArray ); if (events!=null) if (!events.number( startIndex, __index, value ))stop(); return value; }
protected final Value decodeNumberLax(boolean minus) { char[] array = charArray; final int startIndex = __index; int index = __index; char currentChar; boolean doubleFloat = false; if (minus && index + 1 < array.length) { index++; } while (true) { currentChar = array[index]; if ( CharScanner.isNumberDigit(currentChar)) { //noop } else if ( currentChar <= 32 ) { //white break; } else if ( CharScanner.isDelimiter(currentChar) ) { break; } else if ( CharScanner.isDecimalChar(currentChar) ) { doubleFloat = true; } index++; if (index >= array.length) break; } __index = index; __currentChar = currentChar; TypeType type = doubleFloat ? TypeType.DOUBLE : TypeType.INT; NumberValue value = new NumberValue ( chop, type, startIndex, __index, this.charArray ); if (events!=null) if (!events.number( startIndex, __index, value ))stop(); return value; }