package org.antlr.grammar.v3;
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
@SuppressWarnings("all")
public class ANTLRv3Lexer extends Lexer {
public static final int EOF=-1;
public static final int T__67=67;
public static final int T__68=68;
public static final int T__69=69;
public static final int T__70=70;
public static final int T__71=71;
public static final int T__72=72;
public static final int T__73=73;
public static final int T__74=74;
public static final int T__75=75;
public static final int T__76=76;
public static final int T__77=77;
public static final int T__78=78;
public static final int T__79=79;
public static final int T__80=80;
public static final int T__81=81;
public static final int T__82=82;
public static final int T__83=83;
public static final int T__84=84;
public static final int T__85=85;
public static final int T__86=86;
public static final int T__87=87;
public static final int T__88=88;
public static final int T__89=89;
public static final int T__90=90;
public static final int T__91=91;
public static final int T__92=92;
public static final int T__93=93;
public static final int ACTION=4;
public static final int ACTION_CHAR_LITERAL=5;
public static final int ACTION_ESC=6;
public static final int ACTION_STRING_LITERAL=7;
public static final int ALT=8;
public static final int ARG=9;
public static final int ARGLIST=10;
public static final int ARG_ACTION=11;
public static final int AT=12;
public static final int BACKTRACK_SEMPRED=13;
public static final int BANG=14;
public static final int BLOCK=15;
public static final int CHAR_LITERAL=16;
public static final int CHAR_RANGE=17;
public static final int CLOSURE=18;
public static final int COMBINED_GRAMMAR=19;
public static final int =20;
public static final int DOUBLE_ANGLE_STRING_LITERAL=21;
public static final int DOUBLE_QUOTE_STRING_LITERAL=22;
public static final int EOA=23;
public static final int EOB=24;
public static final int EOR=25;
public static final int EPSILON=26;
public static final int ESC=27;
public static final int FRAGMENT=28;
public static final int GATED_SEMPRED=29;
public static final int ID=30;
public static final int INT=31;
public static final int LABEL=32;
public static final int LABEL_ASSIGN=33;
public static final int LEXER=34;
public static final int LEXER_GRAMMAR=35;
public static final int LIST_LABEL_ASSIGN=36;
public static final int LITERAL_CHAR=37;
public static final int =38;
public static final int NESTED_ACTION=39;
public static final int NESTED_ARG_ACTION=40;
public static final int OPTIONAL=41;
public static final int OPTIONS=42;
public static final int PARSER=43;
public static final int PARSER_GRAMMAR=44;
public static final int POSITIVE_CLOSURE=45;
public static final int RANGE=46;
public static final int RET=47;
public static final int REWRITE=48;
public static final int ROOT=49;
public static final int RULE=50;
public static final int RULE_REF=51;
public static final int SCOPE=52;
public static final int SEMPRED=53;
public static final int =54;
public static final int SRC=55;
public static final int STRING_LITERAL=56;
public static final int SYNPRED=57;
public static final int SYN_SEMPRED=58;
public static final int TEMPLATE=59;
public static final int TOKENS=60;
public static final int TOKEN_REF=61;
public static final int TREE_BEGIN=62;
public static final int TREE_GRAMMAR=63;
public static final int WS=64;
public static final int WS_LOOP=65;
public static final int XDIGIT=66;
public Lexer[] getDelegates() {
return new Lexer[] {};
}
public ANTLRv3Lexer() {}
public ANTLRv3Lexer(CharStream input) {
this(input, new RecognizerSharedState());
}
public ANTLRv3Lexer(CharStream input, RecognizerSharedState state) {
super(input,state);
}
@Override public String getGrammarFileName() { return "org\\antlr\\grammar\\v3\\ANTLRv3.g"; }
public final void mAT() throws RecognitionException {
try {
int _type = AT;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('@');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mBANG() throws RecognitionException {
try {
int _type = BANG;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('!');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mFRAGMENT() throws RecognitionException {
try {
int _type = FRAGMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("fragment");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mLABEL_ASSIGN() throws RecognitionException {
try {
int _type = LABEL_ASSIGN;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('=');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mLIST_LABEL_ASSIGN() throws RecognitionException {
try {
int _type = LIST_LABEL_ASSIGN;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("+=");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mRANGE() throws RecognitionException {
try {
int _type = RANGE;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("..");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mRET() throws RecognitionException {
try {
int _type = RET;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("returns");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mREWRITE() throws RecognitionException {
try {
int _type = REWRITE;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("->");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mROOT() throws RecognitionException {
try {
int _type = ROOT;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('^');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mSCOPE() throws RecognitionException {
try {
int _type = SCOPE;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("scope");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mTREE_BEGIN() throws RecognitionException {
try {
int _type = TREE_BEGIN;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("^(");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__67() throws RecognitionException {
try {
int _type = T__67;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('$');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__68() throws RecognitionException {
try {
int _type = T__68;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('(');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__69() throws RecognitionException {
try {
int _type = T__69;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match(')');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__70() throws RecognitionException {
try {
int _type = T__70;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('*');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__71() throws RecognitionException {
try {
int _type = T__71;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('+');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__72() throws RecognitionException {
try {
int _type = T__72;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match(',');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__73() throws RecognitionException {
try {
int _type = T__73;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('.');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__74() throws RecognitionException {
try {
int _type = T__74;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match(':');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__75() throws RecognitionException {
try {
int _type = T__75;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("::");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__76() throws RecognitionException {
try {
int _type = T__76;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match(';');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__77() throws RecognitionException {
try {
int _type = T__77;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('<');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__78() throws RecognitionException {
try {
int _type = T__78;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("=>");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__79() throws RecognitionException {
try {
int _type = T__79;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('>');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__80() throws RecognitionException {
try {
int _type = T__80;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('?');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__81() throws RecognitionException {
try {
int _type = T__81;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("catch");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__82() throws RecognitionException {
try {
int _type = T__82;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("finally");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__83() throws RecognitionException {
try {
int _type = T__83;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("grammar");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__84() throws RecognitionException {
try {
int _type = T__84;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("lexer");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__85() throws RecognitionException {
try {
int _type = T__85;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("parser");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__86() throws RecognitionException {
try {
int _type = T__86;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("private");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__87() throws RecognitionException {
try {
int _type = T__87;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("protected");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__88() throws RecognitionException {
try {
int _type = T__88;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("public");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__89() throws RecognitionException {
try {
int _type = T__89;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("throws");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__90() throws RecognitionException {
try {
int _type = T__90;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("tree");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__91() throws RecognitionException {
try {
int _type = T__91;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('|');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__92() throws RecognitionException {
try {
int _type = T__92;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('}');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mT__93() throws RecognitionException {
try {
int _type = T__93;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('~');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void () throws RecognitionException {
try {
int _type = SL_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("//");
int alt2=2;
alt2 = dfa2.predict(input);
switch (alt2) {
case 1 :
{
match(" $ANTLR ");
mSRC();
}
break;
case 2 :
{
loop1:
while (true) {
int alt1=2;
int LA1_0 = input.LA(1);
if ( ((LA1_0 >= '\u0000' && LA1_0 <= '\t')||(LA1_0 >= '\u000B' && LA1_0 <= '\f')||(LA1_0 >= '\u000E' && LA1_0 <= '\uFFFF')) ) {
alt1=1;
}
switch (alt1) {
case 1 :
{
if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '\t')||(input.LA(1) >= '\u000B' && input.LA(1) <= '\f')||(input.LA(1) >= '\u000E' && input.LA(1) <= '\uFFFF') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop1;
}
}
}
break;
}
int alt3=2;
int LA3_0 = input.LA(1);
if ( (LA3_0=='\r') ) {
alt3=1;
}
switch (alt3) {
case 1 :
{
match('\r');
}
break;
}
match('\n');
_channel=HIDDEN;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void () throws RecognitionException {
try {
int _type = ML_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("/*");
if (input.LA(1)=='*') _type=DOC_COMMENT; else _channel=HIDDEN;
loop4:
while (true) {
int alt4=2;
int LA4_0 = input.LA(1);
if ( (LA4_0=='*') ) {
int LA4_1 = input.LA(2);
if ( (LA4_1=='/') ) {
alt4=2;
}
else if ( ((LA4_1 >= '\u0000' && LA4_1 <= '.')||(LA4_1 >= '0' && LA4_1 <= '\uFFFF')) ) {
alt4=1;
}
}
else if ( ((LA4_0 >= '\u0000' && LA4_0 <= ')')||(LA4_0 >= '+' && LA4_0 <= '\uFFFF')) ) {
alt4=1;
}
switch (alt4) {
case 1 :
{
matchAny();
}
break;
default :
break loop4;
}
}
match("*/");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mCHAR_LITERAL() throws RecognitionException {
try {
int _type = CHAR_LITERAL;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('\'');
mLITERAL_CHAR();
match('\'');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mSTRING_LITERAL() throws RecognitionException {
try {
int _type = STRING_LITERAL;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('\'');
mLITERAL_CHAR();
loop5:
while (true) {
int alt5=2;
int LA5_0 = input.LA(1);
if ( ((LA5_0 >= '\u0000' && LA5_0 <= '&')||(LA5_0 >= '(' && LA5_0 <= '\uFFFF')) ) {
alt5=1;
}
switch (alt5) {
case 1 :
{
mLITERAL_CHAR();
}
break;
default :
break loop5;
}
}
match('\'');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mLITERAL_CHAR() throws RecognitionException {
try {
int alt6=2;
int LA6_0 = input.LA(1);
if ( (LA6_0=='\\') ) {
alt6=1;
}
else if ( ((LA6_0 >= '\u0000' && LA6_0 <= '&')||(LA6_0 >= '(' && LA6_0 <= '[')||(LA6_0 >= ']' && LA6_0 <= '\uFFFF')) ) {
alt6=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("", 6, 0, input);
throw nvae;
}
switch (alt6) {
case 1 :
{
mESC();
}
break;
case 2 :
{
if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '&')||(input.LA(1) >= '(' && input.LA(1) <= '[')||(input.LA(1) >= ']' && input.LA(1) <= '\uFFFF') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
}
}
finally {
}
}
public final void mDOUBLE_QUOTE_STRING_LITERAL() throws RecognitionException {
try {
int _type = DOUBLE_QUOTE_STRING_LITERAL;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('\"');
loop7:
while (true) {
int alt7=3;
int LA7_0 = input.LA(1);
if ( (LA7_0=='\\') ) {
alt7=1;
}
else if ( ((LA7_0 >= '\u0000' && LA7_0 <= '!')||(LA7_0 >= '#' && LA7_0 <= '[')||(LA7_0 >= ']' && LA7_0 <= '\uFFFF')) ) {
alt7=2;
}
switch (alt7) {
case 1 :
{
mESC();
}
break;
case 2 :
{
if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '!')||(input.LA(1) >= '#' && input.LA(1) <= '[')||(input.LA(1) >= ']' && input.LA(1) <= '\uFFFF') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop7;
}
}
match('\"');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mDOUBLE_ANGLE_STRING_LITERAL() throws RecognitionException {
try {
int _type = DOUBLE_ANGLE_STRING_LITERAL;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("<<");
loop8:
while (true) {
int alt8=2;
int LA8_0 = input.LA(1);
if ( (LA8_0=='>') ) {
int LA8_1 = input.LA(2);
if ( (LA8_1=='>') ) {
alt8=2;
}
else if ( ((LA8_1 >= '\u0000' && LA8_1 <= '=')||(LA8_1 >= '?' && LA8_1 <= '\uFFFF')) ) {
alt8=1;
}
}
else if ( ((LA8_0 >= '\u0000' && LA8_0 <= '=')||(LA8_0 >= '?' && LA8_0 <= '\uFFFF')) ) {
alt8=1;
}
switch (alt8) {
case 1 :
{
matchAny();
}
break;
default :
break loop8;
}
}
match(">>");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mESC() throws RecognitionException {
try {
{
match('\\');
int alt9=11;
int LA9_0 = input.LA(1);
if ( (LA9_0=='n') ) {
alt9=1;
}
else if ( (LA9_0=='r') ) {
alt9=2;
}
else if ( (LA9_0=='t') ) {
alt9=3;
}
else if ( (LA9_0=='b') ) {
alt9=4;
}
else if ( (LA9_0=='f') ) {
alt9=5;
}
else if ( (LA9_0=='\"') ) {
alt9=6;
}
else if ( (LA9_0=='\'') ) {
alt9=7;
}
else if ( (LA9_0=='\\') ) {
alt9=8;
}
else if ( (LA9_0=='>') ) {
alt9=9;
}
else if ( (LA9_0=='u') ) {
int LA9_10 = input.LA(2);
if ( ((LA9_10 >= '0' && LA9_10 <= '9')||(LA9_10 >= 'A' && LA9_10 <= 'F')||(LA9_10 >= 'a' && LA9_10 <= 'f')) ) {
alt9=10;
}
else {
alt9=11;
}
}
else if ( ((LA9_0 >= '\u0000' && LA9_0 <= '!')||(LA9_0 >= '#' && LA9_0 <= '&')||(LA9_0 >= '(' && LA9_0 <= '=')||(LA9_0 >= '?' && LA9_0 <= '[')||(LA9_0 >= ']' && LA9_0 <= 'a')||(LA9_0 >= 'c' && LA9_0 <= 'e')||(LA9_0 >= 'g' && LA9_0 <= 'm')||(LA9_0 >= 'o' && LA9_0 <= 'q')||LA9_0=='s'||(LA9_0 >= 'v' && LA9_0 <= '\uFFFF')) ) {
alt9=11;
}
else {
NoViableAltException nvae =
new NoViableAltException("", 9, 0, input);
throw nvae;
}
switch (alt9) {
case 1 :
{
match('n');
}
break;
case 2 :
{
match('r');
}
break;
case 3 :
{
match('t');
}
break;
case 4 :
{
match('b');
}
break;
case 5 :
{
match('f');
}
break;
case 6 :
{
match('\"');
}
break;
case 7 :
{
match('\'');
}
break;
case 8 :
{
match('\\');
}
break;
case 9 :
{
match('>');
}
break;
case 10 :
{
match('u');
mXDIGIT();
mXDIGIT();
mXDIGIT();
mXDIGIT();
}
break;
case 11 :
{
matchAny();
}
break;
}
}
}
finally {
}
}
public final void mXDIGIT() throws RecognitionException {
try {
{
if ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'F')||(input.LA(1) >= 'a' && input.LA(1) <= 'f') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
}
finally {
}
}
public final void mINT() throws RecognitionException {
try {
int _type = INT;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
int cnt10=0;
loop10:
while (true) {
int alt10=2;
int LA10_0 = input.LA(1);
if ( ((LA10_0 >= '0' && LA10_0 <= '9')) ) {
alt10=1;
}
switch (alt10) {
case 1 :
{
if ( (input.LA(1) >= '0' && input.LA(1) <= '9') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
if ( cnt10 >= 1 ) break loop10;
EarlyExitException eee = new EarlyExitException(10, input);
throw eee;
}
cnt10++;
}
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mARG_ACTION() throws RecognitionException {
try {
int _type = ARG_ACTION;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
mNESTED_ARG_ACTION();
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mNESTED_ARG_ACTION() throws RecognitionException {
try {
{
match('[');
loop11:
while (true) {
int alt11=5;
int LA11_0 = input.LA(1);
if ( (LA11_0==']') ) {
alt11=5;
}
else if ( (LA11_0=='[') ) {
alt11=1;
}
else if ( (LA11_0=='\"') ) {
alt11=2;
}
else if ( (LA11_0=='\'') ) {
alt11=3;
}
else if ( ((LA11_0 >= '\u0000' && LA11_0 <= '!')||(LA11_0 >= '#' && LA11_0 <= '&')||(LA11_0 >= '(' && LA11_0 <= 'Z')||LA11_0=='\\'||(LA11_0 >= '^' && LA11_0 <= '\uFFFF')) ) {
alt11=4;
}
switch (alt11) {
case 1 :
{
mNESTED_ARG_ACTION();
}
break;
case 2 :
{
mACTION_STRING_LITERAL();
}
break;
case 3 :
{
mACTION_CHAR_LITERAL();
}
break;
case 4 :
{
matchAny();
}
break;
default :
break loop11;
}
}
match(']');
}
}
finally {
}
}
public final void mACTION() throws RecognitionException {
try {
int _type = ACTION;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
mNESTED_ACTION();
int alt12=2;
int LA12_0 = input.LA(1);
if ( (LA12_0=='?') ) {
alt12=1;
}
switch (alt12) {
case 1 :
{
match('?');
_type = SEMPRED;
}
break;
}
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mNESTED_ACTION() throws RecognitionException {
try {
{
match('{');
loop13:
while (true) {
int alt13=7;
int LA13_0 = input.LA(1);
if ( (LA13_0=='}') ) {
alt13=7;
}
else if ( (LA13_0=='{') ) {
alt13=1;
}
else if ( (LA13_0=='/') ) {
int LA13_3 = input.LA(2);
if ( (LA13_3=='/') ) {
alt13=2;
}
else if ( (LA13_3=='*') ) {
alt13=3;
}
else if ( ((LA13_3 >= '\u0000' && LA13_3 <= ')')||(LA13_3 >= '+' && LA13_3 <= '.')||(LA13_3 >= '0' && LA13_3 <= '\uFFFF')) ) {
alt13=6;
}
}
else if ( (LA13_0=='\"') ) {
int LA13_4 = input.LA(2);
if ( (LA13_4=='\\') ) {
alt13=4;
}
else if ( (LA13_4=='}') ) {
alt13=4;
}
else if ( (LA13_4=='\"') ) {
alt13=4;
}
else if ( (LA13_4=='{') ) {
alt13=4;
}
else if ( (LA13_4=='/') ) {
alt13=4;
}
else if ( (LA13_4=='\'') ) {
alt13=4;
}
else if ( ((LA13_4 >= '\u0000' && LA13_4 <= '!')||(LA13_4 >= '#' && LA13_4 <= '&')||(LA13_4 >= '(' && LA13_4 <= '.')||(LA13_4 >= '0' && LA13_4 <= '[')||(LA13_4 >= ']' && LA13_4 <= 'z')||LA13_4=='|'||(LA13_4 >= '~' && LA13_4 <= '\uFFFF')) ) {
alt13=4;
}
}
else if ( (LA13_0=='\'') ) {
int LA13_5 = input.LA(2);
if ( (LA13_5=='\\') ) {
alt13=5;
}
else if ( (LA13_5=='}') ) {
alt13=5;
}
else if ( (LA13_5=='{') ) {
alt13=5;
}
else if ( (LA13_5=='/') ) {
alt13=5;
}
else if ( (LA13_5=='\"') ) {
alt13=5;
}
else if ( ((LA13_5 >= '\u0000' && LA13_5 <= '!')||(LA13_5 >= '#' && LA13_5 <= '&')||(LA13_5 >= '(' && LA13_5 <= '.')||(LA13_5 >= '0' && LA13_5 <= '[')||(LA13_5 >= ']' && LA13_5 <= 'z')||LA13_5=='|'||(LA13_5 >= '~' && LA13_5 <= '\uFFFF')) ) {
alt13=5;
}
else if ( (LA13_5=='\'') ) {
alt13=6;
}
}
else if ( ((LA13_0 >= '\u0000' && LA13_0 <= '!')||(LA13_0 >= '#' && LA13_0 <= '&')||(LA13_0 >= '(' && LA13_0 <= '.')||(LA13_0 >= '0' && LA13_0 <= 'z')||LA13_0=='|'||(LA13_0 >= '~' && LA13_0 <= '\uFFFF')) ) {
alt13=6;
}
switch (alt13) {
case 1 :
{
mNESTED_ACTION();
}
break;
case 2 :
{
mSL_COMMENT();
}
break;
case 3 :
{
mML_COMMENT();
}
break;
case 4 :
{
mACTION_STRING_LITERAL();
}
break;
case 5 :
{
mACTION_CHAR_LITERAL();
}
break;
case 6 :
{
matchAny();
}
break;
default :
break loop13;
}
}
match('}');
}
}
finally {
}
}
public final void mACTION_CHAR_LITERAL() throws RecognitionException {
try {
{
match('\'');
int alt14=2;
int LA14_0 = input.LA(1);
if ( (LA14_0=='\\') ) {
alt14=1;
}
else if ( ((LA14_0 >= '\u0000' && LA14_0 <= '&')||(LA14_0 >= '(' && LA14_0 <= '[')||(LA14_0 >= ']' && LA14_0 <= '\uFFFF')) ) {
alt14=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("", 14, 0, input);
throw nvae;
}
switch (alt14) {
case 1 :
{
mACTION_ESC();
}
break;
case 2 :
{
if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '&')||(input.LA(1) >= '(' && input.LA(1) <= '[')||(input.LA(1) >= ']' && input.LA(1) <= '\uFFFF') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
}
match('\'');
}
}
finally {
}
}
public final void mACTION_STRING_LITERAL() throws RecognitionException {
try {
{
match('\"');
loop15:
while (true) {
int alt15=3;
int LA15_0 = input.LA(1);
if ( (LA15_0=='\\') ) {
alt15=1;
}
else if ( ((LA15_0 >= '\u0000' && LA15_0 <= '!')||(LA15_0 >= '#' && LA15_0 <= '[')||(LA15_0 >= ']' && LA15_0 <= '\uFFFF')) ) {
alt15=2;
}
switch (alt15) {
case 1 :
{
mACTION_ESC();
}
break;
case 2 :
{
if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '!')||(input.LA(1) >= '#' && input.LA(1) <= '[')||(input.LA(1) >= ']' && input.LA(1) <= '\uFFFF') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop15;
}
}
match('\"');
}
}
finally {
}
}
public final void mACTION_ESC() throws RecognitionException {
try {
int alt16=3;
int LA16_0 = input.LA(1);
if ( (LA16_0=='\\') ) {
int LA16_1 = input.LA(2);
if ( (LA16_1=='\'') ) {
alt16=1;
}
else if ( (LA16_1=='\"') ) {
alt16=2;
}
else if ( ((LA16_1 >= '\u0000' && LA16_1 <= '!')||(LA16_1 >= '#' && LA16_1 <= '&')||(LA16_1 >= '(' && LA16_1 <= '\uFFFF')) ) {
alt16=3;
}
else {
int nvaeMark = input.mark();
try {
input.consume();
NoViableAltException nvae =
new NoViableAltException("", 16, 1, input);
throw nvae;
} finally {
input.rewind(nvaeMark);
}
}
}
else {
NoViableAltException nvae =
new NoViableAltException("", 16, 0, input);
throw nvae;
}
switch (alt16) {
case 1 :
{
match("\\'");
}
break;
case 2 :
{
match('\\');
match('\"');
}
break;
case 3 :
{
match('\\');
if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '!')||(input.LA(1) >= '#' && input.LA(1) <= '&')||(input.LA(1) >= '(' && input.LA(1) <= '\uFFFF') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
}
}
finally {
}
}
public final void mTOKEN_REF() throws RecognitionException {
try {
int _type = TOKEN_REF;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
matchRange('A','Z');
loop17:
while (true) {
int alt17=2;
int LA17_0 = input.LA(1);
if ( ((LA17_0 >= '0' && LA17_0 <= '9')||(LA17_0 >= 'A' && LA17_0 <= 'Z')||LA17_0=='_'||(LA17_0 >= 'a' && LA17_0 <= 'z')) ) {
alt17=1;
}
switch (alt17) {
case 1 :
{
if ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'Z')||input.LA(1)=='_'||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop17;
}
}
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mRULE_REF() throws RecognitionException {
try {
int _type = RULE_REF;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
matchRange('a','z');
loop18:
while (true) {
int alt18=2;
int LA18_0 = input.LA(1);
if ( ((LA18_0 >= '0' && LA18_0 <= '9')||(LA18_0 >= 'A' && LA18_0 <= 'Z')||LA18_0=='_'||(LA18_0 >= 'a' && LA18_0 <= 'z')) ) {
alt18=1;
}
switch (alt18) {
case 1 :
{
if ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'Z')||input.LA(1)=='_'||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {
input.consume();
}
else {
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop18;
}
}
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mOPTIONS() throws RecognitionException {
try {
int _type = OPTIONS;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("options");
mWS_LOOP();
match('{');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mTOKENS() throws RecognitionException {
try {
int _type = TOKENS;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("tokens");
mWS_LOOP();
match('{');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mSRC() throws RecognitionException {
try {
CommonToken file=null;
CommonToken line=null;
{
match("src");
match(' ');
int fileStart966 = getCharIndex();
int fileStartLine966 = getLine();
int fileStartCharPos966 = getCharPositionInLine();
mACTION_STRING_LITERAL();
file = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, fileStart966, getCharIndex()-1);
file.setLine(fileStartLine966);
file.setCharPositionInLine(fileStartCharPos966);
match(' ');
int lineStart972 = getCharIndex();
int lineStartLine972 = getLine();
int lineStartCharPos972 = getCharPositionInLine();
mINT();
line = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, lineStart972, getCharIndex()-1);
line.setLine(lineStartLine972);
line.setCharPositionInLine(lineStartCharPos972);
}
}
finally {
}
}
public final void mWS() throws RecognitionException {
try {
int _type = WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
int cnt20=0;
loop20:
while (true) {
int alt20=4;
switch ( input.LA(1) ) {
case ' ':
{
alt20=1;
}
break;
case '\t':
{
alt20=2;
}
break;
case '\n':
case '\r':
{
alt20=3;
}
break;
}
switch (alt20) {
case 1 :
{
match(' ');
}
break;
case 2 :
{
match('\t');
}
break;
case 3 :
{
int alt19=2;
int LA19_0 = input.LA(1);
if ( (LA19_0=='\r') ) {
alt19=1;
}
switch (alt19) {
case 1 :
{
match('\r');
}
break;
}
match('\n');
}
break;
default :
if ( cnt20 >= 1 ) break loop20;
EarlyExitException eee = new EarlyExitException(20, input);
throw eee;
}
cnt20++;
}
_channel=HIDDEN;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mWS_LOOP() throws RecognitionException {
try {
{
loop21:
while (true) {
int alt21=4;
int LA21_0 = input.LA(1);
if ( ((LA21_0 >= '\t' && LA21_0 <= '\n')||LA21_0=='\r'||LA21_0==' ') ) {
alt21=1;
}
else if ( (LA21_0=='/') ) {
int LA21_3 = input.LA(2);
if ( (LA21_3=='/') ) {
alt21=2;
}
else if ( (LA21_3=='*') ) {
alt21=3;
}
}
switch (alt21) {
case 1 :
{
mWS();
}
break;
case 2 :
{
mSL_COMMENT();
}
break;
case 3 :
{
mML_COMMENT();
}
break;
default :
break loop21;
}
}
}
}
finally {
}
}
@Override
public void mTokens() throws RecognitionException {
int alt22=52;
alt22 = dfa22.predict(input);
switch (alt22) {
case 1 :
{
mAT();
}
break;
case 2 :
{
mBANG();
}
break;
case 3 :
{
mFRAGMENT();
}
break;
case 4 :
{
mLABEL_ASSIGN();
}
break;
case 5 :
{
mLIST_LABEL_ASSIGN();
}
break;
case 6 :
{
mRANGE();
}
break;
case 7 :
{
mRET();
}
break;
case 8 :
{
mREWRITE();
}
break;
case 9 :
{
mROOT();
}
break;
case 10 :
{
mSCOPE();
}
break;
case 11 :
{
mTREE_BEGIN();
}
break;
case 12 :
{
mT__67();
}
break;
case 13 :
{
mT__68();
}
break;
case 14 :
{
mT__69();
}
break;
case 15 :
{
mT__70();
}
break;
case 16 :
{
mT__71();
}
break;
case 17 :
{
mT__72();
}
break;
case 18 :
{
mT__73();
}
break;
case 19 :
{
mT__74();
}
break;
case 20 :
{
mT__75();
}
break;
case 21 :
{
mT__76();
}
break;
case 22 :
{
mT__77();
}
break;
case 23 :
{
mT__78();
}
break;
case 24 :
{
mT__79();
}
break;
case 25 :
{
mT__80();
}
break;
case 26 :
{
mT__81();
}
break;
case 27 :
{
mT__82();
}
break;
case 28 :
{
mT__83();
}
break;
case 29 :
{
mT__84();
}
break;
case 30 :
{
mT__85();
}
break;
case 31 :
{
mT__86();
}
break;
case 32 :
{
mT__87();
}
break;
case 33 :
{
mT__88();
}
break;
case 34 :
{
mT__89();
}
break;
case 35 :
{
mT__90();
}
break;
case 36 :
{
mT__91();
}
break;
case 37 :
{
mT__92();
}
break;
case 38 :
{
mT__93();
}
break;
case 39 :
{
mSL_COMMENT();
}
break;
case 40 :
{
mML_COMMENT();
}
break;
case 41 :
{
mCHAR_LITERAL();
}
break;
case 42 :
{
mSTRING_LITERAL();
}
break;
case 43 :
{
mDOUBLE_QUOTE_STRING_LITERAL();
}
break;
case 44 :
{
mDOUBLE_ANGLE_STRING_LITERAL();
}
break;
case 45 :
{
mINT();
}
break;
case 46 :
{
mARG_ACTION();
}
break;
case 47 :
{
mACTION();
}
break;
case 48 :
{
mTOKEN_REF();
}
break;
case 49 :
{
mRULE_REF();
}
break;
case 50 :
{
mOPTIONS();
}
break;
case 51 :
{
mTOKENS();
}
break;
case 52 :
{
mWS();
}
break;
}
}
protected DFA2 dfa2 = new DFA2(this);
protected DFA22 dfa22 = new DFA22(this);
static final String DFA2_eotS =
"\22\uffff\1\2\4\uffff\1\2\4\uffff";
static final String DFA2_eofS =
"\34\uffff";
static final String DFA2_minS =
"\2\0\1\uffff\26\0\1\uffff\1\0\1\uffff";
static final String DFA2_maxS =
"\2\uffff\1\uffff\26\uffff\1\uffff\1\uffff\1\uffff";
static final String DFA2_acceptS =
"\2\uffff\1\2\26\uffff\1\1\1\uffff\1\1";
static final String DFA2_specialS =
"\1\16\1\21\1\uffff\1\17\1\23\1\22\1\27\1\25\1\30\1\10\1\1\1\2\1\0\1\13"+
"\1\12\1\6\1\5\1\7\1\11\1\4\1\20\1\26\1\3\1\24\1\15\1\uffff\1\14\1\uffff}>";
static final String[] DFA2_transitionS = {
"\40\2\1\1\uffdf\2",
"\44\2\1\3\uffdb\2",
"",
"\101\2\1\4\uffbe\2",
"\116\2\1\5\uffb1\2",
"\124\2\1\6\uffab\2",
"\114\2\1\7\uffb3\2",
"\122\2\1\10\uffad\2",
"\40\2\1\11\uffdf\2",
"\163\2\1\12\uff8c\2",
"\162\2\1\13\uff8d\2",
"\143\2\1\14\uff9c\2",
"\40\2\1\15\uffdf\2",
"\42\2\1\16\uffdd\2",
"\12\23\1\22\2\23\1\20\24\23\1\21\71\23\1\17\uffa3\23",
"\12\30\1\27\2\30\1\26\24\30\1\25\4\30\1\24\uffd8\30",
"\12\31\1\22\ufff5\31",
"\40\2\1\32\uffdf\2",
"\0\31",
"\12\23\1\22\2\23\1\20\24\23\1\21\71\23\1\17\uffa3\23",
"\12\23\1\22\2\23\1\20\24\23\1\21\71\23\1\17\uffa3\23",
"\12\23\1\22\2\23\1\20\24\23\1\21\71\23\1\17\uffa3\23",
"\12\31\1\22\ufff5\31",
"\0\31",
"\12\23\1\22\2\23\1\20\24\23\1\21\71\23\1\17\uffa3\23",
"",
"\60\2\12\33\uffc6\2",
""
};
static final short[] DFA2_eot = DFA.unpackEncodedString(DFA2_eotS);
static final short[] DFA2_eof = DFA.unpackEncodedString(DFA2_eofS);
static final char[] DFA2_min = DFA.unpackEncodedStringToUnsignedChars(DFA2_minS);
static final char[] DFA2_max = DFA.unpackEncodedStringToUnsignedChars(DFA2_maxS);
static final short[] DFA2_accept = DFA.unpackEncodedString(DFA2_acceptS);
static final short[] DFA2_special = DFA.unpackEncodedString(DFA2_specialS);
static final short[][] DFA2_transition;
static {
int numStates = DFA2_transitionS.length;
DFA2_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA2_transition[i] = DFA.unpackEncodedString(DFA2_transitionS[i]);
}
}
protected class DFA2 extends DFA {
public DFA2(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 2;
this.eot = DFA2_eot;
this.eof = DFA2_eof;
this.min = DFA2_min;
this.max = DFA2_max;
this.accept = DFA2_accept;
this.special = DFA2_special;
this.transition = DFA2_transition;
}
@Override
public String getDescription() {
return "473:5: ( ' $ANTLR ' SRC | (~ ( '\\r' | '\\n' ) )* )";
}
@Override
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
IntStream input = _input;
int _s = s;
switch ( s ) {
case 0 :
int LA2_12 = input.LA(1);
s = -1;
if ( (LA2_12==' ') ) {s = 13;}
else if ( ((LA2_12 >= '\u0000' && LA2_12 <= '\u001F')||(LA2_12 >= '!' && LA2_12 <= '\uFFFF')) ) {s = 2;}
if ( s>=0 ) return s;
break;
case 1 :
int LA2_10 = input.LA(1);
s = -1;
if ( (LA2_10=='r') ) {s = 11;}
else if ( ((LA2_10 >= '\u0000' && LA2_10 <= 'q')||(LA2_10 >= 's' && LA2_10 <= '\uFFFF')) ) {s = 2;}
if ( s>=0 ) return s;
break;
case 2 :
int LA2_11 = input.LA(1);
s = -1;
if ( (LA2_11=='c') ) {s = 12;}
else if ( ((LA2_11 >= '\u0000' && LA2_11 <= 'b')||(LA2_11 >= 'd' && LA2_11 <= '\uFFFF')) ) {s = 2;}
if ( s>=0 ) return s;
break;
case 3 :
int LA2_22 = input.LA(1);
s = -1;
if ( ((LA2_22 >= '\u0000' && LA2_22 <= '\t')||(LA2_22 >= '\u000B' && LA2_22 <= '\uFFFF')) ) {s = 25;}
else if ( (LA2_22=='\n') ) {s = 18;}
if ( s>=0 ) return s;
break;
case 4 :
int LA2_19 = input.LA(1);
s = -1;
if ( (LA2_19=='\"') ) {s = 17;}
else if ( (LA2_19=='\\') ) {s = 15;}
else if ( (LA2_19=='\r') ) {s = 16;}
else if ( (LA2_19=='\n') ) {s = 18;}
else if ( ((LA2_19 >= '\u0000' && LA2_19 <= '\t')||(LA2_19 >= '\u000B' && LA2_19 <= '\f')||(LA2_19 >= '\u000E' && LA2_19 <= '!')||(LA2_19 >= '#' && LA2_19 <= '[')||(LA2_19 >= ']' && LA2_19 <= '\uFFFF')) ) {s = 19;}
if ( s>=0 ) return s;
break;
case 5 :
int LA2_16 = input.LA(1);
s = -1;
if ( ((LA2_16 >= '\u0000' && LA2_16 <= '\t')||(LA2_16 >= '\u000B' && LA2_16 <= '\uFFFF')) ) {s = 25;}
else if ( (LA2_16=='\n') ) {s = 18;}
if ( s>=0 ) return s;
break;
case 6 :
int LA2_15 = input.LA(1);
s = -1;
if ( (LA2_15=='\'') ) {s = 20;}
else if ( (LA2_15=='\"') ) {s = 21;}
else if ( (LA2_15=='\r') ) {s = 22;}
else if ( (LA2_15=='\n') ) {s = 23;}
else if ( ((LA2_15 >= '\u0000' && LA2_15 <= '\t')||(LA2_15 >= '\u000B' && LA2_15 <= '\f')||(LA2_15 >= '\u000E' && LA2_15 <= '!')||(LA2_15 >= '#' && LA2_15 <= '&')||(LA2_15 >= '(' && LA2_15 <= '\uFFFF')) ) {s = 24;}
if ( s>=0 ) return s;
break;
case 7 :
int LA2_17 = input.LA(1);
s = -1;
if ( (LA2_17==' ') ) {s = 26;}
else if ( ((LA2_17 >= '\u0000' && LA2_17 <= '\u001F')||(LA2_17 >= '!' && LA2_17 <= '\uFFFF')) ) {s = 2;}
if ( s>=0 ) return s;
break;
case 8 :
int LA2_9 = input.LA(1);
s = -1;
if ( (LA2_9=='s') ) {s = 10;}
else if ( ((LA2_9 >= '\u0000' && LA2_9 <= 'r')||(LA2_9 >= 't' && LA2_9 <= '\uFFFF')) ) {s = 2;}
if ( s>=0 ) return s;
break;
case 9 :
int LA2_18 = input.LA(1);
s = -1;
if ( ((LA2_18 >= '\u0000' && LA2_18 <= '\uFFFF')) ) {s = 25;}
else s = 2;
if ( s>=0 ) return s;
break;
case 10 :
int LA2_14 = input.LA(1);
s = -1;
if ( (LA2_14=='\\') ) {s = 15;}
else if ( (LA2_14=='\r') ) {s = 16;}
else if ( (LA2_14=='\"') ) {s = 17;}
else if ( (LA2_14=='\n') ) {s = 18;}
else if ( ((LA2_14 >= '\u0000' && LA2_14 <= '\t')||(LA2_14 >= '\u000B' && LA2_14 <= '\f')||(LA2_14 >= '\u000E' && LA2_14 <= '!')||(LA2_14 >= '#' && LA2_14 <= '[')||(LA2_14 >= ']' && LA2_14 <= '\uFFFF')) ) {s = 19;}
if ( s>=0 ) return s;
break;
case 11 :
int LA2_13 = input.LA(1);
s = -1;
if ( (LA2_13=='\"') ) {s = 14;}
else if ( ((LA2_13 >= '\u0000' && LA2_13 <= '!')||(LA2_13 >= '#' && LA2_13 <= '\uFFFF')) ) {s = 2;}
if ( s>=0 ) return s;
break;
case 12 :
int LA2_26 = input.LA(1);
s = -1;
if ( ((LA2_26 >= '0' && LA2_26 <= '9')) ) {s = 27;}
else if ( ((LA2_26 >= '\u0000' && LA2_26 <= '/')||(LA2_26 >= ':' && LA2_26 <= '\uFFFF')) ) {s = 2;}
if ( s>=0 ) return s;
break;
case 13 :
int LA2_24 = input.LA(1);
s = -1;
if ( (LA2_24=='\"') ) {s = 17;}
else if ( (LA2_24=='\\') ) {s = 15;}
else if ( (LA2_24=='\r') ) {s = 16;}
else if ( (LA2_24=='\n') ) {s = 18;}
else if ( ((LA2_24 >= '\u0000' && LA2_24 <= '\t')||(LA2_24 >= '\u000B' && LA2_24 <= '\f')||(LA2_24 >= '\u000E' && LA2_24 <= '!')||(LA2_24 >= '#' && LA2_24 <= '[')||(LA2_24 >= ']' && LA2_24 <= '\uFFFF')) ) {s = 19;}
if ( s>=0 ) return s;
break;
case 14 :
int LA2_0 = input.LA(1);
s = -1;
if ( (LA2_0==' ') ) {s = 1;}
else if ( ((LA2_0 >= '\u0000' && LA2_0 <= '\u001F')||(LA2_0 >= '!' && LA2_0 <= '\uFFFF')) ) {s = 2;}
if ( s>=0 ) return s;
break;
case 15 :
int LA2_3 = input.LA(1);
s = -1;
if ( (LA2_3=='A') ) {s = 4;}
else if ( ((LA2_3 >= '\u0000' && LA2_3 <= '@')||(LA2_3 >= 'B' && LA2_3 <= '\uFFFF')) ) {s = 2;}
if ( s>=0 ) return s;
break;
case 16 :
int LA2_20 = input.LA(1);
s = -1;
if ( (LA2_20=='\"') ) {s = 17;}
else if ( (LA2_20=='\\') ) {s = 15;}
else if ( (LA2_20=='\r') ) {s = 16;}
else if ( (LA2_20=='\n') ) {s = 18;}
else if ( ((LA2_20 >= '\u0000' && LA2_20 <= '\t')||(LA2_20 >= '\u000B' && LA2_20 <= '\f')||(LA2_20 >= '\u000E' && LA2_20 <= '!')||(LA2_20 >= '#' && LA2_20 <= '[')||(LA2_20 >= ']' && LA2_20 <= '\uFFFF')) ) {s = 19;}
if ( s>=0 ) return s;
break;
case 17 :
int LA2_1 = input.LA(1);
s = -1;
if ( (LA2_1=='$') ) {s = 3;}
else if ( ((LA2_1 >= '\u0000' && LA2_1 <= '#')||(LA2_1 >= '%' && LA2_1 <= '\uFFFF')) ) {s = 2;}
if ( s>=0 ) return s;
break;
case 18 :
int LA2_5 = input.LA(1);
s = -1;
if ( (LA2_5=='T') ) {s = 6;}
else if ( ((LA2_5 >= '\u0000' && LA2_5 <= 'S')||(LA2_5 >= 'U' && LA2_5 <= '\uFFFF')) ) {s = 2;}
if ( s>=0 ) return s;
break;
case 19 :
int LA2_4 = input.LA(1);
s = -1;
if ( (LA2_4=='N') ) {s = 5;}
else if ( ((LA2_4 >= '\u0000' && LA2_4 <= 'M')||(LA2_4 >= 'O' && LA2_4 <= '\uFFFF')) ) {s = 2;}
if ( s>=0 ) return s;
break;
case 20 :
int LA2_23 = input.LA(1);
s = -1;
if ( ((LA2_23 >= '\u0000' && LA2_23 <= '\uFFFF')) ) {s = 25;}
else s = 2;
if ( s>=0 ) return s;
break;
case 21 :
int LA2_7 = input.LA(1);
s = -1;
if ( (LA2_7=='R') ) {s = 8;}
else if ( ((LA2_7 >= '\u0000' && LA2_7 <= 'Q')||(LA2_7 >= 'S' && LA2_7 <= '\uFFFF')) ) {s = 2;}
if ( s>=0 ) return s;
break;
case 22 :
int LA2_21 = input.LA(1);
s = -1;
if ( (LA2_21=='\"') ) {s = 17;}
else if ( (LA2_21=='\\') ) {s = 15;}
else if ( (LA2_21=='\r') ) {s = 16;}
else if ( (LA2_21=='\n') ) {s = 18;}
else if ( ((LA2_21 >= '\u0000' && LA2_21 <= '\t')||(LA2_21 >= '\u000B' && LA2_21 <= '\f')||(LA2_21 >= '\u000E' && LA2_21 <= '!')||(LA2_21 >= '#' && LA2_21 <= '[')||(LA2_21 >= ']' && LA2_21 <= '\uFFFF')) ) {s = 19;}
if ( s>=0 ) return s;
break;
case 23 :
int LA2_6 = input.LA(1);
s = -1;
if ( (LA2_6=='L') ) {s = 7;}
else if ( ((LA2_6 >= '\u0000' && LA2_6 <= 'K')||(LA2_6 >= 'M' && LA2_6 <= '\uFFFF')) ) {s = 2;}
if ( s>=0 ) return s;
break;
case 24 :
int LA2_8 = input.LA(1);
s = -1;
if ( (LA2_8==' ') ) {s = 9;}
else if ( ((LA2_8 >= '\u0000' && LA2_8 <= '\u001F')||(LA2_8 >= '!' && LA2_8 <= '\uFFFF')) ) {s = 2;}
if ( s>=0 ) return s;
break;
}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 2, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA22_eotS =
"\3\uffff\1\45\1\52\1\54\1\56\1\45\1\uffff\1\61\1\45\5\uffff\1\64\1\uffff"+
"\1\66\2\uffff\5\45\12\uffff\1\45\2\uffff\2\45\6\uffff\1\45\2\uffff\1\45"+
"\4\uffff\11\45\4\uffff\17\45\15\uffff\15\45\1\176\1\45\2\uffff\4\45\1"+
"\u0085\1\u0086\1\45\1\u0088\5\45\1\uffff\1\45\1\uffff\4\45\2\uffff\1\45"+
"\1\uffff\1\u0095\2\45\1\u0098\1\u0099\1\45\1\uffff\2\45\1\u009e\1\u009f"+
"\1\u00a0\1\uffff\1\u00a1\1\45\4\uffff\1\45\1\u00a4\4\uffff\1\45\2\uffff"+
"\1\u00a6\1\uffff";
static final String DFA22_eofS =
"\u00a7\uffff";
static final String DFA22_minS =
"\1\11\2\uffff\1\151\1\76\1\75\1\56\1\145\1\uffff\1\50\1\143\5\uffff\1"+
"\72\1\uffff\1\74\2\uffff\1\141\1\162\1\145\1\141\1\150\3\uffff\1\52\1"+
"\0\5\uffff\1\160\2\uffff\1\141\1\156\6\uffff\1\164\2\uffff\1\157\4\uffff"+
"\1\164\1\141\1\170\1\162\1\151\1\142\1\162\1\145\1\153\2\uffff\2\0\1\164"+
"\1\147\1\141\1\165\1\160\1\143\1\155\1\145\1\163\1\166\1\164\1\154\1\157"+
"\2\145\13\0\2\uffff\1\151\1\155\1\154\1\162\1\145\1\150\1\155\1\162\1"+
"\145\1\141\1\145\1\151\1\167\1\60\1\156\1\0\1\uffff\1\157\1\145\1\154"+
"\1\156\2\60\1\141\1\60\1\162\1\164\2\143\1\163\1\uffff\1\163\1\0\2\156"+
"\1\171\1\163\2\uffff\1\162\1\uffff\1\60\1\145\1\164\2\60\1\11\1\0\1\163"+
"\1\164\3\60\1\uffff\1\60\1\145\3\uffff\1\0\1\11\1\60\4\uffff\1\144\2\uffff"+
"\1\60\1\uffff";
static final String DFA22_maxS =
"\1\176\2\uffff\1\162\1\76\1\75\1\56\1\145\1\uffff\1\50\1\143\5\uffff\1"+
"\72\1\uffff\1\74\2\uffff\1\141\1\162\1\145\1\165\1\162\3\uffff\1\57\1"+
"\uffff\5\uffff\1\160\2\uffff\1\141\1\156\6\uffff\1\164\2\uffff\1\157\4"+
"\uffff\1\164\1\141\1\170\1\162\1\157\1\142\1\162\1\145\1\153\2\uffff\2"+
"\uffff\1\164\1\147\1\141\1\165\1\160\1\143\1\155\1\145\1\163\1\166\1\164"+
"\1\154\1\157\2\145\13\uffff\2\uffff\1\151\1\155\1\154\1\162\1\145\1\150"+
"\1\155\1\162\1\145\1\141\1\145\1\151\1\167\1\172\1\156\1\uffff\1\uffff"+
"\1\157\1\145\1\154\1\156\2\172\1\141\1\172\1\162\1\164\2\143\1\163\1\uffff"+
"\1\163\1\uffff\2\156\1\171\1\163\2\uffff\1\162\1\uffff\1\172\1\145\1\164"+
"\2\172\1\173\1\uffff\1\163\1\164\3\172\1\uffff\1\172\1\145\3\uffff\1\uffff"+
"\1\173\1\172\4\uffff\1\144\2\uffff\1\172\1\uffff";
static final String DFA22_acceptS =
"\1\uffff\1\1\1\2\5\uffff\1\10\2\uffff\1\14\1\15\1\16\1\17\1\21\1\uffff"+
"\1\25\1\uffff\1\30\1\31\5\uffff\1\44\1\45\1\46\2\uffff\1\53\1\55\1\56"+
"\1\57\1\60\1\uffff\1\61\1\64\2\uffff\1\27\1\4\1\5\1\20\1\6\1\22\1\uffff"+
"\1\13\1\11\1\uffff\1\24\1\23\1\54\1\26\11\uffff\1\47\1\50\34\uffff\1\51"+
"\1\52\20\uffff\1\51\15\uffff\1\43\6\uffff\1\12\1\32\1\uffff\1\35\14\uffff"+
"\1\36\2\uffff\1\41\1\42\1\63\3\uffff\1\33\1\7\1\34\1\37\1\uffff\1\62\1"+
"\3\1\uffff\1\40";
static final String DFA22_specialS =
"\36\uffff\1\11\43\uffff\1\1\1\0\17\uffff\1\12\1\15\1\13\1\21\1\17\1\4"+
"\1\5\1\6\1\7\1\3\1\10\21\uffff\1\14\20\uffff\1\16\16\uffff\1\20\13\uffff"+
"\1\2\13\uffff}>";
static final String[] DFA22_transitionS = {
"\2\46\2\uffff\1\46\22\uffff\1\46\1\2\1\37\1\uffff\1\13\2\uffff\1\36\1"+
"\14\1\15\1\16\1\5\1\17\1\10\1\6\1\35\12\40\1\20\1\21\1\22\1\4\1\23\1"+
"\24\1\1\32\43\1\41\2\uffff\1\11\2\uffff\2\45\1\25\2\45\1\3\1\26\4\45"+
"\1\27\2\45\1\44\1\30\1\45\1\7\1\12\1\31\6\45\1\42\1\32\1\33\1\34",
"",
"",
"\1\50\10\uffff\1\47",
"\1\51",
"\1\53",
"\1\55",
"\1\57",
"",
"\1\60",
"\1\62",
"",
"",
"",
"",
"",
"\1\63",
"",
"\1\65",
"",
"",
"\1\67",
"\1\70",
"\1\71",
"\1\72\20\uffff\1\73\2\uffff\1\74",
"\1\75\6\uffff\1\77\2\uffff\1\76",
"",
"",
"",
"\1\101\4\uffff\1\100",
"\47\103\1\uffff\64\103\1\102\uffa3\103",
"",
"",
"",
"",
"",
"\1\104",
"",
"",
"\1\105",
"\1\106",
"",
"",
"",
"",
"",
"",
"\1\107",
"",
"",
"\1\110",
"",
"",
"",
"",
"\1\111",
"\1\112",
"\1\113",
"\1\114",
"\1\115\5\uffff\1\116",
"\1\117",
"\1\120",
"\1\121",
"\1\122",
"",
"",
"\42\135\1\130\4\135\1\131\26\135\1\133\35\135\1\132\5\135\1\126\3\135"+
"\1\127\7\135\1\123\3\135\1\124\1\135\1\125\1\134\uff8a\135",
"\47\137\1\136\uffd8\137",
"\1\140",
"\1\141",
"\1\142",
"\1\143",
"\1\144",
"\1\145",
"\1\146",
"\1\147",
"\1\150",
"\1\151",
"\1\152",
"\1\153",
"\1\154",
"\1\155",
"\1\156",
"\47\137\1\136\uffd8\137",
"\47\137\1\136\uffd8\137",
"\47\137\1\136\uffd8\137",
"\47\137\1\136\uffd8\137",
"\47\137\1\136\uffd8\137",
"\47\137\1\136\uffd8\137",
"\47\137\1\136\uffd8\137",
"\47\137\1\136\uffd8\137",
"\47\137\1\136\uffd8\137",
"\47\137\1\136\10\137\12\157\7\137\6\157\32\137\6\157\uff99\137",
"\47\137\1\136\uffd8\137",
"",
"",
"\1\161",
"\1\162",
"\1\163",
"\1\164",
"\1\165",
"\1\166",
"\1\167",
"\1\170",
"\1\171",
"\1\172",
"\1\173",
"\1\174",
"\1\175",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\1\177",
"\60\137\12\u0080\7\137\6\u0080\32\137\6\u0080\uff99\137",
"",
"\1\u0081",
"\1\u0082",
"\1\u0083",
"\1\u0084",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\1\u0087",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\1\u0089",
"\1\u008a",
"\1\u008b",
"\1\u008c",
"\1\u008d",
"",
"\1\u008e",
"\60\137\12\u008f\7\137\6\u008f\32\137\6\u008f\uff99\137",
"\1\u0090",
"\1\u0091",
"\1\u0092",
"\1\u0093",
"",
"",
"\1\u0094",
"",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\1\u0096",
"\1\u0097",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\2\u009a\2\uffff\1\u009a\22\uffff\1\u009a\16\uffff\1\u009a\113\uffff"+
"\1\u009a",
"\60\137\12\u009b\7\137\6\u009b\32\137\6\u009b\uff99\137",
"\1\u009c",
"\1\u009d",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\1\u00a2",
"",
"",
"",
"\47\137\1\136\uffd8\137",
"\2\u00a3\2\uffff\1\u00a3\22\uffff\1\u00a3\16\uffff\1\u00a3\113\uffff"+
"\1\u00a3",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"",
"",
"",
"",
"\1\u00a5",
"",
"",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
""
};
static final short[] DFA22_eot = DFA.unpackEncodedString(DFA22_eotS);
static final short[] DFA22_eof = DFA.unpackEncodedString(DFA22_eofS);
static final char[] DFA22_min = DFA.unpackEncodedStringToUnsignedChars(DFA22_minS);
static final char[] DFA22_max = DFA.unpackEncodedStringToUnsignedChars(DFA22_maxS);
static final short[] DFA22_accept = DFA.unpackEncodedString(DFA22_acceptS);
static final short[] DFA22_special = DFA.unpackEncodedString(DFA22_specialS);
static final short[][] DFA22_transition;
static {
int numStates = DFA22_transitionS.length;
DFA22_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA22_transition[i] = DFA.unpackEncodedString(DFA22_transitionS[i]);
}
}
protected class DFA22 extends DFA {
public DFA22(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 22;
this.eot = DFA22_eot;
this.eof = DFA22_eof;
this.min = DFA22_min;
this.max = DFA22_max;
this.accept = DFA22_accept;
this.special = DFA22_special;
this.transition = DFA22_transition;
}
@Override
public String getDescription() {
return "1:1: Tokens : ( AT | BANG | FRAGMENT | LABEL_ASSIGN | LIST_LABEL_ASSIGN | RANGE | RET | REWRITE | ROOT | SCOPE | TREE_BEGIN | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | T__77 | T__78 | T__79 | T__80 | T__81 | T__82 | T__83 | T__84 | T__85 | T__86 | T__87 | T__88 | T__89 | T__90 | T__91 | T__92 | T__93 | SL_COMMENT | ML_COMMENT | CHAR_LITERAL | STRING_LITERAL | DOUBLE_QUOTE_STRING_LITERAL | DOUBLE_ANGLE_STRING_LITERAL | INT | ARG_ACTION | ACTION | TOKEN_REF | RULE_REF | OPTIONS | TOKENS | WS );";
}
@Override
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
IntStream input = _input;
int _s = s;
switch ( s ) {
case 0 :
int LA22_67 = input.LA(1);
s = -1;
if ( (LA22_67=='\'') ) {s = 94;}
else if ( ((LA22_67 >= '\u0000' && LA22_67 <= '&')||(LA22_67 >= '(' && LA22_67 <= '\uFFFF')) ) {s = 95;}
if ( s>=0 ) return s;
break;
case 1 :
int LA22_66 = input.LA(1);
s = -1;
if ( (LA22_66=='n') ) {s = 83;}
else if ( (LA22_66=='r') ) {s = 84;}
else if ( (LA22_66=='t') ) {s = 85;}
else if ( (LA22_66=='b') ) {s = 86;}
else if ( (LA22_66=='f') ) {s = 87;}
else if ( (LA22_66=='\"') ) {s = 88;}
else if ( (LA22_66=='\'') ) {s = 89;}
else if ( (LA22_66=='\\') ) {s = 90;}
else if ( (LA22_66=='>') ) {s = 91;}
else if ( (LA22_66=='u') ) {s = 92;}
else if ( ((LA22_66 >= '\u0000' && LA22_66 <= '!')||(LA22_66 >= '#' && LA22_66 <= '&')||(LA22_66 >= '(' && LA22_66 <= '=')||(LA22_66 >= '?' && LA22_66 <= '[')||(LA22_66 >= ']' && LA22_66 <= 'a')||(LA22_66 >= 'c' && LA22_66 <= 'e')||(LA22_66 >= 'g' && LA22_66 <= 'm')||(LA22_66 >= 'o' && LA22_66 <= 'q')||LA22_66=='s'||(LA22_66 >= 'v' && LA22_66 <= '\uFFFF')) ) {s = 93;}
if ( s>=0 ) return s;
break;
case 2 :
int LA22_155 = input.LA(1);
s = -1;
if ( (LA22_155=='\'') ) {s = 94;}
else if ( ((LA22_155 >= '\u0000' && LA22_155 <= '&')||(LA22_155 >= '(' && LA22_155 <= '\uFFFF')) ) {s = 95;}
if ( s>=0 ) return s;
break;
case 3 :
int LA22_92 = input.LA(1);
s = -1;
if ( ((LA22_92 >= '0' && LA22_92 <= '9')||(LA22_92 >= 'A' && LA22_92 <= 'F')||(LA22_92 >= 'a' && LA22_92 <= 'f')) ) {s = 111;}
else if ( (LA22_92=='\'') ) {s = 94;}
else if ( ((LA22_92 >= '\u0000' && LA22_92 <= '&')||(LA22_92 >= '(' && LA22_92 <= '/')||(LA22_92 >= ':' && LA22_92 <= '@')||(LA22_92 >= 'G' && LA22_92 <= '`')||(LA22_92 >= 'g' && LA22_92 <= '\uFFFF')) ) {s = 95;}
if ( s>=0 ) return s;
break;
case 4 :
int LA22_88 = input.LA(1);
s = -1;
if ( (LA22_88=='\'') ) {s = 94;}
else if ( ((LA22_88 >= '\u0000' && LA22_88 <= '&')||(LA22_88 >= '(' && LA22_88 <= '\uFFFF')) ) {s = 95;}
if ( s>=0 ) return s;
break;
case 5 :
int LA22_89 = input.LA(1);
s = -1;
if ( (LA22_89=='\'') ) {s = 94;}
else if ( ((LA22_89 >= '\u0000' && LA22_89 <= '&')||(LA22_89 >= '(' && LA22_89 <= '\uFFFF')) ) {s = 95;}
if ( s>=0 ) return s;
break;
case 6 :
int LA22_90 = input.LA(1);
s = -1;
if ( (LA22_90=='\'') ) {s = 94;}
else if ( ((LA22_90 >= '\u0000' && LA22_90 <= '&')||(LA22_90 >= '(' && LA22_90 <= '\uFFFF')) ) {s = 95;}
if ( s>=0 ) return s;
break;
case 7 :
int LA22_91 = input.LA(1);
s = -1;
if ( (LA22_91=='\'') ) {s = 94;}
else if ( ((LA22_91 >= '\u0000' && LA22_91 <= '&')||(LA22_91 >= '(' && LA22_91 <= '\uFFFF')) ) {s = 95;}
if ( s>=0 ) return s;
break;
case 8 :
int LA22_93 = input.LA(1);
s = -1;
if ( (LA22_93=='\'') ) {s = 94;}
else if ( ((LA22_93 >= '\u0000' && LA22_93 <= '&')||(LA22_93 >= '(' && LA22_93 <= '\uFFFF')) ) {s = 95;}
if ( s>=0 ) return s;
break;
case 9 :
int LA22_30 = input.LA(1);
s = -1;
if ( (LA22_30=='\\') ) {s = 66;}
else if ( ((LA22_30 >= '\u0000' && LA22_30 <= '&')||(LA22_30 >= '(' && LA22_30 <= '[')||(LA22_30 >= ']' && LA22_30 <= '\uFFFF')) ) {s = 67;}
if ( s>=0 ) return s;
break;
case 10 :
int LA22_83 = input.LA(1);
s = -1;
if ( (LA22_83=='\'') ) {s = 94;}
else if ( ((LA22_83 >= '\u0000' && LA22_83 <= '&')||(LA22_83 >= '(' && LA22_83 <= '\uFFFF')) ) {s = 95;}
if ( s>=0 ) return s;
break;
case 11 :
int LA22_85 = input.LA(1);
s = -1;
if ( (LA22_85=='\'') ) {s = 94;}
else if ( ((LA22_85 >= '\u0000' && LA22_85 <= '&')||(LA22_85 >= '(' && LA22_85 <= '\uFFFF')) ) {s = 95;}
if ( s>=0 ) return s;
break;
case 12 :
int LA22_111 = input.LA(1);
s = -1;
if ( ((LA22_111 >= '0' && LA22_111 <= '9')||(LA22_111 >= 'A' && LA22_111 <= 'F')||(LA22_111 >= 'a' && LA22_111 <= 'f')) ) {s = 128;}
else if ( ((LA22_111 >= '\u0000' && LA22_111 <= '/')||(LA22_111 >= ':' && LA22_111 <= '@')||(LA22_111 >= 'G' && LA22_111 <= '`')||(LA22_111 >= 'g' && LA22_111 <= '\uFFFF')) ) {s = 95;}
if ( s>=0 ) return s;
break;
case 13 :
int LA22_84 = input.LA(1);
s = -1;
if ( (LA22_84=='\'') ) {s = 94;}
else if ( ((LA22_84 >= '\u0000' && LA22_84 <= '&')||(LA22_84 >= '(' && LA22_84 <= '\uFFFF')) ) {s = 95;}
if ( s>=0 ) return s;
break;
case 14 :
int LA22_128 = input.LA(1);
s = -1;
if ( ((LA22_128 >= '0' && LA22_128 <= '9')||(LA22_128 >= 'A' && LA22_128 <= 'F')||(LA22_128 >= 'a' && LA22_128 <= 'f')) ) {s = 143;}
else if ( ((LA22_128 >= '\u0000' && LA22_128 <= '/')||(LA22_128 >= ':' && LA22_128 <= '@')||(LA22_128 >= 'G' && LA22_128 <= '`')||(LA22_128 >= 'g' && LA22_128 <= '\uFFFF')) ) {s = 95;}
if ( s>=0 ) return s;
break;
case 15 :
int LA22_87 = input.LA(1);
s = -1;
if ( (LA22_87=='\'') ) {s = 94;}
else if ( ((LA22_87 >= '\u0000' && LA22_87 <= '&')||(LA22_87 >= '(' && LA22_87 <= '\uFFFF')) ) {s = 95;}
if ( s>=0 ) return s;
break;
case 16 :
int LA22_143 = input.LA(1);
s = -1;
if ( ((LA22_143 >= '0' && LA22_143 <= '9')||(LA22_143 >= 'A' && LA22_143 <= 'F')||(LA22_143 >= 'a' && LA22_143 <= 'f')) ) {s = 155;}
else if ( ((LA22_143 >= '\u0000' && LA22_143 <= '/')||(LA22_143 >= ':' && LA22_143 <= '@')||(LA22_143 >= 'G' && LA22_143 <= '`')||(LA22_143 >= 'g' && LA22_143 <= '\uFFFF')) ) {s = 95;}
if ( s>=0 ) return s;
break;
case 17 :
int LA22_86 = input.LA(1);
s = -1;
if ( (LA22_86=='\'') ) {s = 94;}
else if ( ((LA22_86 >= '\u0000' && LA22_86 <= '&')||(LA22_86 >= '(' && LA22_86 <= '\uFFFF')) ) {s = 95;}
if ( s>=0 ) return s;
break;
}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 22, _s, input);
error(nvae);
throw nvae;
}
}
}