Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
ai.vespa.schemals.parser.grouping.GroupingParserLexer Maven / Gradle / Ivy
/* Generated by: CongoCC Parser Generator. GroupingParserLexer.java */
package ai.vespa.schemals.parser.grouping;
import ai.vespa.schemals.parser.grouping.Token.TokenType;
import static ai.vespa.schemals.parser.grouping.Token.TokenType.*;
import java.util.*;
public class GroupingParserLexer extends TokenSource {
private static MatcherHook MATCHER_HOOK;
// this cannot be initialize here, since hook must be set afterwards
public enum LexicalState {
DEFAULT
}
LexicalState lexicalState = LexicalState.values()[0];
EnumSet activeTokenTypes = null;
// Token types that are "regular" tokens that participate in parsing,
// i.e. declared as TOKEN
static final EnumSet regularTokens = EnumSet.of(EOF, SCOLON, COMMA, DOLLAR, DOT, EQ, INFIX_ADD, INFIX_DIV, INFIX_MOD, INFIX_MUL, INFIX_SUB, LBRACE, RBRACE, LCURLY, RCURLY, LT, GT, LBRACKET, RBRACKET, INF, NEGINF, ACOS, ACOSH, ACCURACY, ADD, ALIAS, ALL, AND, ARRAY, AS, AT, ASIN, ASINH, ATAN, ATANH, ATTRIBUTE, AVG, BUCKET, CAT, CBRT, COS, COSH, COUNT, DEBUGWAIT, DIV, DOCIDNSSPECIFIC, EACH, EXP, FIXEDWIDTH, FLOOR, GROUP, HINT, HYPOT, LOG, LOG1P, LOG10, MATH, MAX, MD5, MIN, MOD, MUL, NEG, NORMALIZESUBJECT, NOW, OR, ORDER, OUTPUT, POW, PRECISION, PREDEFINED, RELEVANCE, REVERSE, SIN, SINH, SIZE, SORT, INTERPOLATEDLOOKUP, SQRT, STDDEV, STRCAT, STRLEN, SUB, SUM, SUMMARY, TAN, TANH, TIME, TIME_DATE, TIME_DAYOFMONTH, TIME_DAYOFWEEK, TIME_DAYOFYEAR, TIME_HOUROFDAY, TIME_MINUTEOFHOUR, TIME_MONTHOFYEAR, TIME_SECONDOFMINUTE, TIME_YEAR, TODOUBLE, TOLONG, TORAW, TOSTRING, TRUE, FALSE, UCA, WHERE, X, XOR, XORBIT, Y, ZCURVE, INTEGER, FLOAT, SPACE, STRING, IDENTIFIER);
// Token types that do not participate in parsing
// i.e. declared as UNPARSED (or SPECIAL_TOKEN)
static final EnumSet unparsedTokens = EnumSet.noneOf(TokenType.class);
// Tokens that are skipped, i.e. SKIP
static final EnumSet skippedTokens = EnumSet.noneOf(TokenType.class);
// Tokens that correspond to a MORE, i.e. that are pending
// additional input
static final EnumSet moreTokens = EnumSet.noneOf(TokenType.class);
public GroupingParserLexer(CharSequence input) {
this("input", input);
}
/**
* @param inputSource just the name of the input source (typically the filename)
* that will be used in error messages and so on.
* @param input the input
*/
public GroupingParserLexer(String inputSource, CharSequence input) {
this(inputSource, input, LexicalState.DEFAULT, 1, 1);
}
/**
* @param inputSource just the name of the input source (typically the filename) that
* will be used in error messages and so on.
* @param input the input
* @param lexicalState The starting lexical state, may be null to indicate the default
* starting state
* @param line The line number at which we are starting for the purposes of location/error messages. In most
* normal usage, this is 1.
* @param column number at which we are starting for the purposes of location/error messages. In most normal
* usages this is 1.
*/
public GroupingParserLexer(String inputSource, CharSequence input, LexicalState lexState, int startingLine, int startingColumn) {
super(inputSource, input, startingLine, startingColumn, 1, true, false, false, "");
if (lexicalState != null) switchTo(lexState);
}
public Token getNextToken(Token tok) {
return getNextToken(tok, this.activeTokenTypes);
}
/**
* The public method for getting the next token, that is
* called by GroupingParser.
* It checks whether we have already cached
* the token after this one. If not, it finally goes
* to the NFA machinery
*/
public Token getNextToken(Token tok, EnumSet activeTokenTypes) {
if (tok == null) {
tok = tokenizeAt(0, null, activeTokenTypes);
cacheToken(tok);
return tok;
}
Token cachedToken = tok.nextCachedToken();
// If the cached next token is not currently active, we
// throw it away and go back to the GroupingParserLexer
if (cachedToken != null && activeTokenTypes != null && !activeTokenTypes.contains(cachedToken.getType())) {
reset(tok);
cachedToken = null;
}
if (cachedToken == null) {
Token token = tokenizeAt(tok.getEndOffset(), null, activeTokenTypes);
cacheToken(token);
return token;
}
return cachedToken;
}
static class MatchInfo {
TokenType matchedType;
int matchLength;
@Override
public int hashCode() {
return Objects.hash(matchLength, matchedType);
}
@Override
public boolean equals(Object obj) {
if (this == obj) return true;
if (obj == null) return false;
if (getClass() != obj.getClass()) return false;
MatchInfo other = (MatchInfo) obj;
return matchLength == other.matchLength && matchedType == other.matchedType;
}
}
@FunctionalInterface
private interface MatcherHook {
MatchInfo apply(LexicalState lexicalState, CharSequence input, int position, EnumSet activeTokenTypes, NfaFunction[] nfaFunctions, BitSet currentStates, BitSet nextStates, MatchInfo matchInfo);
}
/**
* Core tokenization method. Note that this can be called from a static context.
* Hence the extra parameters that need to be passed in.
*/
static MatchInfo getMatchInfo(CharSequence input, int position, EnumSet activeTokenTypes, NfaFunction[] nfaFunctions, BitSet currentStates, BitSet nextStates, MatchInfo matchInfo) {
if (matchInfo == null) {
matchInfo = new MatchInfo();
}
if (position >= input.length()) {
matchInfo.matchedType = EOF;
matchInfo.matchLength = 0;
return matchInfo;
}
int start = position;
int matchLength = 0;
TokenType matchedType = TokenType.INVALID;
EnumSet alreadyMatchedTypes = EnumSet.noneOf(TokenType.class);
if (currentStates == null) currentStates = new BitSet(540);
else currentStates.clear();
if (nextStates == null) nextStates = new BitSet(540);
else nextStates.clear();
// the core NFA loop
do {
// Holder for the new type (if any) matched on this iteration
if (position > start) {
// What was nextStates on the last iteration
// is now the currentStates!
BitSet temp = currentStates;
currentStates = nextStates;
nextStates = temp;
nextStates.clear();
} else {
currentStates.set(0);
}
if (position >= input.length()) {
break;
}
int curChar = Character.codePointAt(input, position++);
if (curChar > 0xFFFF) position++;
int nextActive = currentStates.nextSetBit(0);
while (nextActive != -1) {
TokenType returnedType = nfaFunctions[nextActive].apply(curChar, nextStates, activeTokenTypes, alreadyMatchedTypes);
if (returnedType != null && (position - start > matchLength || returnedType.ordinal() < matchedType.ordinal())) {
matchedType = returnedType;
matchLength = position - start;
alreadyMatchedTypes.add(returnedType);
}
nextActive = currentStates.nextSetBit(nextActive + 1);
}
if (position >= input.length()) break;
}
while (!nextStates.isEmpty());
matchInfo.matchedType = matchedType;
matchInfo.matchLength = matchLength;
return matchInfo;
}
/**
* @param position The position at which to tokenize.
* @param lexicalState The lexical state in which to tokenize. If this is null, it is the instance variable #lexicalState
* @param activeTokenTypes The active token types. If this is null, they are all active.
* @return the Token at position
*/
final Token tokenizeAt(int position, LexicalState lexicalState, EnumSet activeTokenTypes) {
if (lexicalState == null) lexicalState = this.lexicalState;
int tokenBeginOffset = position;
boolean inMore = false;
int invalidRegionStart = -1;
Token matchedToken = null;
TokenType matchedType = null;
// The core tokenization loop
MatchInfo matchInfo = new MatchInfo();
BitSet currentStates = new BitSet(540);
BitSet nextStates = new BitSet(540);
while (matchedToken == null) {
if (!inMore) tokenBeginOffset = position;
if (MATCHER_HOOK != null) {
matchInfo = MATCHER_HOOK.apply(lexicalState, this, position, activeTokenTypes, nfaFunctions, currentStates, nextStates, matchInfo);
if (matchInfo == null) {
matchInfo = getMatchInfo(this, position, activeTokenTypes, nfaFunctions, currentStates, nextStates, matchInfo);
}
} else {
matchInfo = getMatchInfo(this, position, activeTokenTypes, nfaFunctions, currentStates, nextStates, matchInfo);
}
matchedType = matchInfo.matchedType;
inMore = moreTokens.contains(matchedType);
position += matchInfo.matchLength;
if (matchedType == TokenType.INVALID) {
if (invalidRegionStart == -1) {
invalidRegionStart = tokenBeginOffset;
}
int cp = Character.codePointAt(this, position);
++position;
if (cp > 0xFFFF) ++position;
continue;
}
if (invalidRegionStart != -1) {
return new InvalidToken(this, invalidRegionStart, tokenBeginOffset);
}
if (skippedTokens.contains(matchedType)) {
skipTokens(tokenBeginOffset, position);
} else if (regularTokens.contains(matchedType) || unparsedTokens.contains(matchedType)) {
matchedToken = Token.newToken(matchedType, this, tokenBeginOffset, position);
matchedToken.setUnparsed(!regularTokens.contains(matchedType));
}
}
return matchedToken;
}
/**
* Switch to specified lexical state.
* @param lexState the lexical state to switch to
* @return whether we switched (i.e. we weren't already in the desired lexical state)
*/
public boolean switchTo(LexicalState lexState) {
if (this.lexicalState != lexState) {
this.lexicalState = lexState;
return true;
}
return false;
}
// Reset the token source input
// to just after the Token passed in.
void reset(Token t, LexicalState state) {
uncacheTokens(t);
if (state != null) {
switchTo(state);
}
}
void reset(Token t) {
reset(t, null);
}
// NFA related code follows.
// The functional interface that represents
// the acceptance method of an NFA state
@FunctionalInterface
interface NfaFunction {
TokenType apply(int ch, BitSet bs, EnumSet validTypes, EnumSet alreadyMatchedTypes);
}
private static NfaFunction[] nfaFunctions;
// Initialize the various NFA method tables
static {
DEFAULT.NFA_FUNCTIONS_init();
}
//The Nitty-gritty of the NFA code follows.
/**
* Holder class for NFA code related to DEFAULT lexical state
*/
private static class DEFAULT {
private static TokenType getNfaIndex0(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
TokenType type = null;
if (ch == '"') {
if (validTypes == null || validTypes.contains(STRING)) {
nextStates.set(1);
}
} else if (ch == '\'') {
if (validTypes == null || validTypes.contains(STRING)) {
nextStates.set(15);
}
} else if (ch == '-') {
if (validTypes == null || validTypes.contains(NEGINF)) {
nextStates.set(129);
}
} else if (ch == '0') {
if (validTypes == null || validTypes.contains(INTEGER)) {
nextStates.set(216);
}
} else if (ch == 'a') {
if (validTypes == null || validTypes.contains(ALL)) {
nextStates.set(131);
}
if (validTypes == null || validTypes.contains(AS)) {
nextStates.set(10);
}
if (validTypes == null || validTypes.contains(ATANH)) {
nextStates.set(159);
}
if (validTypes == null || validTypes.contains(AT)) {
nextStates.set(23);
}
if (validTypes == null || validTypes.contains(ACOS)) {
nextStates.set(210);
}
if (validTypes == null || validTypes.contains(ATAN)) {
nextStates.set(213);
}
if (validTypes == null || validTypes.contains(AVG)) {
nextStates.set(215);
}
if (validTypes == null || validTypes.contains(ARRAY)) {
nextStates.set(231);
}
if (validTypes == null || validTypes.contains(AND)) {
nextStates.set(271);
}
if (validTypes == null || validTypes.contains(ATTRIBUTE)) {
nextStates.set(274);
}
if (validTypes == null || validTypes.contains(ADD)) {
nextStates.set(288);
}
if (validTypes == null || validTypes.contains(ASIN)) {
nextStates.set(299);
}
if (validTypes == null || validTypes.contains(ASINH)) {
nextStates.set(337);
}
if (validTypes == null || validTypes.contains(ACOSH)) {
nextStates.set(353);
}
if (validTypes == null || validTypes.contains(ALIAS)) {
nextStates.set(397);
}
if (validTypes == null || validTypes.contains(ACCURACY)) {
nextStates.set(408);
}
} else if (ch == 'b') {
if (validTypes == null || validTypes.contains(BUCKET)) {
nextStates.set(292);
}
} else if (ch == 'c') {
if (validTypes == null || validTypes.contains(COS)) {
nextStates.set(212);
}
if (validTypes == null || validTypes.contains(COUNT)) {
nextStates.set(305);
}
if (validTypes == null || validTypes.contains(COSH)) {
nextStates.set(328);
}
if (validTypes == null || validTypes.contains(CAT)) {
nextStates.set(344);
}
if (validTypes == null || validTypes.contains(CBRT)) {
nextStates.set(364);
}
} else if (ch == 'd') {
if (validTypes == null || validTypes.contains(DEBUGWAIT)) {
nextStates.set(103);
}
if (validTypes == null || validTypes.contains(TIME_DAYOFWEEK)) {
nextStates.set(146);
}
if (validTypes == null || validTypes.contains(DOCIDNSSPECIFIC)) {
nextStates.set(238);
}
if (validTypes == null || validTypes.contains(DIV)) {
nextStates.set(287);
}
if (validTypes == null || validTypes.contains(TIME_DAYOFYEAR)) {
nextStates.set(320);
}
if (validTypes == null || validTypes.contains(TIME_DAYOFMONTH)) {
nextStates.set(374);
}
if (validTypes == null || validTypes.contains(TIME_DATE)) {
nextStates.set(415);
}
} else if (ch == 'e') {
if (validTypes == null || validTypes.contains(EXP)) {
nextStates.set(180);
}
if (validTypes == null || validTypes.contains(EACH)) {
nextStates.set(400);
}
} else if (ch == 'f') {
if (validTypes == null || validTypes.contains(FLOOR)) {
nextStates.set(289);
}
if (validTypes == null || validTypes.contains(FIXEDWIDTH)) {
nextStates.set(385);
}
if (validTypes == null || validTypes.contains(FALSE)) {
nextStates.set(405);
}
} else if (ch == 'g') {
if (validTypes == null || validTypes.contains(GROUP)) {
nextStates.set(317);
}
} else if (ch == 'h') {
if (validTypes == null || validTypes.contains(TIME_HOUROFDAY)) {
nextStates.set(262);
}
if (validTypes == null || validTypes.contains(HYPOT)) {
nextStates.set(284);
}
if (validTypes == null || validTypes.contains(HINT)) {
nextStates.set(394);
}
} else if (ch == 'i') {
if (validTypes == null || validTypes.contains(INTERPOLATEDLOOKUP)) {
nextStates.set(113);
}
if (validTypes == null || validTypes.contains(INF)) {
nextStates.set(366);
}
} else if (ch == 'l') {
if (validTypes == null || validTypes.contains(LOG10)) {
nextStates.set(191);
}
if (validTypes == null || validTypes.contains(LOG)) {
nextStates.set(301);
}
if (validTypes == null || validTypes.contains(LOG1P)) {
nextStates.set(330);
}
} else if (ch == 'm') {
if (validTypes == null || validTypes.contains(MUL)) {
nextStates.set(132);
}
if (validTypes == null || validTypes.contains(TIME_MINUTEOFHOUR)) {
nextStates.set(181);
}
if (validTypes == null || validTypes.contains(TIME_MONTHOFYEAR)) {
nextStates.set(201);
}
if (validTypes == null || validTypes.contains(MIN)) {
nextStates.set(229);
}
if (validTypes == null || validTypes.contains(MD5)) {
nextStates.set(230);
}
if (validTypes == null || validTypes.contains(MAX)) {
nextStates.set(298);
}
if (validTypes == null || validTypes.contains(MATH)) {
nextStates.set(310);
}
if (validTypes == null || validTypes.contains(MOD)) {
nextStates.set(384);
}
} else if (ch == 'n') {
if (validTypes == null || validTypes.contains(NORMALIZESUBJECT)) {
nextStates.set(166);
}
if (validTypes == null || validTypes.contains(NEG)) {
nextStates.set(343);
}
if (validTypes == null || validTypes.contains(NOW)) {
nextStates.set(402);
}
} else if (ch == 'o') {
if (validTypes == null || validTypes.contains(OUTPUT)) {
nextStates.set(258);
}
if (validTypes == null || validTypes.contains(ORDER)) {
nextStates.set(302);
}
if (validTypes == null || validTypes.contains(OR)) {
nextStates.set(67);
}
} else if (ch == 'p') {
if (validTypes == null || validTypes.contains(POW)) {
nextStates.set(112);
}
if (validTypes == null || validTypes.contains(PREDEFINED)) {
nextStates.set(356);
}
if (validTypes == null || validTypes.contains(PRECISION)) {
nextStates.set(367);
}
} else if (ch == 'r') {
if (validTypes == null || validTypes.contains(RELEVANCE)) {
nextStates.set(194);
}
if (validTypes == null || validTypes.contains(REVERSE)) {
nextStates.set(312);
}
} else if (ch == 's') {
if (validTypes == null || validTypes.contains(SUMMARY)) {
nextStates.set(133);
}
if (validTypes == null || validTypes.contains(STRLEN)) {
nextStates.set(138);
}
if (validTypes == null || validTypes.contains(STRCAT)) {
nextStates.set(142);
}
if (validTypes == null || validTypes.contains(TIME_SECONDOFMINUTE)) {
nextStates.set(217);
}
if (validTypes == null || validTypes.contains(STDDEV)) {
nextStates.set(234);
}
if (validTypes == null || validTypes.contains(SORT)) {
nextStates.set(296);
}
if (validTypes == null || validTypes.contains(SINH)) {
nextStates.set(308);
}
if (validTypes == null || validTypes.contains(SUM)) {
nextStates.set(327);
}
if (validTypes == null || validTypes.contains(SQRT)) {
nextStates.set(351);
}
if (validTypes == null || validTypes.contains(SIZE)) {
nextStates.set(382);
}
if (validTypes == null || validTypes.contains(SIN)) {
nextStates.set(396);
}
if (validTypes == null || validTypes.contains(SUB)) {
nextStates.set(414);
}
} else if (ch == 't') {
if (validTypes == null || validTypes.contains(TOLONG)) {
nextStates.set(162);
}
if (validTypes == null || validTypes.contains(TODOUBLE)) {
nextStates.set(251);
}
if (validTypes == null || validTypes.contains(TRUE)) {
nextStates.set(269);
}
if (validTypes == null || validTypes.contains(TIME)) {
nextStates.set(272);
}
if (validTypes == null || validTypes.contains(TORAW)) {
nextStates.set(340);
}
if (validTypes == null || validTypes.contains(TOSTRING)) {
nextStates.set(345);
}
if (validTypes == null || validTypes.contains(TAN)) {
nextStates.set(393);
}
if (validTypes == null || validTypes.contains(TANH)) {
nextStates.set(403);
}
} else if (ch == 'u') {
if (validTypes == null || validTypes.contains(UCA)) {
nextStates.set(153);
}
} else if (ch == 'w') {
if (validTypes == null || validTypes.contains(WHERE)) {
nextStates.set(281);
}
} else if (ch == 'x') {
if (validTypes == null || validTypes.contains(XORBIT)) {
nextStates.set(155);
}
if (validTypes == null || validTypes.contains(XOR)) {
nextStates.set(257);
}
} else if (ch == 'y') {
if (validTypes == null || validTypes.contains(TIME_YEAR)) {
nextStates.set(110);
}
} else if (ch == 'z') {
if (validTypes == null || validTypes.contains(ZCURVE)) {
nextStates.set(333);
}
}
if ((ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z')) {
if (validTypes == null || validTypes.contains(IDENTIFIER)) {
nextStates.set(38);
type = IDENTIFIER;
}
} else if ((ch == '\t' || ch == '\n') || ((ch == '\r') || (ch == ' '))) {
if (validTypes == null || validTypes.contains(SPACE)) {
type = SPACE;
}
} else if (ch >= '0' && ch <= '9') {
if (validTypes == null || validTypes.contains(FLOAT)) {
nextStates.set(51);
type = FLOAT;
}
}
if (ch == '0') {
if (validTypes == null || validTypes.contains(INTEGER)) {
nextStates.set(22);
type = INTEGER;
}
} else if (ch >= '1' && ch <= '9') {
if (validTypes == null || validTypes.contains(INTEGER)) {
nextStates.set(77);
type = INTEGER;
}
} else if (ch == 'y') {
if (validTypes == null || validTypes.contains(Y)) {
type = Y;
}
} else if (ch == 'x') {
if (validTypes == null || validTypes.contains(X)) {
type = X;
}
} else if (ch == ']') {
if (validTypes == null || validTypes.contains(RBRACKET)) {
type = RBRACKET;
}
} else if (ch == '[') {
if (validTypes == null || validTypes.contains(LBRACKET)) {
type = LBRACKET;
}
} else if (ch == '>') {
if (validTypes == null || validTypes.contains(GT)) {
type = GT;
}
} else if (ch == '<') {
if (validTypes == null || validTypes.contains(LT)) {
type = LT;
}
} else if (ch == '}') {
if (validTypes == null || validTypes.contains(RCURLY)) {
type = RCURLY;
}
} else if (ch == '{') {
if (validTypes == null || validTypes.contains(LCURLY)) {
type = LCURLY;
}
} else if (ch == ')') {
if (validTypes == null || validTypes.contains(RBRACE)) {
type = RBRACE;
}
} else if (ch == '(') {
if (validTypes == null || validTypes.contains(LBRACE)) {
type = LBRACE;
}
} else if (ch == '-') {
if (validTypes == null || validTypes.contains(INFIX_SUB)) {
type = INFIX_SUB;
}
} else if (ch == '*') {
if (validTypes == null || validTypes.contains(INFIX_MUL)) {
type = INFIX_MUL;
}
} else if (ch == '%') {
if (validTypes == null || validTypes.contains(INFIX_MOD)) {
type = INFIX_MOD;
}
} else if (ch == '/') {
if (validTypes == null || validTypes.contains(INFIX_DIV)) {
type = INFIX_DIV;
}
} else if (ch == '+') {
if (validTypes == null || validTypes.contains(INFIX_ADD)) {
type = INFIX_ADD;
}
} else if (ch == '=') {
if (validTypes == null || validTypes.contains(EQ)) {
type = EQ;
}
} else if (ch == '.') {
if (validTypes == null || validTypes.contains(DOT)) {
type = DOT;
}
} else if (ch == '$') {
if (validTypes == null || validTypes.contains(DOLLAR)) {
type = DOLLAR;
}
} else if (ch == ',') {
if (validTypes == null || validTypes.contains(COMMA)) {
type = COMMA;
}
} else if (ch == ';') {
if (validTypes == null || validTypes.contains(SCOLON)) {
type = SCOLON;
}
}
return type;
}
private static TokenType getNfaIndex1(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
TokenType type = null;
if ((ch >= 0x0 && ch <= '!') || (ch >= '#')) {
nextStates.set(1);
}
if (ch == '\\') {
nextStates.set(102);
} else if (ch == '"') {
type = STRING;
}
return type;
}
private static TokenType getNfaIndex2(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 't') {
return DEBUGWAIT;
}
return null;
}
private static TokenType getNfaIndex3(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'r') {
return TIME_YEAR;
}
return null;
}
private static TokenType getNfaIndex4(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'w') {
return POW;
}
return null;
}
private static TokenType getNfaIndex5(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'p') {
return INTERPOLATEDLOOKUP;
}
return null;
}
private static TokenType getNfaIndex6(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'f') {
return NEGINF;
}
return null;
}
private static TokenType getNfaIndex7(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'l') {
return ALL;
}
return null;
}
private static TokenType getNfaIndex8(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'l') {
return MUL;
}
return null;
}
private static TokenType getNfaIndex9(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'y') {
return SUMMARY;
}
return null;
}
private static TokenType getNfaIndex10(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 's') {
return AS;
}
return null;
}
private static TokenType getNfaIndex11(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'n') {
return STRLEN;
}
return null;
}
private static TokenType getNfaIndex12(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 't') {
return STRCAT;
}
return null;
}
private static TokenType getNfaIndex13(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'k') {
return TIME_DAYOFWEEK;
}
return null;
}
private static TokenType getNfaIndex14(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'a') {
return UCA;
}
return null;
}
private static TokenType getNfaIndex15(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
TokenType type = null;
if ((ch >= 0x0 && ch <= '&') || (ch >= '(')) {
nextStates.set(15);
}
if (ch == '\\') {
nextStates.set(154);
} else if (ch == '\'') {
type = STRING;
}
return type;
}
private static TokenType getNfaIndex16(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 't') {
return XORBIT;
}
return null;
}
private static TokenType getNfaIndex17(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'h') {
return ATANH;
}
return null;
}
private static TokenType getNfaIndex18(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'g') {
return TOLONG;
}
return null;
}
private static TokenType getNfaIndex19(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 't') {
return NORMALIZESUBJECT;
}
return null;
}
private static TokenType getNfaIndex20(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'p') {
return EXP;
}
return null;
}
private static TokenType getNfaIndex21(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'r') {
return TIME_MINUTEOFHOUR;
}
return null;
}
private static TokenType getNfaIndex22(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
TokenType type = null;
if (ch >= '0' && ch <= '7') {
nextStates.set(22);
type = INTEGER;
} else if ((ch == 'L') || (ch == 'l')) {
type = INTEGER;
}
return type;
}
private static TokenType getNfaIndex23(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 't') {
return AT;
}
return null;
}
private static TokenType getNfaIndex24(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == '0') {
return LOG10;
}
return null;
}
private static TokenType getNfaIndex25(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'e') {
return RELEVANCE;
}
return null;
}
private static TokenType getNfaIndex26(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'r') {
return TIME_MONTHOFYEAR;
}
return null;
}
private static TokenType getNfaIndex27(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 's') {
return ACOS;
}
return null;
}
private static TokenType getNfaIndex28(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 's') {
return COS;
}
return null;
}
private static TokenType getNfaIndex29(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'n') {
return ATAN;
}
return null;
}
private static TokenType getNfaIndex30(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'g') {
return AVG;
}
return null;
}
private static TokenType getNfaIndex31(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if ((ch >= '0' && ch <= '9') || ((ch >= 'A' && ch <= 'F') || (ch >= 'a' && ch <= 'f'))) {
nextStates.set(32);
return INTEGER;
}
return null;
}
private static TokenType getNfaIndex32(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
TokenType type = null;
if ((ch >= '0' && ch <= '9') || ((ch >= 'A' && ch <= 'F') || (ch >= 'a' && ch <= 'f'))) {
nextStates.set(32);
type = INTEGER;
} else if ((ch == 'L') || (ch == 'l')) {
type = INTEGER;
}
return type;
}
private static TokenType getNfaIndex33(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'e') {
return TIME_SECONDOFMINUTE;
}
return null;
}
private static TokenType getNfaIndex34(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'n') {
return MIN;
}
return null;
}
private static TokenType getNfaIndex35(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == '5') {
return MD5;
}
return null;
}
private static TokenType getNfaIndex36(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'y') {
return ARRAY;
}
return null;
}
private static TokenType getNfaIndex37(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'v') {
return STDDEV;
}
return null;
}
private static TokenType getNfaIndex38(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if ((ch >= '0' && ch <= '9') || ((ch >= '@' && ch <= 'Z') || ((ch == '_') || (ch >= 'a' && ch <= 'z')))) {
nextStates.set(38);
return IDENTIFIER;
}
return null;
}
private static TokenType getNfaIndex39(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'c') {
return DOCIDNSSPECIFIC;
}
return null;
}
private static TokenType getNfaIndex40(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'e') {
return TODOUBLE;
}
return null;
}
private static TokenType getNfaIndex41(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'r') {
return XOR;
}
return null;
}
private static TokenType getNfaIndex42(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 't') {
return OUTPUT;
}
return null;
}
private static TokenType getNfaIndex43(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'y') {
return TIME_HOUROFDAY;
}
return null;
}
private static TokenType getNfaIndex44(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'e') {
return TRUE;
}
return null;
}
private static TokenType getNfaIndex45(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'd') {
return AND;
}
return null;
}
private static TokenType getNfaIndex46(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'e') {
return TIME;
}
return null;
}
private static TokenType getNfaIndex47(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'e') {
return ATTRIBUTE;
}
return null;
}
private static TokenType getNfaIndex48(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'e') {
return WHERE;
}
return null;
}
private static TokenType getNfaIndex49(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 't') {
return HYPOT;
}
return null;
}
private static TokenType getNfaIndex50(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'v') {
return DIV;
}
return null;
}
private static TokenType getNfaIndex51(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
TokenType type = null;
if ((ch == 'E') || (ch == 'e')) {
nextStates.set(53);
} else if (ch == '.') {
nextStates.set(52);
type = FLOAT;
} else if (ch >= '0' && ch <= '9') {
nextStates.set(51);
type = FLOAT;
} else if ((ch == 'D') || ((ch == 'F') || ((ch == 'd') || (ch == 'f')))) {
type = FLOAT;
}
return type;
}
private static TokenType getNfaIndex52(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
TokenType type = null;
if ((ch == 'E') || (ch == 'e')) {
nextStates.set(53);
} else if (ch >= '0' && ch <= '9') {
nextStates.set(52);
type = FLOAT;
} else if ((ch == 'D') || ((ch == 'F') || ((ch == 'd') || (ch == 'f')))) {
type = FLOAT;
}
return type;
}
private static TokenType getNfaIndex53(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
TokenType type = null;
if ((ch == '+') || (ch == '-')) {
nextStates.set(55);
} else if (ch >= '0' && ch <= '9') {
nextStates.set(54);
type = FLOAT;
}
return type;
}
private static TokenType getNfaIndex54(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
TokenType type = null;
if (ch >= '0' && ch <= '9') {
nextStates.set(54);
type = FLOAT;
} else if ((ch == 'D') || ((ch == 'F') || ((ch == 'd') || (ch == 'f')))) {
type = FLOAT;
}
return type;
}
private static TokenType getNfaIndex55(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch >= '0' && ch <= '9') {
nextStates.set(54);
return FLOAT;
}
return null;
}
private static TokenType getNfaIndex56(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'd') {
return ADD;
}
return null;
}
private static TokenType getNfaIndex57(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'r') {
return FLOOR;
}
return null;
}
private static TokenType getNfaIndex58(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 't') {
return BUCKET;
}
return null;
}
private static TokenType getNfaIndex59(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 't') {
return SORT;
}
return null;
}
private static TokenType getNfaIndex60(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'x') {
return MAX;
}
return null;
}
private static TokenType getNfaIndex61(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'n') {
return ASIN;
}
return null;
}
private static TokenType getNfaIndex62(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'g') {
return LOG;
}
return null;
}
private static TokenType getNfaIndex63(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'r') {
return ORDER;
}
return null;
}
private static TokenType getNfaIndex64(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 't') {
return COUNT;
}
return null;
}
private static TokenType getNfaIndex65(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'h') {
return SINH;
}
return null;
}
private static TokenType getNfaIndex66(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'h') {
return MATH;
}
return null;
}
private static TokenType getNfaIndex67(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'r') {
return OR;
}
return null;
}
private static TokenType getNfaIndex68(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'e') {
return REVERSE;
}
return null;
}
private static TokenType getNfaIndex69(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'p') {
return GROUP;
}
return null;
}
private static TokenType getNfaIndex70(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'r') {
return TIME_DAYOFYEAR;
}
return null;
}
private static TokenType getNfaIndex71(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'm') {
return SUM;
}
return null;
}
private static TokenType getNfaIndex72(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'h') {
return COSH;
}
return null;
}
private static TokenType getNfaIndex73(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'p') {
return LOG1P;
}
return null;
}
private static TokenType getNfaIndex74(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'e') {
return ZCURVE;
}
return null;
}
private static TokenType getNfaIndex75(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'h') {
return ASINH;
}
return null;
}
private static TokenType getNfaIndex76(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'w') {
return TORAW;
}
return null;
}
private static TokenType getNfaIndex77(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
TokenType type = null;
if (ch >= '0' && ch <= '9') {
nextStates.set(77);
type = INTEGER;
} else if ((ch == 'L') || (ch == 'l')) {
type = INTEGER;
}
return type;
}
private static TokenType getNfaIndex78(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'g') {
return NEG;
}
return null;
}
private static TokenType getNfaIndex79(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 't') {
return CAT;
}
return null;
}
private static TokenType getNfaIndex80(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'g') {
return TOSTRING;
}
return null;
}
private static TokenType getNfaIndex81(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 't') {
return SQRT;
}
return null;
}
private static TokenType getNfaIndex82(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'h') {
return ACOSH;
}
return null;
}
private static TokenType getNfaIndex83(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'd') {
return PREDEFINED;
}
return null;
}
private static TokenType getNfaIndex84(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 't') {
return CBRT;
}
return null;
}
private static TokenType getNfaIndex85(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'f') {
return INF;
}
return null;
}
private static TokenType getNfaIndex86(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'n') {
return PRECISION;
}
return null;
}
private static TokenType getNfaIndex87(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'h') {
return TIME_DAYOFMONTH;
}
return null;
}
private static TokenType getNfaIndex88(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'e') {
return SIZE;
}
return null;
}
private static TokenType getNfaIndex89(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'd') {
return MOD;
}
return null;
}
private static TokenType getNfaIndex90(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'h') {
return FIXEDWIDTH;
}
return null;
}
private static TokenType getNfaIndex91(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'n') {
return TAN;
}
return null;
}
private static TokenType getNfaIndex92(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 't') {
return HINT;
}
return null;
}
private static TokenType getNfaIndex93(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'n') {
return SIN;
}
return null;
}
private static TokenType getNfaIndex94(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 's') {
return ALIAS;
}
return null;
}
private static TokenType getNfaIndex95(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'h') {
return EACH;
}
return null;
}
private static TokenType getNfaIndex96(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'w') {
return NOW;
}
return null;
}
private static TokenType getNfaIndex97(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'h') {
return TANH;
}
return null;
}
private static TokenType getNfaIndex98(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'e') {
return FALSE;
}
return null;
}
private static TokenType getNfaIndex99(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'y') {
return ACCURACY;
}
return null;
}
private static TokenType getNfaIndex100(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'b') {
return SUB;
}
return null;
}
private static TokenType getNfaIndex101(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'e') {
return TIME_DATE;
}
return null;
}
private static TokenType getNfaIndex102(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == '"') {
nextStates.set(1);
}
return null;
}
private static TokenType getNfaIndex103(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'e') {
nextStates.set(104);
}
return null;
}
private static TokenType getNfaIndex104(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'b') {
nextStates.set(105);
}
return null;
}
private static TokenType getNfaIndex105(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'u') {
nextStates.set(106);
}
return null;
}
private static TokenType getNfaIndex106(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'g') {
nextStates.set(107);
}
return null;
}
private static TokenType getNfaIndex107(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'w') {
nextStates.set(108);
}
return null;
}
private static TokenType getNfaIndex108(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'a') {
nextStates.set(109);
}
return null;
}
private static TokenType getNfaIndex109(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'i') {
nextStates.set(2);
}
return null;
}
private static TokenType getNfaIndex110(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'e') {
nextStates.set(111);
}
return null;
}
private static TokenType getNfaIndex111(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'a') {
nextStates.set(3);
}
return null;
}
private static TokenType getNfaIndex112(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'o') {
nextStates.set(4);
}
return null;
}
private static TokenType getNfaIndex113(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'n') {
nextStates.set(114);
}
return null;
}
private static TokenType getNfaIndex114(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 't') {
nextStates.set(115);
}
return null;
}
private static TokenType getNfaIndex115(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'e') {
nextStates.set(116);
}
return null;
}
private static TokenType getNfaIndex116(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'r') {
nextStates.set(117);
}
return null;
}
private static TokenType getNfaIndex117(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'p') {
nextStates.set(118);
}
return null;
}
private static TokenType getNfaIndex118(int ch, BitSet nextStates, EnumSet validTypes, EnumSet alreadyMatchedTypes) {
if (ch == 'o') {
nextStates.set(119);
}
return null;
}
private static TokenType getNfaIndex119(int ch, BitSet nextStates, EnumSet