private void skipIgnore() throws IOException{ char ch = getNextChar(); while (Character.isWhitespace(ch) || (ch == ',')) ch = getNextChar(); if (ch == '#') { while (ch != '\r' && ch != '\n') ch = getNextChar(); pushChar(ch); skipIgnore(); } else pushChar(ch); }
lexType = LexType.gqlltNull; else { char ch = getNextChar(); if (Utilities.existsInList(ch, '!', '$', '(', ')', ':', '=', '@', '[', ']', '{', '|', '}')) { lexType = LexType.gqlltPunctuation; do { token.append(ch); ch = getNextChar(); } while (ch == '.'); pushChar(ch); do { token.append(ch); ch = getNextChar(); } while ((ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z') || (ch >= '0' && ch <= '9') || (ch == '_')); pushChar(ch); do { token.append(ch); ch = getNextChar(); } while ((ch >= '0' && ch <= '9') || ((ch == '.') && token.toString().indexOf('.') == -1) || ((ch == 'e') && token.toString().indexOf('e') == -1)); pushChar(ch); lexType = LexType.gqlltString; do { ch = getNextChar(); if (ch == '\\') { if (!reader.ready())
private void skipIgnore() throws IOException{ char ch = getNextChar(); while (Character.isWhitespace(ch) || (ch == ',')) ch = getNextChar(); if (ch == '#') { while (ch != '\r' && ch != '\n') ch = getNextChar(); pushChar(ch); skipIgnore(); } else pushChar(ch); }
lexType = LexType.gqlltNull; else { char ch = getNextChar(); if (Utilities.existsInList(ch, '!', '$', '(', ')', ':', '=', '@', '[', ']', '{', '|', '}')) { lexType = LexType.gqlltPunctuation; do { token.append(ch); ch = getNextChar(); } while (ch == '.'); pushChar(ch); do { token.append(ch); ch = getNextChar(); } while ((ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z') || (ch >= '0' && ch <= '9') || (ch == '_')); pushChar(ch); do { token.append(ch); ch = getNextChar(); } while ((ch >= '0' && ch <= '9') || ((ch == '.') && token.toString().indexOf('.') == -1) || ((ch == 'e') && token.toString().indexOf('e') == -1)); pushChar(ch); lexType = LexType.gqlltString; do { ch = getNextChar(); if (ch == '\\') { if (!reader.ready())