package org.antlr.grammar.v3;
import org.antlr.tool.ErrorManager;
import org.antlr.tool.Grammar;
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
@SuppressWarnings("all")
public class ANTLRLexer extends Lexer {
public static final int EOF=-1;
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 AMPERSAND=9;
public static final int ARG=10;
public static final int ARGLIST=11;
public static final int ARG_ACTION=12;
public static final int ASSIGN=13;
public static final int BACKTRACK_SEMPRED=14;
public static final int BANG=15;
public static final int BLOCK=16;
public static final int CATCH=17;
public static final int CHAR_LITERAL=18;
public static final int CHAR_RANGE=19;
public static final int CLOSE_ELEMENT_OPTION=20;
public static final int CLOSURE=21;
public static final int COLON=22;
public static final int COMBINED_GRAMMAR=23;
public static final int COMMA=24;
public static final int =25;
public static final int DIGIT=26;
public static final int =27;
public static final int DOLLAR=28;
public static final int DOT=29;
public static final int DOUBLE_ANGLE_STRING_LITERAL=30;
public static final int DOUBLE_QUOTE_STRING_LITERAL=31;
public static final int EOA=32;
public static final int EOB=33;
public static final int EOR=34;
public static final int EPSILON=35;
public static final int ESC=36;
public static final int ETC=37;
public static final int FINALLY=38;
public static final int FORCED_ACTION=39;
public static final int FRAGMENT=40;
public static final int GATED_SEMPRED=41;
public static final int GRAMMAR=42;
public static final int ID=43;
public static final int IMPLIES=44;
public static final int IMPORT=45;
public static final int INITACTION=46;
public static final int INT=47;
public static final int LABEL=48;
public static final int LEXER=49;
public static final int LEXER_GRAMMAR=50;
public static final int LPAREN=51;
public static final int =52;
public static final int NESTED_ACTION=53;
public static final int NESTED_ARG_ACTION=54;
public static final int NOT=55;
public static final int OPEN_ELEMENT_OPTION=56;
public static final int OPTIONAL=57;
public static final int OPTIONS=58;
public static final int OR=59;
public static final int PARSER=60;
public static final int PARSER_GRAMMAR=61;
public static final int PLUS=62;
public static final int PLUS_ASSIGN=63;
public static final int POSITIVE_CLOSURE=64;
public static final int PREC_RULE=65;
public static final int PRIVATE=66;
public static final int PROTECTED=67;
public static final int PUBLIC=68;
public static final int QUESTION=69;
public static final int RANGE=70;
public static final int RCURLY=71;
public static final int RECURSIVE_RULE_REF=72;
public static final int RET=73;
public static final int RETURNS=74;
public static final int REWRITE=75;
public static final int REWRITES=76;
public static final int ROOT=77;
public static final int RPAREN=78;
public static final int RULE=79;
public static final int RULE_REF=80;
public static final int SCOPE=81;
public static final int SEMI=82;
public static final int SEMPRED=83;
public static final int =84;
public static final int SRC=85;
public static final int STAR=86;
public static final int STRAY_BRACKET=87;
public static final int STRING_LITERAL=88;
public static final int SYNPRED=89;
public static final int SYN_SEMPRED=90;
public static final int TEMPLATE=91;
public static final int THROWS=92;
public static final int TOKENS=93;
public static final int TOKEN_REF=94;
public static final int TREE=95;
public static final int TREE_BEGIN=96;
public static final int TREE_GRAMMAR=97;
public static final int WILDCARD=98;
public static final int WS=99;
public static final int WS_LOOP=100;
public static final int WS_OPT=101;
public static final int XDIGIT=102;
public boolean hasASTOperator = false;
private String fileName;
public String getFileName() {
return fileName;
}
public void setFileName(String value) {
fileName = value;
}
@Override
public Token nextToken() {
Token token = super.nextToken();
while (token.getType() == STRAY_BRACKET) {
ErrorManager.syntaxError(
ErrorManager.MSG_SYNTAX_ERROR,
null,
token,
"antlr: dangling ']'? make sure to escape with \\]",
null);
token = super.nextToken();
}
return token;
}
public Lexer[] getDelegates() {
return new Lexer[] {};
}
public ANTLRLexer() {}
public ANTLRLexer(CharStream input) {
this(input, new RecognizerSharedState());
}
public ANTLRLexer(CharStream input, RecognizerSharedState state) {
super(input,state);
}
@Override public String getGrammarFileName() { return "org\\antlr\\grammar\\v3\\ANTLR.g"; }
public final void mCATCH() throws RecognitionException {
try {
int _type = CATCH;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("catch"); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mFINALLY() throws RecognitionException {
try {
int _type = FINALLY;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("finally"); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mFRAGMENT() throws RecognitionException {
try {
int _type = FRAGMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("fragment"); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mGRAMMAR() throws RecognitionException {
try {
int _type = GRAMMAR;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("grammar"); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mIMPORT() throws RecognitionException {
try {
int _type = IMPORT;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("import"); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mLEXER() throws RecognitionException {
try {
int _type = LEXER;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("lexer"); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mPARSER() throws RecognitionException {
try {
int _type = PARSER;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("parser"); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mPRIVATE() throws RecognitionException {
try {
int _type = PRIVATE;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("private"); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mPROTECTED() throws RecognitionException {
try {
int _type = PROTECTED;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("protected"); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mPUBLIC() throws RecognitionException {
try {
int _type = PUBLIC;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("public"); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mRETURNS() throws RecognitionException {
try {
int _type = RETURNS;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("returns"); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mSCOPE() throws RecognitionException {
try {
int _type = SCOPE;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("scope"); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mTHROWS() throws RecognitionException {
try {
int _type = THROWS;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("throws"); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mTREE() throws RecognitionException {
try {
int _type = TREE;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("tree"); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mSTRING_LITERAL() throws RecognitionException {
try {
{
}
}
finally {
}
}
public final void mFORCED_ACTION() throws RecognitionException {
try {
{
}
}
finally {
}
}
public final void () throws RecognitionException {
try {
{
}
}
finally {
}
}
public final void mSEMPRED() throws RecognitionException {
try {
{
}
}
finally {
}
}
public final void mWS() throws RecognitionException {
try {
int _type = WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
int alt2=3;
switch ( input.LA(1) ) {
case ' ':
{
alt2=1;
}
break;
case '\t':
{
alt2=2;
}
break;
case '\n':
case '\r':
{
alt2=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return;}
NoViableAltException nvae =
new NoViableAltException("", 2, 0, input);
throw nvae;
}
switch (alt2) {
case 1 :
{
match(' '); if (state.failed) return;
}
break;
case 2 :
{
match('\t'); if (state.failed) return;
}
break;
case 3 :
{
int alt1=2;
int LA1_0 = input.LA(1);
if ( (LA1_0=='\r') ) {
alt1=1;
}
switch (alt1) {
case 1 :
{
match('\r'); if (state.failed) return;
}
break;
}
match('\n'); if (state.failed) return;
}
break;
}
if ( state.backtracking==0 ) { _channel = HIDDEN; }
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void () throws RecognitionException {
try {
int _type = COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
List<Integer> type = new ArrayList<Integer>() {{ add(0); }};
{
int alt3=2;
int LA3_0 = input.LA(1);
if ( (LA3_0=='/') ) {
int LA3_1 = input.LA(2);
if ( (LA3_1=='/') ) {
alt3=1;
}
else if ( (LA3_1=='*') ) {
alt3=2;
}
else {
if (state.backtracking>0) {state.failed=true; return;}
int nvaeMark = input.mark();
try {
input.consume();
NoViableAltException nvae =
new NoViableAltException("", 3, 1, input);
throw nvae;
} finally {
input.rewind(nvaeMark);
}
}
}
else {
if (state.backtracking>0) {state.failed=true; return;}
NoViableAltException nvae =
new NoViableAltException("", 3, 0, input);
throw nvae;
}
switch (alt3) {
case 1 :
{
mSL_COMMENT(); if (state.failed) return;
}
break;
case 2 :
{
mML_COMMENT(type); if (state.failed) return;
if ( state.backtracking==0 ) {_type = type.get(0);}
}
break;
}
if ( state.backtracking==0 ) {
if ( _type != DOC_COMMENT )
_channel = HIDDEN;
}
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void () throws RecognitionException {
try {
{
match("//"); if (state.failed) return;
int alt9=2;
alt9 = dfa9.predict(input);
switch (alt9) {
case 1 :
{
match(" $ANTLR "); if (state.failed) return;
mSRC(); if (state.failed) return;
int alt5=2;
int LA5_0 = input.LA(1);
if ( (LA5_0=='\n'||LA5_0=='\r') ) {
alt5=1;
}
switch (alt5) {
case 1 :
{
int alt4=2;
int LA4_0 = input.LA(1);
if ( (LA4_0=='\r') ) {
alt4=1;
}
switch (alt4) {
case 1 :
{
match('\r'); if (state.failed) return;
}
break;
}
match('\n'); if (state.failed) return;
}
break;
}
}
break;
case 2 :
{
loop6:
while (true) {
int alt6=2;
int LA6_0 = input.LA(1);
if ( ((LA6_0 >= '\u0000' && LA6_0 <= '\t')||(LA6_0 >= '\u000B' && LA6_0 <= '\f')||(LA6_0 >= '\u000E' && LA6_0 <= '\uFFFF')) ) {
alt6=1;
}
switch (alt6) {
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();
state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return;}
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop6;
}
}
int alt8=2;
int LA8_0 = input.LA(1);
if ( (LA8_0=='\n'||LA8_0=='\r') ) {
alt8=1;
}
switch (alt8) {
case 1 :
{
int alt7=2;
int LA7_0 = input.LA(1);
if ( (LA7_0=='\r') ) {
alt7=1;
}
switch (alt7) {
case 1 :
{
match('\r'); if (state.failed) return;
}
break;
}
match('\n'); if (state.failed) return;
}
break;
}
}
break;
}
}
}
finally {
}
}
public final void (List<Integer> type) throws RecognitionException {
try {
{
match("/*"); if (state.failed) return;
if ( state.backtracking==0 ) {type.set(0, (input.LA(1) == '*' && input.LA(2) != '/') ? DOC_COMMENT : ML_COMMENT);}
loop10:
while (true) {
int alt10=2;
int LA10_0 = input.LA(1);
if ( (LA10_0=='*') ) {
int LA10_1 = input.LA(2);
if ( (LA10_1=='/') ) {
alt10=2;
}
else if ( ((LA10_1 >= '\u0000' && LA10_1 <= '.')||(LA10_1 >= '0' && LA10_1 <= '\uFFFF')) ) {
alt10=1;
}
}
else if ( ((LA10_0 >= '\u0000' && LA10_0 <= ')')||(LA10_0 >= '+' && LA10_0 <= '\uFFFF')) ) {
alt10=1;
}
switch (alt10) {
case 1 :
{
matchAny(); if (state.failed) return;
}
break;
default :
break loop10;
}
}
match("*/"); if (state.failed) return;
}
}
finally {
}
}
public final void mOPEN_ELEMENT_OPTION() throws RecognitionException {
try {
int _type = OPEN_ELEMENT_OPTION;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('<'); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mCLOSE_ELEMENT_OPTION() throws RecognitionException {
try {
int _type = CLOSE_ELEMENT_OPTION;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('>'); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mAMPERSAND() throws RecognitionException {
try {
int _type = AMPERSAND;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('@'); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mCOMMA() throws RecognitionException {
try {
int _type = COMMA;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match(','); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mQUESTION() throws RecognitionException {
try {
int _type = QUESTION;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('?'); if (state.failed) return;
}
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("^("); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mLPAREN() throws RecognitionException {
try {
int _type = LPAREN;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('('); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mRPAREN() throws RecognitionException {
try {
int _type = RPAREN;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match(')'); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mCOLON() throws RecognitionException {
try {
int _type = COLON;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match(':'); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mSTAR() throws RecognitionException {
try {
int _type = STAR;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('*'); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mPLUS() throws RecognitionException {
try {
int _type = PLUS;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('+'); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mASSIGN() throws RecognitionException {
try {
int _type = ASSIGN;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('='); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mPLUS_ASSIGN() throws RecognitionException {
try {
int _type = PLUS_ASSIGN;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("+="); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mIMPLIES() throws RecognitionException {
try {
int _type = IMPLIES;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("=>"); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mREWRITE() throws RecognitionException {
try {
int _type = REWRITE;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("->"); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mSEMI() throws RecognitionException {
try {
int _type = SEMI;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match(';'); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mROOT() throws RecognitionException {
try {
int _type = ROOT;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('^'); if (state.failed) return;
if ( state.backtracking==0 ) {hasASTOperator=true;}
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mBANG() throws RecognitionException {
try {
int _type = BANG;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('!'); if (state.failed) return;
if ( state.backtracking==0 ) {hasASTOperator=true;}
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mOR() throws RecognitionException {
try {
int _type = OR;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('|'); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mWILDCARD() throws RecognitionException {
try {
int _type = WILDCARD;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('.'); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mETC() throws RecognitionException {
try {
int _type = ETC;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("..."); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mRANGE() throws RecognitionException {
try {
int _type = RANGE;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match(".."); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mNOT() throws RecognitionException {
try {
int _type = NOT;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('~'); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mRCURLY() throws RecognitionException {
try {
int _type = RCURLY;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('}'); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mDOLLAR() throws RecognitionException {
try {
int _type = DOLLAR;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match('$'); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mSTRAY_BRACKET() throws RecognitionException {
try {
int _type = STRAY_BRACKET;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match(']'); if (state.failed) return;
}
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('\''); if (state.failed) return;
loop11:
while (true) {
int alt11=3;
int LA11_0 = input.LA(1);
if ( (LA11_0=='\\') ) {
alt11=1;
}
else if ( ((LA11_0 >= '\u0000' && LA11_0 <= '&')||(LA11_0 >= '(' && LA11_0 <= '[')||(LA11_0 >= ']' && LA11_0 <= '\uFFFF')) ) {
alt11=2;
}
switch (alt11) {
case 1 :
{
mESC(); if (state.failed) return;
}
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();
state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return;}
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop11;
}
}
match('\''); if (state.failed) return;
if ( state.backtracking==0 ) {
StringBuffer s = Grammar.getUnescapedStringFromGrammarStringLiteral(getText());
if ( s.length() > 1 )
{
_type = STRING_LITERAL;
}
}
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mDOUBLE_QUOTE_STRING_LITERAL() throws RecognitionException {
try {
int _type = DOUBLE_QUOTE_STRING_LITERAL;
int _channel = DEFAULT_TOKEN_CHANNEL;
int c;
StringBuilder builder = new StringBuilder();
{
match('\"'); if (state.failed) return;
if ( state.backtracking==0 ) {builder.append('"');}
loop12:
while (true) {
int alt12=4;
int LA12_0 = input.LA(1);
if ( (LA12_0=='\\') ) {
int LA12_2 = input.LA(2);
if ( (LA12_2=='\"') && (synpred2_ANTLR())) {
alt12=1;
}
else if ( ((LA12_2 >= '\u0000' && LA12_2 <= '!')||(LA12_2 >= '#' && LA12_2 <= '\uFFFF')) ) {
alt12=2;
}
}
else if ( ((LA12_0 >= '\u0000' && LA12_0 <= '!')||(LA12_0 >= '#' && LA12_0 <= '[')||(LA12_0 >= ']' && LA12_0 <= '\uFFFF')) ) {
alt12=3;
}
switch (alt12) {
case 1 :
{
match('\\'); if (state.failed) return;
match('\"'); if (state.failed) return;
if ( state.backtracking==0 ) {builder.append('"');}
}
break;
case 2 :
{
match('\\'); if (state.failed) return;
c= input.LA(1);
if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '!')||(input.LA(1) >= '#' && input.LA(1) <= '\uFFFF') ) {
input.consume();
state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return;}
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
if ( state.backtracking==0 ) {builder.append("\\" + (char)c);}
}
break;
case 3 :
{
c= input.LA(1);
if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '!')||(input.LA(1) >= '#' && input.LA(1) <= '[')||(input.LA(1) >= ']' && input.LA(1) <= '\uFFFF') ) {
input.consume();
state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return;}
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
if ( state.backtracking==0 ) {builder.append((char)c);}
}
break;
default :
break loop12;
}
}
match('\"'); if (state.failed) return;
if ( state.backtracking==0 ) {builder.append('"');}
if ( state.backtracking==0 ) {
setText(builder.toString());
}
}
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("<<"); if (state.failed) return;
loop13:
while (true) {
int alt13=2;
int LA13_0 = input.LA(1);
if ( (LA13_0=='>') ) {
int LA13_1 = input.LA(2);
if ( (LA13_1=='>') ) {
alt13=2;
}
else if ( ((LA13_1 >= '\u0000' && LA13_1 <= '=')||(LA13_1 >= '?' && LA13_1 <= '\uFFFF')) ) {
alt13=1;
}
}
else if ( ((LA13_0 >= '\u0000' && LA13_0 <= '=')||(LA13_0 >= '?' && LA13_0 <= '\uFFFF')) ) {
alt13=1;
}
switch (alt13) {
case 1 :
{
matchAny(); if (state.failed) return;
}
break;
default :
break loop13;
}
}
match(">>"); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mESC() throws RecognitionException {
try {
{
match('\\'); if (state.failed) return;
{
matchAny(); if (state.failed) return;
}
}
}
finally {
}
}
public final void mDIGIT() throws RecognitionException {
try {
{
if ( (input.LA(1) >= '0' && input.LA(1) <= '9') ) {
input.consume();
state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return;}
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
}
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();
state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return;}
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 cnt14=0;
loop14:
while (true) {
int alt14=2;
int LA14_0 = input.LA(1);
if ( ((LA14_0 >= '0' && LA14_0 <= '9')) ) {
alt14=1;
}
switch (alt14) {
case 1 :
{
if ( (input.LA(1) >= '0' && input.LA(1) <= '9') ) {
input.consume();
state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return;}
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
if ( cnt14 >= 1 ) break loop14;
if (state.backtracking>0) {state.failed=true; return;}
EarlyExitException eee = new EarlyExitException(14, input);
throw eee;
}
cnt14++;
}
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mARG_ACTION() throws RecognitionException {
try {
int _type = ARG_ACTION;
int _channel = DEFAULT_TOKEN_CHANNEL;
List<String> text = new ArrayList<String>() {{ add(null); }};
{
match('['); if (state.failed) return;
mNESTED_ARG_ACTION(text); if (state.failed) return;
match(']'); if (state.failed) return;
if ( state.backtracking==0 ) {setText(text.get(0));}
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mNESTED_ARG_ACTION(List<String> text) throws RecognitionException {
try {
CommonToken ACTION_STRING_LITERAL1=null;
CommonToken ACTION_CHAR_LITERAL2=null;
int c;
text.set(0, "");
StringBuilder builder = new StringBuilder();
{
loop15:
while (true) {
int alt15=6;
int LA15_0 = input.LA(1);
if ( (LA15_0=='\\') ) {
int LA15_2 = input.LA(2);
if ( (LA15_2==']') && (synpred3_ANTLR())) {
alt15=1;
}
else if ( ((LA15_2 >= '\u0000' && LA15_2 <= '\\')||(LA15_2 >= '^' && LA15_2 <= '\uFFFF')) ) {
alt15=2;
}
}
else if ( (LA15_0=='\"') ) {
alt15=3;
}
else if ( (LA15_0=='\'') ) {
alt15=4;
}
else if ( ((LA15_0 >= '\u0000' && LA15_0 <= '!')||(LA15_0 >= '#' && LA15_0 <= '&')||(LA15_0 >= '(' && LA15_0 <= '[')||(LA15_0 >= '^' && LA15_0 <= '\uFFFF')) ) {
alt15=5;
}
switch (alt15) {
case 1 :
{
match('\\'); if (state.failed) return;
match(']'); if (state.failed) return;
if ( state.backtracking==0 ) {builder.append("]");}
}
break;
case 2 :
{
match('\\'); if (state.failed) return;
c= input.LA(1);
if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '\\')||(input.LA(1) >= '^' && input.LA(1) <= '\uFFFF') ) {
input.consume();
state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return;}
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
if ( state.backtracking==0 ) {builder.append("\\" + (char)c);}
}
break;
case 3 :
{
int ACTION_STRING_LITERAL1Start859 = getCharIndex();
int ACTION_STRING_LITERAL1StartLine859 = getLine();
int ACTION_STRING_LITERAL1StartCharPos859 = getCharPositionInLine();
mACTION_STRING_LITERAL(); if (state.failed) return;
ACTION_STRING_LITERAL1 = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, ACTION_STRING_LITERAL1Start859, getCharIndex()-1);
ACTION_STRING_LITERAL1.setLine(ACTION_STRING_LITERAL1StartLine859);
ACTION_STRING_LITERAL1.setCharPositionInLine(ACTION_STRING_LITERAL1StartCharPos859);
if ( state.backtracking==0 ) {builder.append((ACTION_STRING_LITERAL1!=null?ACTION_STRING_LITERAL1.getText():null));}
}
break;
case 4 :
{
int ACTION_CHAR_LITERAL2Start867 = getCharIndex();
int ACTION_CHAR_LITERAL2StartLine867 = getLine();
int ACTION_CHAR_LITERAL2StartCharPos867 = getCharPositionInLine();
mACTION_CHAR_LITERAL(); if (state.failed) return;
ACTION_CHAR_LITERAL2 = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, ACTION_CHAR_LITERAL2Start867, getCharIndex()-1);
ACTION_CHAR_LITERAL2.setLine(ACTION_CHAR_LITERAL2StartLine867);
ACTION_CHAR_LITERAL2.setCharPositionInLine(ACTION_CHAR_LITERAL2StartCharPos867);
if ( state.backtracking==0 ) {builder.append((ACTION_CHAR_LITERAL2!=null?ACTION_CHAR_LITERAL2.getText():null));}
}
break;
case 5 :
{
c= input.LA(1);
if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '!')||(input.LA(1) >= '#' && input.LA(1) <= '&')||(input.LA(1) >= '(' && input.LA(1) <= '[')||(input.LA(1) >= '^' && input.LA(1) <= '\uFFFF') ) {
input.consume();
state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return;}
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
if ( state.backtracking==0 ) {builder.append((char)c);}
}
break;
default :
break loop15;
}
}
if ( state.backtracking==0 ) {
text.set(0, builder.toString());
}
}
}
finally {
}
}
public final void mACTION() throws RecognitionException {
try {
int _type = ACTION;
int _channel = DEFAULT_TOKEN_CHANNEL;
int actionLine = getLine();
int actionColumn = getCharPositionInLine();
{
mNESTED_ACTION(); if (state.failed) return;
int alt16=2;
int LA16_0 = input.LA(1);
if ( (LA16_0=='?') ) {
alt16=1;
}
switch (alt16) {
case 1 :
{
match('?'); if (state.failed) return;
if ( state.backtracking==0 ) {_type = SEMPRED;}
}
break;
}
if ( state.backtracking==0 ) {
String action = getText();
int n = 1;
if ( action.startsWith("{{") && action.endsWith("}}") )
{
_type = FORCED_ACTION;
n = 2;
}
action = action.substring(n,action.length()-n - (_type==SEMPRED ? 1 : 0));
setText(action);
}
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mNESTED_ACTION() throws RecognitionException {
try {
{
match('{'); if (state.failed) return;
loop17:
while (true) {
int alt17=7;
int LA17_0 = input.LA(1);
if ( (LA17_0=='{') ) {
alt17=1;
}
else if ( (LA17_0=='\'') ) {
alt17=2;
}
else if ( (LA17_0=='/') ) {
int LA17_4 = input.LA(2);
if ( (synpred4_ANTLR()) ) {
alt17=3;
}
else if ( (true) ) {
alt17=6;
}
}
else if ( (LA17_0=='\"') ) {
alt17=4;
}
else if ( (LA17_0=='\\') ) {
alt17=5;
}
else if ( ((LA17_0 >= '\u0000' && LA17_0 <= '!')||(LA17_0 >= '#' && LA17_0 <= '&')||(LA17_0 >= '(' && LA17_0 <= '.')||(LA17_0 >= '0' && LA17_0 <= '[')||(LA17_0 >= ']' && LA17_0 <= 'z')||LA17_0=='|'||(LA17_0 >= '~' && LA17_0 <= '\uFFFF')) ) {
alt17=6;
}
switch (alt17) {
case 1 :
{
mNESTED_ACTION(); if (state.failed) return;
}
break;
case 2 :
{
mACTION_CHAR_LITERAL(); if (state.failed) return;
}
break;
case 3 :
{
mCOMMENT(); if (state.failed) return;
}
break;
case 4 :
{
mACTION_STRING_LITERAL(); if (state.failed) return;
}
break;
case 5 :
{
mACTION_ESC(); if (state.failed) return;
}
break;
case 6 :
{
if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '!')||(input.LA(1) >= '#' && input.LA(1) <= '&')||(input.LA(1) >= '(' && input.LA(1) <= '[')||(input.LA(1) >= ']' && input.LA(1) <= 'z')||input.LA(1)=='|'||(input.LA(1) >= '~' && input.LA(1) <= '\uFFFF') ) {
input.consume();
state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return;}
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop17;
}
}
match('}'); if (state.failed) return;
}
}
finally {
}
}
public final void mACTION_CHAR_LITERAL() throws RecognitionException {
try {
{
match('\''); if (state.failed) return;
loop18:
while (true) {
int alt18=3;
int LA18_0 = input.LA(1);
if ( (LA18_0=='\\') ) {
alt18=1;
}
else if ( ((LA18_0 >= '\u0000' && LA18_0 <= '&')||(LA18_0 >= '(' && LA18_0 <= '[')||(LA18_0 >= ']' && LA18_0 <= '\uFFFF')) ) {
alt18=2;
}
switch (alt18) {
case 1 :
{
mACTION_ESC(); if (state.failed) return;
}
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();
state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return;}
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop18;
}
}
match('\''); if (state.failed) return;
}
}
finally {
}
}
public final void mACTION_STRING_LITERAL() throws RecognitionException {
try {
{
match('\"'); if (state.failed) return;
loop19:
while (true) {
int alt19=3;
int LA19_0 = input.LA(1);
if ( (LA19_0=='\\') ) {
alt19=1;
}
else if ( ((LA19_0 >= '\u0000' && LA19_0 <= '!')||(LA19_0 >= '#' && LA19_0 <= '[')||(LA19_0 >= ']' && LA19_0 <= '\uFFFF')) ) {
alt19=2;
}
switch (alt19) {
case 1 :
{
mACTION_ESC(); if (state.failed) return;
}
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();
state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return;}
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop19;
}
}
match('\"'); if (state.failed) return;
}
}
finally {
}
}
public final void mACTION_ESC() throws RecognitionException {
try {
int alt20=3;
int LA20_0 = input.LA(1);
if ( (LA20_0=='\\') ) {
int LA20_1 = input.LA(2);
if ( (LA20_1=='\'') ) {
alt20=1;
}
else if ( (LA20_1=='\"') ) {
alt20=2;
}
else if ( ((LA20_1 >= '\u0000' && LA20_1 <= '!')||(LA20_1 >= '#' && LA20_1 <= '&')||(LA20_1 >= '(' && LA20_1 <= '\uFFFF')) ) {
alt20=3;
}
else {
if (state.backtracking>0) {state.failed=true; return;}
int nvaeMark = input.mark();
try {
input.consume();
NoViableAltException nvae =
new NoViableAltException("", 20, 1, input);
throw nvae;
} finally {
input.rewind(nvaeMark);
}
}
}
else {
if (state.backtracking>0) {state.failed=true; return;}
NoViableAltException nvae =
new NoViableAltException("", 20, 0, input);
throw nvae;
}
switch (alt20) {
case 1 :
{
match("\\'"); if (state.failed) return;
}
break;
case 2 :
{
match("\\\""); if (state.failed) return;
}
break;
case 3 :
{
match('\\'); if (state.failed) return;
if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '!')||(input.LA(1) >= '#' && input.LA(1) <= '&')||(input.LA(1) >= '(' && input.LA(1) <= '\uFFFF') ) {
input.consume();
state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return;}
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'); if (state.failed) return;
loop21:
while (true) {
int alt21=2;
int LA21_0 = input.LA(1);
if ( ((LA21_0 >= '0' && LA21_0 <= '9')||(LA21_0 >= 'A' && LA21_0 <= 'Z')||LA21_0=='_'||(LA21_0 >= 'a' && LA21_0 <= 'z')) ) {
alt21=1;
}
switch (alt21) {
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();
state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return;}
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop21;
}
}
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mTOKENS() throws RecognitionException {
try {
int _type = TOKENS;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("tokens"); if (state.failed) return;
mWS_LOOP(); if (state.failed) return;
match('{'); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mOPTIONS() throws RecognitionException {
try {
int _type = OPTIONS;
int _channel = DEFAULT_TOKEN_CHANNEL;
{
match("options"); if (state.failed) return;
mWS_LOOP(); if (state.failed) return;
match('{'); if (state.failed) return;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mRULE_REF() throws RecognitionException {
try {
int _type = RULE_REF;
int _channel = DEFAULT_TOKEN_CHANNEL;
int t=0;
{
matchRange('a','z'); if (state.failed) return;
loop22:
while (true) {
int alt22=2;
int LA22_0 = input.LA(1);
if ( ((LA22_0 >= '0' && LA22_0 <= '9')||(LA22_0 >= 'A' && LA22_0 <= 'Z')||LA22_0=='_'||(LA22_0 >= 'a' && LA22_0 <= 'z')) ) {
alt22=1;
}
switch (alt22) {
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();
state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return;}
MismatchedSetException mse = new MismatchedSetException(null,input);
recover(mse);
throw mse;
}
}
break;
default :
break loop22;
}
}
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
public final void mWS_LOOP() throws RecognitionException {
try {
{
loop23:
while (true) {
int alt23=3;
int LA23_0 = input.LA(1);
if ( ((LA23_0 >= '\t' && LA23_0 <= '\n')||LA23_0=='\r'||LA23_0==' ') ) {
alt23=1;
}
else if ( (LA23_0=='/') ) {
alt23=2;
}
switch (alt23) {
case 1 :
{
mWS(); if (state.failed) return;
}
break;
case 2 :
{
mCOMMENT(); if (state.failed) return;
}
break;
default :
break loop23;
}
}
}
}
finally {
}
}
public final void mWS_OPT() throws RecognitionException {
try {
{
int alt24=2;
int LA24_0 = input.LA(1);
if ( ((LA24_0 >= '\t' && LA24_0 <= '\n')||LA24_0=='\r'||LA24_0==' ') ) {
alt24=1;
}
switch (alt24) {
case 1 :
{
mWS(); if (state.failed) return;
}
break;
}
}
}
finally {
}
}
public final void mSRC() throws RecognitionException {
try {
CommonToken file=null;
CommonToken line=null;
{
match("src"); if (state.failed) return;
match(' '); if (state.failed) return;
int fileStart1272 = getCharIndex();
int fileStartLine1272 = getLine();
int fileStartCharPos1272 = getCharPositionInLine();
mACTION_STRING_LITERAL(); if (state.failed) return;
file = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, fileStart1272, getCharIndex()-1);
file.setLine(fileStartLine1272);
file.setCharPositionInLine(fileStartCharPos1272);
match(' '); if (state.failed) return;
int lineStart1278 = getCharIndex();
int lineStartLine1278 = getLine();
int lineStartCharPos1278 = getCharPositionInLine();
mINT(); if (state.failed) return;
line = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, lineStart1278, getCharIndex()-1);
line.setLine(lineStartLine1278);
line.setCharPositionInLine(lineStartCharPos1278);
if ( state.backtracking==0 ) {
setFileName((file!=null?file.getText():null).substring(1,(file!=null?file.getText():null).length()-1));
input.setLine(Integer.parseInt((line!=null?line.getText():null)) - 1);
}
}
}
finally {
}
}
@Override
public void mTokens() throws RecognitionException {
int alt25=52;
alt25 = dfa25.predict(input);
switch (alt25) {
case 1 :
{
mCATCH(); if (state.failed) return;
}
break;
case 2 :
{
mFINALLY(); if (state.failed) return;
}
break;
case 3 :
{
mFRAGMENT(); if (state.failed) return;
}
break;
case 4 :
{
mGRAMMAR(); if (state.failed) return;
}
break;
case 5 :
{
mIMPORT(); if (state.failed) return;
}
break;
case 6 :
{
mLEXER(); if (state.failed) return;
}
break;
case 7 :
{
mPARSER(); if (state.failed) return;
}
break;
case 8 :
{
mPRIVATE(); if (state.failed) return;
}
break;
case 9 :
{
mPROTECTED(); if (state.failed) return;
}
break;
case 10 :
{
mPUBLIC(); if (state.failed) return;
}
break;
case 11 :
{
mRETURNS(); if (state.failed) return;
}
break;
case 12 :
{
mSCOPE(); if (state.failed) return;
}
break;
case 13 :
{
mTHROWS(); if (state.failed) return;
}
break;
case 14 :
{
mTREE(); if (state.failed) return;
}
break;
case 15 :
{
mWS(); if (state.failed) return;
}
break;
case 16 :
{
mCOMMENT(); if (state.failed) return;
}
break;
case 17 :
{
mOPEN_ELEMENT_OPTION(); if (state.failed) return;
}
break;
case 18 :
{
mCLOSE_ELEMENT_OPTION(); if (state.failed) return;
}
break;
case 19 :
{
mAMPERSAND(); if (state.failed) return;
}
break;
case 20 :
{
mCOMMA(); if (state.failed) return;
}
break;
case 21 :
{
mQUESTION(); if (state.failed) return;
}
break;
case 22 :
{
mTREE_BEGIN(); if (state.failed) return;
}
break;
case 23 :
{
mLPAREN(); if (state.failed) return;
}
break;
case 24 :
{
mRPAREN(); if (state.failed) return;
}
break;
case 25 :
{
mCOLON(); if (state.failed) return;
}
break;
case 26 :
{
mSTAR(); if (state.failed) return;
}
break;
case 27 :
{
mPLUS(); if (state.failed) return;
}
break;
case 28 :
{
mASSIGN(); if (state.failed) return;
}
break;
case 29 :
{
mPLUS_ASSIGN(); if (state.failed) return;
}
break;
case 30 :
{
mIMPLIES(); if (state.failed) return;
}
break;
case 31 :
{
mREWRITE(); if (state.failed) return;
}
break;
case 32 :
{
mSEMI(); if (state.failed) return;
}
break;
case 33 :
{
mROOT(); if (state.failed) return;
}
break;
case 34 :
{
mBANG(); if (state.failed) return;
}
break;
case 35 :
{
mOR(); if (state.failed) return;
}
break;
case 36 :
{
mWILDCARD(); if (state.failed) return;
}
break;
case 37 :
{
mETC(); if (state.failed) return;
}
break;
case 38 :
{
mRANGE(); if (state.failed) return;
}
break;
case 39 :
{
mNOT(); if (state.failed) return;
}
break;
case 40 :
{
mRCURLY(); if (state.failed) return;
}
break;
case 41 :
{
mDOLLAR(); if (state.failed) return;
}
break;
case 42 :
{
mSTRAY_BRACKET(); if (state.failed) return;
}
break;
case 43 :
{
mCHAR_LITERAL(); if (state.failed) return;
}
break;
case 44 :
{
mDOUBLE_QUOTE_STRING_LITERAL(); if (state.failed) return;
}
break;
case 45 :
{
mDOUBLE_ANGLE_STRING_LITERAL(); if (state.failed) return;
}
break;
case 46 :
{
mINT(); if (state.failed) return;
}
break;
case 47 :
{
mARG_ACTION(); if (state.failed) return;
}
break;
case 48 :
{
mACTION(); if (state.failed) return;
}
break;
case 49 :
{
mTOKEN_REF(); if (state.failed) return;
}
break;
case 50 :
{
mTOKENS(); if (state.failed) return;
}
break;
case 51 :
{
mOPTIONS(); if (state.failed) return;
}
break;
case 52 :
{
mRULE_REF(); if (state.failed) return;
}
break;
}
}
public final void synpred1_ANTLR_fragment() throws RecognitionException {
{
match(" $ANTLR"); if (state.failed) return;
}
}
public final void synpred2_ANTLR_fragment() throws RecognitionException {
{
match("\\\""); if (state.failed) return;
}
}
public final void synpred3_ANTLR_fragment() throws RecognitionException {
{
match("\\]"); if (state.failed) return;
}
}
public final void synpred4_ANTLR_fragment() throws RecognitionException {
int alt26=2;
int LA26_0 = input.LA(1);
if ( (LA26_0=='/') ) {
int LA26_1 = input.LA(2);
if ( (LA26_1=='/') ) {
alt26=1;
}
else if ( (LA26_1=='*') ) {
alt26=2;
}
else {
if (state.backtracking>0) {state.failed=true; return;}
int nvaeMark = input.mark();
try {
input.consume();
NoViableAltException nvae =
new NoViableAltException("", 26, 1, input);
throw nvae;
} finally {
input.rewind(nvaeMark);
}
}
}
else {
if (state.backtracking>0) {state.failed=true; return;}
NoViableAltException nvae =
new NoViableAltException("", 26, 0, input);
throw nvae;
}
switch (alt26) {
case 1 :
{
match("//"); if (state.failed) return;
}
break;
case 2 :
{
match("/*"); if (state.failed) return;
}
break;
}
}
public final boolean synpred4_ANTLR() {
state.backtracking++;
int start = input.mark();
try {
synpred4_ANTLR_fragment();
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred1_ANTLR() {
state.backtracking++;
int start = input.mark();
try {
synpred1_ANTLR_fragment();
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred2_ANTLR() {
state.backtracking++;
int start = input.mark();
try {
synpred2_ANTLR_fragment();
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred3_ANTLR() {
state.backtracking++;
int start = input.mark();
try {
synpred3_ANTLR_fragment();
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
protected DFA9 dfa9 = new DFA9(this);
protected DFA25 dfa25 = new DFA25(this);
static final String DFA9_eotS =
"\2\2\1\uffff\15\2\1\uffff\5\2\1\uffff\2\2\3\uffff\1\2\1\uffff";
static final String DFA9_eofS =
"\36\uffff";
static final String DFA9_minS =
"\1\40\1\44\1\uffff\1\101\1\116\1\124\1\114\1\122\1\40\1\163\1\162\1\143"+
"\1\40\1\42\3\0\1\40\7\0\3\uffff\1\60\1\0";
static final String DFA9_maxS =
"\1\40\1\44\1\uffff\1\101\1\116\1\124\1\114\1\122\1\40\1\163\1\162\1\143"+
"\1\40\1\42\3\uffff\1\40\7\uffff\3\uffff\1\71\1\0";
static final String DFA9_acceptS =
"\2\uffff\1\2\26\uffff\3\1\2\uffff";
static final String DFA9_specialS =
"\16\uffff\1\7\1\11\1\12\1\uffff\1\3\1\1\1\10\1\6\1\4\1\0\1\5\4\uffff\1"+
"\2}>";
static final String[] DFA9_transitionS = {
"\1\1",
"\1\3",
"",
"\1\4",
"\1\5",
"\1\6",
"\1\7",
"\1\10",
"\1\11",
"\1\12",
"\1\13",
"\1\14",
"\1\15",
"\1\16",
"\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\33\1\22\27\33\1\31\71\33\1\32\uffa3\33",
"\1\34",
"\42\33\1\31\71\33\1\32\uffa3\33",
"\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\33\1\22\27\33\1\31\71\33\1\32\uffa3\33",
"\42\33\1\31\71\33\1\32\uffa3\33",
"\12\23\1\22\2\23\1\20\24\23\1\21\71\23\1\17\uffa3\23",
"",
"",
"",
"\12\35",
"\1\uffff"
};
static final short[] DFA9_eot = DFA.unpackEncodedString(DFA9_eotS);
static final short[] DFA9_eof = DFA.unpackEncodedString(DFA9_eofS);
static final char[] DFA9_min = DFA.unpackEncodedStringToUnsignedChars(DFA9_minS);
static final char[] DFA9_max = DFA.unpackEncodedStringToUnsignedChars(DFA9_maxS);
static final short[] DFA9_accept = DFA.unpackEncodedString(DFA9_acceptS);
static final short[] DFA9_special = DFA.unpackEncodedString(DFA9_specialS);
static final short[][] DFA9_transition;
static {
int numStates = DFA9_transitionS.length;
DFA9_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA9_transition[i] = DFA.unpackEncodedString(DFA9_transitionS[i]);
}
}
protected class DFA9 extends DFA {
public DFA9(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 9;
this.eot = DFA9_eot;
this.eof = DFA9_eof;
this.min = DFA9_min;
this.max = DFA9_max;
this.accept = DFA9_accept;
this.special = DFA9_special;
this.transition = DFA9_transition;
}
@Override
public String getDescription() {
return "1101:3: ( ( ' $ANTLR' )=> ' $ANTLR ' SRC ( ( '\\r' )? '\\n' )? | (~ ( '\\r' | '\\n' ) )* ( ( '\\r' )? '\\n' )? )";
}
@Override
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
IntStream input = _input;
int _s = s;
switch ( s ) {
case 0 :
int LA9_23 = input.LA(1);
int index9_23 = input.index();
input.rewind();
s = -1;
if ( (LA9_23=='\"') && (synpred1_ANTLR())) {s = 25;}
else if ( (LA9_23=='\\') && (synpred1_ANTLR())) {s = 26;}
else if ( ((LA9_23 >= '\u0000' && LA9_23 <= '!')||(LA9_23 >= '#' && LA9_23 <= '[')||(LA9_23 >= ']' && LA9_23 <= '\uFFFF')) && (synpred1_ANTLR())) {s = 27;}
else s = 2;
input.seek(index9_23);
if ( s>=0 ) return s;
break;
case 1 :
int LA9_19 = input.LA(1);
s = -1;
if ( (LA9_19=='\"') ) {s = 17;}
else if ( (LA9_19=='\\') ) {s = 15;}
else if ( (LA9_19=='\r') ) {s = 16;}
else if ( (LA9_19=='\n') ) {s = 18;}
else if ( ((LA9_19 >= '\u0000' && LA9_19 <= '\t')||(LA9_19 >= '\u000B' && LA9_19 <= '\f')||(LA9_19 >= '\u000E' && LA9_19 <= '!')||(LA9_19 >= '#' && LA9_19 <= '[')||(LA9_19 >= ']' && LA9_19 <= '\uFFFF')) ) {s = 19;}
else s = 2;
if ( s>=0 ) return s;
break;
case 2 :
int LA9_29 = input.LA(1);
int index9_29 = input.index();
input.rewind();
s = -1;
if ( (synpred1_ANTLR()) ) {s = 27;}
else if ( (true) ) {s = 2;}
input.seek(index9_29);
if ( s>=0 ) return s;
break;
case 3 :
int LA9_18 = input.LA(1);
int index9_18 = input.index();
input.rewind();
s = -1;
if ( (LA9_18=='\"') && (synpred1_ANTLR())) {s = 25;}
else if ( (LA9_18=='\\') && (synpred1_ANTLR())) {s = 26;}
else if ( ((LA9_18 >= '\u0000' && LA9_18 <= '!')||(LA9_18 >= '#' && LA9_18 <= '[')||(LA9_18 >= ']' && LA9_18 <= '\uFFFF')) && (synpred1_ANTLR())) {s = 27;}
else s = 2;
input.seek(index9_18);
if ( s>=0 ) return s;
break;
case 4 :
int LA9_22 = input.LA(1);
int index9_22 = input.index();
input.rewind();
s = -1;
if ( (LA9_22=='\"') && (synpred1_ANTLR())) {s = 25;}
else if ( (LA9_22=='\\') && (synpred1_ANTLR())) {s = 26;}
else if ( (LA9_22=='\n') ) {s = 18;}
else if ( ((LA9_22 >= '\u0000' && LA9_22 <= '\t')||(LA9_22 >= '\u000B' && LA9_22 <= '!')||(LA9_22 >= '#' && LA9_22 <= '[')||(LA9_22 >= ']' && LA9_22 <= '\uFFFF')) && (synpred1_ANTLR())) {s = 27;}
input.seek(index9_22);
if ( s>=0 ) return s;
break;
case 5 :
int LA9_24 = input.LA(1);
s = -1;
if ( (LA9_24=='\"') ) {s = 17;}
else if ( (LA9_24=='\\') ) {s = 15;}
else if ( (LA9_24=='\r') ) {s = 16;}
else if ( (LA9_24=='\n') ) {s = 18;}
else if ( ((LA9_24 >= '\u0000' && LA9_24 <= '\t')||(LA9_24 >= '\u000B' && LA9_24 <= '\f')||(LA9_24 >= '\u000E' && LA9_24 <= '!')||(LA9_24 >= '#' && LA9_24 <= '[')||(LA9_24 >= ']' && LA9_24 <= '\uFFFF')) ) {s = 19;}
else s = 2;
if ( s>=0 ) return s;
break;
case 6 :
int LA9_21 = input.LA(1);
s = -1;
if ( (LA9_21=='\"') ) {s = 17;}
else if ( (LA9_21=='\\') ) {s = 15;}
else if ( (LA9_21=='\r') ) {s = 16;}
else if ( (LA9_21=='\n') ) {s = 18;}
else if ( ((LA9_21 >= '\u0000' && LA9_21 <= '\t')||(LA9_21 >= '\u000B' && LA9_21 <= '\f')||(LA9_21 >= '\u000E' && LA9_21 <= '!')||(LA9_21 >= '#' && LA9_21 <= '[')||(LA9_21 >= ']' && LA9_21 <= '\uFFFF')) ) {s = 19;}
else s = 2;
if ( s>=0 ) return s;
break;
case 7 :
int LA9_14 = input.LA(1);
s = -1;
if ( (LA9_14=='\\') ) {s = 15;}
else if ( (LA9_14=='\r') ) {s = 16;}
else if ( (LA9_14=='\"') ) {s = 17;}
else if ( (LA9_14=='\n') ) {s = 18;}
else if ( ((LA9_14 >= '\u0000' && LA9_14 <= '\t')||(LA9_14 >= '\u000B' && LA9_14 <= '\f')||(LA9_14 >= '\u000E' && LA9_14 <= '!')||(LA9_14 >= '#' && LA9_14 <= '[')||(LA9_14 >= ']' && LA9_14 <= '\uFFFF')) ) {s = 19;}
else s = 2;
if ( s>=0 ) return s;
break;
case 8 :
int LA9_20 = input.LA(1);
s = -1;
if ( (LA9_20=='\"') ) {s = 17;}
else if ( (LA9_20=='\\') ) {s = 15;}
else if ( (LA9_20=='\r') ) {s = 16;}
else if ( (LA9_20=='\n') ) {s = 18;}
else if ( ((LA9_20 >= '\u0000' && LA9_20 <= '\t')||(LA9_20 >= '\u000B' && LA9_20 <= '\f')||(LA9_20 >= '\u000E' && LA9_20 <= '!')||(LA9_20 >= '#' && LA9_20 <= '[')||(LA9_20 >= ']' && LA9_20 <= '\uFFFF')) ) {s = 19;}
else s = 2;
if ( s>=0 ) return s;
break;
case 9 :
int LA9_15 = input.LA(1);
s = -1;
if ( (LA9_15=='\'') ) {s = 20;}
else if ( (LA9_15=='\"') ) {s = 21;}
else if ( (LA9_15=='\r') ) {s = 22;}
else if ( (LA9_15=='\n') ) {s = 23;}
else if ( ((LA9_15 >= '\u0000' && LA9_15 <= '\t')||(LA9_15 >= '\u000B' && LA9_15 <= '\f')||(LA9_15 >= '\u000E' && LA9_15 <= '!')||(LA9_15 >= '#' && LA9_15 <= '&')||(LA9_15 >= '(' && LA9_15 <= '\uFFFF')) ) {s = 24;}
else s = 2;
if ( s>=0 ) return s;
break;
case 10 :
int LA9_16 = input.LA(1);
int index9_16 = input.index();
input.rewind();
s = -1;
if ( (LA9_16=='\"') && (synpred1_ANTLR())) {s = 25;}
else if ( (LA9_16=='\\') && (synpred1_ANTLR())) {s = 26;}
else if ( (LA9_16=='\n') ) {s = 18;}
else if ( ((LA9_16 >= '\u0000' && LA9_16 <= '\t')||(LA9_16 >= '\u000B' && LA9_16 <= '!')||(LA9_16 >= '#' && LA9_16 <= '[')||(LA9_16 >= ']' && LA9_16 <= '\uFFFF')) && (synpred1_ANTLR())) {s = 27;}
input.seek(index9_16);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 9, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA25_eotS =
"\1\uffff\11\50\2\uffff\1\70\4\uffff\1\72\4\uffff\1\74\1\76\4\uffff\1\100"+
"\12\uffff\1\50\1\uffff\16\50\10\uffff\1\122\1\uffff\20\50\2\uffff\16\50"+
"\1\161\2\50\1\164\4\50\1\171\5\50\1\177\1\50\1\uffff\2\50\1\uffff\3\50"+
"\1\u0086\1\uffff\1\u0087\2\50\1\u008a\1\50\1\uffff\1\u008c\2\50\1\u008f"+
"\1\50\1\u0091\2\uffff\1\u0092\1\50\1\uffff\1\u0094\2\uffff\1\50\1\uffff"+
"\1\u0096\2\uffff\1\50\3\uffff\1\u0098\1\uffff";
static final String DFA25_eofS =
"\u0099\uffff";
static final String DFA25_minS =
"\1\11\1\141\1\151\1\162\1\155\1\145\1\141\1\145\1\143\1\150\2\uffff\1"+
"\74\4\uffff\1\50\4\uffff\1\75\1\76\4\uffff\1\56\12\uffff\1\160\1\uffff"+
"\1\164\1\156\2\141\1\160\1\170\1\162\1\151\1\142\1\164\1\157\1\162\1\145"+
"\1\153\10\uffff\1\56\1\uffff\1\164\1\143\1\141\1\147\1\155\1\157\1\145"+
"\1\163\1\166\1\164\1\154\1\165\1\160\1\157\2\145\2\uffff\1\151\1\150\1"+
"\154\2\155\2\162\1\145\1\141\1\145\1\151\1\162\1\145\1\167\1\60\1\156"+
"\1\157\1\60\1\154\1\145\1\141\1\164\1\60\1\162\1\164\2\143\1\156\1\60"+
"\1\163\1\uffff\1\163\1\156\1\uffff\1\171\1\156\1\162\1\60\1\uffff\1\60"+
"\1\145\1\164\1\60\1\163\1\uffff\1\60\1\11\1\163\1\60\1\164\1\60\2\uffff"+
"\1\60\1\145\1\uffff\1\60\2\uffff\1\11\1\uffff\1\60\2\uffff\1\144\3\uffff"+
"\1\60\1\uffff";
static final String DFA25_maxS =
"\1\176\1\141\2\162\1\155\1\145\1\165\1\145\1\143\1\162\2\uffff\1\74\4"+
"\uffff\1\50\4\uffff\1\75\1\76\4\uffff\1\56\12\uffff\1\160\1\uffff\1\164"+
"\1\156\2\141\1\160\1\170\1\162\1\157\1\142\1\164\1\157\1\162\1\145\1\153"+
"\10\uffff\1\56\1\uffff\1\164\1\143\1\141\1\147\1\155\1\157\1\145\1\163"+
"\1\166\1\164\1\154\1\165\1\160\1\157\2\145\2\uffff\1\151\1\150\1\154\2"+
"\155\2\162\1\145\1\141\1\145\1\151\1\162\1\145\1\167\1\172\1\156\1\157"+
"\1\172\1\154\1\145\1\141\1\164\1\172\1\162\1\164\2\143\1\156\1\172\1\163"+
"\1\uffff\1\163\1\156\1\uffff\1\171\1\156\1\162\1\172\1\uffff\1\172\1\145"+
"\1\164\1\172\1\163\1\uffff\1\172\1\173\1\163\1\172\1\164\1\172\2\uffff"+
"\1\172\1\145\1\uffff\1\172\2\uffff\1\173\1\uffff\1\172\2\uffff\1\144\3"+
"\uffff\1\172\1\uffff";
static final String DFA25_acceptS =
"\12\uffff\1\17\1\20\1\uffff\1\22\1\23\1\24\1\25\1\uffff\1\27\1\30\1\31"+
"\1\32\2\uffff\1\37\1\40\1\42\1\43\1\uffff\1\47\1\50\1\51\1\52\1\53\1\54"+
"\1\56\1\57\1\60\1\61\1\uffff\1\64\16\uffff\1\55\1\21\1\26\1\41\1\35\1"+
"\33\1\36\1\34\1\uffff\1\44\20\uffff\1\45\1\46\36\uffff\1\16\2\uffff\1"+
"\1\4\uffff\1\6\5\uffff\1\14\6\uffff\1\5\1\7\2\uffff\1\12\1\uffff\1\15"+
"\1\62\1\uffff\1\2\1\uffff\1\4\1\10\1\uffff\1\13\1\63\1\3\1\uffff\1\11";
static final String DFA25_specialS =
"\u0099\uffff}>";
static final String[] DFA25_transitionS = {
"\2\12\2\uffff\1\12\22\uffff\1\12\1\32\1\42\1\uffff\1\37\2\uffff\1\41"+
"\1\22\1\23\1\25\1\26\1\17\1\30\1\34\1\13\12\43\1\24\1\31\1\14\1\27\1"+
"\15\1\20\1\16\32\46\1\44\1\uffff\1\40\1\21\2\uffff\2\50\1\1\2\50\1\2"+
"\1\3\1\50\1\4\2\50\1\5\2\50\1\47\1\6\1\50\1\7\1\10\1\11\6\50\1\45\1\33"+
"\1\36\1\35",
"\1\51",
"\1\52\10\uffff\1\53",
"\1\54",
"\1\55",
"\1\56",
"\1\57\20\uffff\1\60\2\uffff\1\61",
"\1\62",
"\1\63",
"\1\64\6\uffff\1\66\2\uffff\1\65",
"",
"",
"\1\67",
"",
"",
"",
"",
"\1\71",
"",
"",
"",
"",
"\1\73",
"\1\75",
"",
"",
"",
"",
"\1\77",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"\1\101",
"",
"\1\102",
"\1\103",
"\1\104",
"\1\105",
"\1\106",
"\1\107",
"\1\110",
"\1\111\5\uffff\1\112",
"\1\113",
"\1\114",
"\1\115",
"\1\116",
"\1\117",
"\1\120",
"",
"",
"",
"",
"",
"",
"",
"",
"\1\121",
"",
"\1\123",
"\1\124",
"\1\125",
"\1\126",
"\1\127",
"\1\130",
"\1\131",
"\1\132",
"\1\133",
"\1\134",
"\1\135",
"\1\136",
"\1\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",
"\1\157",
"\1\160",
"\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50",
"\1\162",
"\1\163",
"\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50",
"\1\165",
"\1\166",
"\1\167",
"\1\170",
"\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50",
"\1\172",
"\1\173",
"\1\174",
"\1\175",
"\1\176",
"\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50",
"\1\u0080",
"",
"\1\u0081",
"\1\u0082",
"",
"\1\u0083",
"\1\u0084",
"\1\u0085",
"\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50",
"",
"\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50",
"\1\u0088",
"\1\u0089",
"\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50",
"\1\u008b",
"",
"\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50",
"\2\u008d\2\uffff\1\u008d\22\uffff\1\u008d\16\uffff\1\u008d\113\uffff"+
"\1\u008d",
"\1\u008e",
"\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50",
"\1\u0090",
"\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50",
"",
"",
"\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50",
"\1\u0093",
"",
"\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50",
"",
"",
"\2\u0095\2\uffff\1\u0095\22\uffff\1\u0095\16\uffff\1\u0095\113\uffff"+
"\1\u0095",
"",
"\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50",
"",
"",
"\1\u0097",
"",
"",
"",
"\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50",
""
};
static final short[] DFA25_eot = DFA.unpackEncodedString(DFA25_eotS);
static final short[] DFA25_eof = DFA.unpackEncodedString(DFA25_eofS);
static final char[] DFA25_min = DFA.unpackEncodedStringToUnsignedChars(DFA25_minS);
static final char[] DFA25_max = DFA.unpackEncodedStringToUnsignedChars(DFA25_maxS);
static final short[] DFA25_accept = DFA.unpackEncodedString(DFA25_acceptS);
static final short[] DFA25_special = DFA.unpackEncodedString(DFA25_specialS);
static final short[][] DFA25_transition;
static {
int numStates = DFA25_transitionS.length;
DFA25_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA25_transition[i] = DFA.unpackEncodedString(DFA25_transitionS[i]);
}
}
protected class DFA25 extends DFA {
public DFA25(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 25;
this.eot = DFA25_eot;
this.eof = DFA25_eof;
this.min = DFA25_min;
this.max = DFA25_max;
this.accept = DFA25_accept;
this.special = DFA25_special;
this.transition = DFA25_transition;
}
@Override
public String getDescription() {
return "1:1: Tokens : ( CATCH | FINALLY | FRAGMENT | GRAMMAR | IMPORT | LEXER | PARSER | PRIVATE | PROTECTED | PUBLIC | RETURNS | SCOPE | THROWS | TREE | WS | COMMENT | OPEN_ELEMENT_OPTION | CLOSE_ELEMENT_OPTION | AMPERSAND | COMMA | QUESTION | TREE_BEGIN | LPAREN | RPAREN | COLON | STAR | PLUS | ASSIGN | PLUS_ASSIGN | IMPLIES | REWRITE | SEMI | ROOT | BANG | OR | WILDCARD | ETC | RANGE | NOT | RCURLY | DOLLAR | STRAY_BRACKET | CHAR_LITERAL | DOUBLE_QUOTE_STRING_LITERAL | DOUBLE_ANGLE_STRING_LITERAL | INT | ARG_ACTION | ACTION | TOKEN_REF | TOKENS | OPTIONS | RULE_REF );";
}
}
}