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.
com.hotels.styx.server.routing.ConditionLexer Maven / Gradle / Ivy
// Generated from com/hotels/styx/server/routing/Condition.g4 by ANTLR 4.5.1
package com.hotels.styx.server.routing;
import org.antlr.v4.runtime.Lexer;
import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.Token;
import org.antlr.v4.runtime.TokenStream;
import org.antlr.v4.runtime.*;
import org.antlr.v4.runtime.atn.*;
import org.antlr.v4.runtime.dfa.DFA;
import org.antlr.v4.runtime.misc.*;
@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"})
public class ConditionLexer extends Lexer {
static { RuntimeMetaData.checkVersion("4.5.1", RuntimeMetaData.VERSION); }
protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
new PredictionContextCache();
public static final int
T__0=1, T__1=2, T__2=3, T__3=4, T__4=5, DQUOTED_STRING=6, QUOTED_STRING=7,
AND=8, OR=9, NOT=10, SQUOTE=11, DQUOTE=12, ID=13, WS=14;
public static String[] modeNames = {
"DEFAULT_MODE"
};
public static final String[] ruleNames = {
"T__0", "T__1", "T__2", "T__3", "T__4", "DQUOTED_STRING", "ESCAPED_DQUOTE",
"QUOTED_STRING", "ESCAPED_QUOTE", "AND", "OR", "NOT", "SQUOTE", "DQUOTE",
"ID", "WS"
};
private static final String[] _LITERAL_NAMES = {
null, "'('", "')'", "'=~'", "'=='", "','", null, null, "'AND'", "'OR'",
"'NOT'"
};
private static final String[] _SYMBOLIC_NAMES = {
null, null, null, null, null, null, "DQUOTED_STRING", "QUOTED_STRING",
"AND", "OR", "NOT", "SQUOTE", "DQUOTE", "ID", "WS"
};
public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES);
/**
* @deprecated Use {@link #VOCABULARY} instead.
*/
@Deprecated
public static final String[] tokenNames;
static {
tokenNames = new String[_SYMBOLIC_NAMES.length];
for (int i = 0; i < tokenNames.length; i++) {
tokenNames[i] = VOCABULARY.getLiteralName(i);
if (tokenNames[i] == null) {
tokenNames[i] = VOCABULARY.getSymbolicName(i);
}
if (tokenNames[i] == null) {
tokenNames[i] = "";
}
}
}
@Override
@Deprecated
public String[] getTokenNames() {
return tokenNames;
}
@Override
public Vocabulary getVocabulary() {
return VOCABULARY;
}
public ConditionLexer(CharStream input) {
super(input);
_interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
}
@Override
public String getGrammarFileName() { return "Condition.g4"; }
@Override
public String[] getRuleNames() { return ruleNames; }
@Override
public String getSerializedATN() { return _serializedATN; }
@Override
public String[] getModeNames() { return modeNames; }
@Override
public ATN getATN() { return _ATN; }
public static final String _serializedATN =
"\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\2\20d\b\1\4\2\t\2\4"+
"\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13\t"+
"\13\4\f\t\f\4\r\t\r\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\3\2\3\2\3"+
"\3\3\3\3\4\3\4\3\4\3\5\3\5\3\5\3\6\3\6\3\7\3\7\3\7\7\7\63\n\7\f\7\16\7"+
"\66\13\7\3\7\3\7\3\b\3\b\3\b\3\t\3\t\3\t\7\t@\n\t\f\t\16\tC\13\t\3\t\3"+
"\t\3\n\3\n\3\n\3\13\3\13\3\13\3\13\3\f\3\f\3\f\3\r\3\r\3\r\3\r\3\16\3"+
"\16\3\17\3\17\3\20\6\20Z\n\20\r\20\16\20[\3\21\6\21_\n\21\r\21\16\21`"+
"\3\21\3\21\4\64A\2\22\3\3\5\4\7\5\t\6\13\7\r\b\17\2\21\t\23\2\25\n\27"+
"\13\31\f\33\r\35\16\37\17!\20\3\2\7\4\2\f\f\17\17\3\2))\3\2$$\6\2\62;"+
"C\\aac|\5\2\13\f\17\17\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\2\\ \3\2\2\2]_\t\6\2\2^]\3\2\2\2_`\3\2\2\2`^\3\2\2\2`a\3"+
"\2\2\2ab\3\2\2\2bc\b\21\2\2c\"\3\2\2\2\t\2\62\64?A[`\3\b\2\2";
public static final ATN _ATN =
new ATNDeserializer().deserialize(_serializedATN.toCharArray());
static {
_decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) {
_decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i);
}
}
}