// <= 0xFF);
}
- public static boolean isSQLIdentifierPart(char ch) {
- if (ch < MAX_OBVIOUS) {
- return ObviousIdentCharNatures[ch] == C_LETTER
- || ObviousIdentCharNatures[ch] == C_DIGIT;
- }
- return false;
- }
+// public static boolean isSQLIdentifierPart(char ch) {
+// if (ch < MAX_OBVIOUS) {
+// return ObviousIdentCharNatures[ch] == C_LETTER
+// || ObviousIdentCharNatures[ch] == C_DIGIT;
+// }
+// return false;
+// }
public final boolean atEnd() {
// This code is not relevant if source is
return true;
}
- public final char[] getRawTokenSourceEnd() {
- int length = this.eofPosition - this.currentPosition - 1;
- char[] sourceEnd = new char[length];
- System.arraycopy(this.source, this.currentPosition, sourceEnd, 0,
- length);
- return sourceEnd;
- }
+// public final char[] getRawTokenSourceEnd() {
+// int length = this.eofPosition - this.currentPosition - 1;
+// char[] sourceEnd = new char[length];
+// System.arraycopy(this.source, this.currentPosition, sourceEnd, 0,
+// length);
+// return sourceEnd;
+// }
public int getCurrentTokenStartPosition() {
return this.startPosition;
}
- public final String getCurrentStringLiteral() {
- char[] result = getCurrentStringLiteralSource();
- return new String(result);
- }
+// public final String getCurrentStringLiteral() {
+// char[] result = getCurrentStringLiteralSource();
+// return new String(result);
+// }
public final char[] getCurrentStringLiteralSource() {
// Return the token REAL source (aka unicodes are precomputed)
return result;
}
- public final char[] getCurrentStringLiteralSource(int startPos) {
- // Return the token REAL source (aka unicodes are precomputed)
- char[] result;
- int length;
- System.arraycopy(source, startPos + 1,
- result = new char[length = currentPosition - startPos - 2], 0,
- length);
- // }
- return result;
- }
+// public final char[] getCurrentStringLiteralSource(int startPos) {
+// // Return the token REAL source (aka unicodes are precomputed)
+// char[] result;
+// int length;
+// System.arraycopy(source, startPos + 1,
+// result = new char[length = currentPosition - startPos - 2], 0,
+// length);
+// // }
+// return result;
+// }
/*
* Search the source position corresponding to the end of a given line