org.antlr.grammar.v3.ANTLRv3Lexer Maven / Gradle / Ivy
// $ANTLR 3.2 Sep 23, 2009 14:05:07 org/antlr/grammar/v3/ANTLRv3.g 2010-11-29 17:55:05
package org.antlr.grammar.v3;
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
public class ANTLRv3Lexer extends Lexer {
public static final int BACKTRACK_SEMPRED=34;
public static final int DOUBLE_ANGLE_STRING_LITERAL=53;
public static final int LEXER_GRAMMAR=24;
public static final int EOA=19;
public static final int ARGLIST=22;
public static final int EOF=-1;
public static final int SEMPRED=31;
public static final int ACTION=47;
public static final int EOB=18;
public static final int TOKEN_REF=44;
public static final int T__93=93;
public static final int T__91=91;
public static final int RET=23;
public static final int T__92=92;
public static final int STRING_LITERAL=45;
public static final int T__90=90;
public static final int ARG=21;
public static final int EOR=17;
public static final int ARG_ACTION=50;
public static final int DOUBLE_QUOTE_STRING_LITERAL=52;
public static final int NESTED_ARG_ACTION=60;
public static final int ACTION_CHAR_LITERAL=62;
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 RULE=7;
public static final int ACTION_ESC=64;
public static final int T__83=83;
public static final int PARSER_GRAMMAR=25;
public static final int SRC=54;
public static final int INT=49;
public static final int CHAR_RANGE=14;
public static final int EPSILON=15;
public static final int T__85=85;
public static final int T__84=84;
public static final int T__87=87;
public static final int T__86=86;
public static final int REWRITE=39;
public static final int T__89=89;
public static final int T__88=88;
public static final int WS=66;
public static final int T__71=71;
public static final int T__72=72;
public static final int COMBINED_GRAMMAR=27;
public static final int T__70=70;
public static final int LEXER=6;
public static final int SL_COMMENT=55;
public static final int TREE_GRAMMAR=26;
public static final int T__76=76;
public static final int CLOSURE=10;
public static final int T__75=75;
public static final int PARSER=5;
public static final int T__74=74;
public static final int T__73=73;
public static final int T__79=79;
public static final int T__78=78;
public static final int T__77=77;
public static final int T__68=68;
public static final int T__69=69;
public static final int T__67=67;
public static final int NESTED_ACTION=63;
public static final int ESC=58;
public static final int FRAGMENT=35;
public static final int ID=20;
public static final int TREE_BEGIN=36;
public static final int AT=40;
public static final int ML_COMMENT=56;
public static final int ALT=16;
public static final int SCOPE=30;
public static final int LABEL_ASSIGN=41;
public static final int DOC_COMMENT=4;
public static final int WS_LOOP=65;
public static final int RANGE=13;
public static final int TOKENS=43;
public static final int GATED_SEMPRED=32;
public static final int LITERAL_CHAR=57;
public static final int BANG=38;
public static final int LIST_LABEL_ASSIGN=42;
public static final int ACTION_STRING_LITERAL=61;
public static final int ROOT=37;
public static final int RULE_REF=51;
public static final int SYNPRED=12;
public static final int OPTIONAL=9;
public static final int CHAR_LITERAL=46;
public static final int LABEL=28;
public static final int TEMPLATE=29;
public static final int SYN_SEMPRED=33;
public static final int XDIGIT=59;
public static final int BLOCK=8;
public static final int POSITIVE_CLOSURE=11;
public static final int OPTIONS=48;
// delegates
// delegators
public ANTLRv3Lexer() {;}
public ANTLRv3Lexer(CharStream input) {
this(input, new RecognizerSharedState());
}
public ANTLRv3Lexer(CharStream input, RecognizerSharedState state) {
super(input,state);
}
public String getGrammarFileName() { return "org/antlr/grammar/v3/ANTLRv3.g"; }
// $ANTLR start "RET"
public final void mRET() throws RecognitionException {
try {
int _type = RET;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:7:5: ( 'returns' )
// org/antlr/grammar/v3/ANTLRv3.g:7:7: 'returns'
{
match("returns");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "RET"
// $ANTLR start "SCOPE"
public final void mSCOPE() throws RecognitionException {
try {
int _type = SCOPE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:8:7: ( 'scope' )
// org/antlr/grammar/v3/ANTLRv3.g:8:9: 'scope'
{
match("scope");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "SCOPE"
// $ANTLR start "FRAGMENT"
public final void mFRAGMENT() throws RecognitionException {
try {
int _type = FRAGMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:9:10: ( 'fragment' )
// org/antlr/grammar/v3/ANTLRv3.g:9:12: 'fragment'
{
match("fragment");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "FRAGMENT"
// $ANTLR start "TREE_BEGIN"
public final void mTREE_BEGIN() throws RecognitionException {
try {
int _type = TREE_BEGIN;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:10:12: ( '^(' )
// org/antlr/grammar/v3/ANTLRv3.g:10:14: '^('
{
match("^(");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "TREE_BEGIN"
// $ANTLR start "ROOT"
public final void mROOT() throws RecognitionException {
try {
int _type = ROOT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:11:6: ( '^' )
// org/antlr/grammar/v3/ANTLRv3.g:11:8: '^'
{
match('^');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "ROOT"
// $ANTLR start "BANG"
public final void mBANG() throws RecognitionException {
try {
int _type = BANG;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:12:6: ( '!' )
// org/antlr/grammar/v3/ANTLRv3.g:12:8: '!'
{
match('!');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "BANG"
// $ANTLR start "RANGE"
public final void mRANGE() throws RecognitionException {
try {
int _type = RANGE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:13:7: ( '..' )
// org/antlr/grammar/v3/ANTLRv3.g:13:9: '..'
{
match("..");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "RANGE"
// $ANTLR start "REWRITE"
public final void mREWRITE() throws RecognitionException {
try {
int _type = REWRITE;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:14:9: ( '->' )
// org/antlr/grammar/v3/ANTLRv3.g:14:11: '->'
{
match("->");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "REWRITE"
// $ANTLR start "AT"
public final void mAT() throws RecognitionException {
try {
int _type = AT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:15:4: ( '@' )
// org/antlr/grammar/v3/ANTLRv3.g:15:6: '@'
{
match('@');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "AT"
// $ANTLR start "LABEL_ASSIGN"
public final void mLABEL_ASSIGN() throws RecognitionException {
try {
int _type = LABEL_ASSIGN;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:16:14: ( '=' )
// org/antlr/grammar/v3/ANTLRv3.g:16:16: '='
{
match('=');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "LABEL_ASSIGN"
// $ANTLR start "LIST_LABEL_ASSIGN"
public final void mLIST_LABEL_ASSIGN() throws RecognitionException {
try {
int _type = LIST_LABEL_ASSIGN;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:17:19: ( '+=' )
// org/antlr/grammar/v3/ANTLRv3.g:17:21: '+='
{
match("+=");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "LIST_LABEL_ASSIGN"
// $ANTLR start "T__67"
public final void mT__67() throws RecognitionException {
try {
int _type = T__67;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:18:7: ( 'lexer' )
// org/antlr/grammar/v3/ANTLRv3.g:18:9: 'lexer'
{
match("lexer");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__67"
// $ANTLR start "T__68"
public final void mT__68() throws RecognitionException {
try {
int _type = T__68;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:19:7: ( 'parser' )
// org/antlr/grammar/v3/ANTLRv3.g:19:9: 'parser'
{
match("parser");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__68"
// $ANTLR start "T__69"
public final void mT__69() throws RecognitionException {
try {
int _type = T__69;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:20:7: ( 'tree' )
// org/antlr/grammar/v3/ANTLRv3.g:20:9: 'tree'
{
match("tree");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__69"
// $ANTLR start "T__70"
public final void mT__70() throws RecognitionException {
try {
int _type = T__70;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:21:7: ( 'grammar' )
// org/antlr/grammar/v3/ANTLRv3.g:21:9: 'grammar'
{
match("grammar");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__70"
// $ANTLR start "T__71"
public final void mT__71() throws RecognitionException {
try {
int _type = T__71;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:22:7: ( ';' )
// org/antlr/grammar/v3/ANTLRv3.g:22:9: ';'
{
match(';');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__71"
// $ANTLR start "T__72"
public final void mT__72() throws RecognitionException {
try {
int _type = T__72;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:23:7: ( '}' )
// org/antlr/grammar/v3/ANTLRv3.g:23:9: '}'
{
match('}');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__72"
// $ANTLR start "T__73"
public final void mT__73() throws RecognitionException {
try {
int _type = T__73;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:24:7: ( '::' )
// org/antlr/grammar/v3/ANTLRv3.g:24:9: '::'
{
match("::");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__73"
// $ANTLR start "T__74"
public final void mT__74() throws RecognitionException {
try {
int _type = T__74;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:25:7: ( '*' )
// org/antlr/grammar/v3/ANTLRv3.g:25:9: '*'
{
match('*');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__74"
// $ANTLR start "T__75"
public final void mT__75() throws RecognitionException {
try {
int _type = T__75;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:26:7: ( 'protected' )
// org/antlr/grammar/v3/ANTLRv3.g:26:9: 'protected'
{
match("protected");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__75"
// $ANTLR start "T__76"
public final void mT__76() throws RecognitionException {
try {
int _type = T__76;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:27:7: ( 'public' )
// org/antlr/grammar/v3/ANTLRv3.g:27:9: 'public'
{
match("public");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__76"
// $ANTLR start "T__77"
public final void mT__77() throws RecognitionException {
try {
int _type = T__77;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:28:7: ( 'private' )
// org/antlr/grammar/v3/ANTLRv3.g:28:9: 'private'
{
match("private");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__77"
// $ANTLR start "T__78"
public final void mT__78() throws RecognitionException {
try {
int _type = T__78;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:29:7: ( ':' )
// org/antlr/grammar/v3/ANTLRv3.g:29:9: ':'
{
match(':');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__78"
// $ANTLR start "T__79"
public final void mT__79() throws RecognitionException {
try {
int _type = T__79;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:30:7: ( 'throws' )
// org/antlr/grammar/v3/ANTLRv3.g:30:9: 'throws'
{
match("throws");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__79"
// $ANTLR start "T__80"
public final void mT__80() throws RecognitionException {
try {
int _type = T__80;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:31:7: ( ',' )
// org/antlr/grammar/v3/ANTLRv3.g:31:9: ','
{
match(',');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__80"
// $ANTLR start "T__81"
public final void mT__81() throws RecognitionException {
try {
int _type = T__81;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:32:7: ( '(' )
// org/antlr/grammar/v3/ANTLRv3.g:32:9: '('
{
match('(');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__81"
// $ANTLR start "T__82"
public final void mT__82() throws RecognitionException {
try {
int _type = T__82;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:33:7: ( '|' )
// org/antlr/grammar/v3/ANTLRv3.g:33:9: '|'
{
match('|');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__82"
// $ANTLR start "T__83"
public final void mT__83() throws RecognitionException {
try {
int _type = T__83;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:34:7: ( ')' )
// org/antlr/grammar/v3/ANTLRv3.g:34:9: ')'
{
match(')');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__83"
// $ANTLR start "T__84"
public final void mT__84() throws RecognitionException {
try {
int _type = T__84;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:35:7: ( 'catch' )
// org/antlr/grammar/v3/ANTLRv3.g:35:9: 'catch'
{
match("catch");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__84"
// $ANTLR start "T__85"
public final void mT__85() throws RecognitionException {
try {
int _type = T__85;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:36:7: ( 'finally' )
// org/antlr/grammar/v3/ANTLRv3.g:36:9: 'finally'
{
match("finally");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__85"
// $ANTLR start "T__86"
public final void mT__86() throws RecognitionException {
try {
int _type = T__86;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:37:7: ( '=>' )
// org/antlr/grammar/v3/ANTLRv3.g:37:9: '=>'
{
match("=>");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__86"
// $ANTLR start "T__87"
public final void mT__87() throws RecognitionException {
try {
int _type = T__87;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:38:7: ( '~' )
// org/antlr/grammar/v3/ANTLRv3.g:38:9: '~'
{
match('~');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__87"
// $ANTLR start "T__88"
public final void mT__88() throws RecognitionException {
try {
int _type = T__88;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:39:7: ( '<' )
// org/antlr/grammar/v3/ANTLRv3.g:39:9: '<'
{
match('<');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__88"
// $ANTLR start "T__89"
public final void mT__89() throws RecognitionException {
try {
int _type = T__89;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:40:7: ( '>' )
// org/antlr/grammar/v3/ANTLRv3.g:40:9: '>'
{
match('>');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__89"
// $ANTLR start "T__90"
public final void mT__90() throws RecognitionException {
try {
int _type = T__90;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:41:7: ( '.' )
// org/antlr/grammar/v3/ANTLRv3.g:41:9: '.'
{
match('.');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__90"
// $ANTLR start "T__91"
public final void mT__91() throws RecognitionException {
try {
int _type = T__91;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:42:7: ( '?' )
// org/antlr/grammar/v3/ANTLRv3.g:42:9: '?'
{
match('?');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__91"
// $ANTLR start "T__92"
public final void mT__92() throws RecognitionException {
try {
int _type = T__92;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:43:7: ( '+' )
// org/antlr/grammar/v3/ANTLRv3.g:43:9: '+'
{
match('+');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__92"
// $ANTLR start "T__93"
public final void mT__93() throws RecognitionException {
try {
int _type = T__93;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:44:7: ( '$' )
// org/antlr/grammar/v3/ANTLRv3.g:44:9: '$'
{
match('$');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "T__93"
// $ANTLR start "SL_COMMENT"
public final void mSL_COMMENT() throws RecognitionException {
try {
int _type = SL_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:471:3: ( '//' ( ' $ANTLR ' SRC | (~ ( '\\r' | '\\n' ) )* ) ( '\\r' )? '\\n' )
// org/antlr/grammar/v3/ANTLRv3.g:471:5: '//' ( ' $ANTLR ' SRC | (~ ( '\\r' | '\\n' ) )* ) ( '\\r' )? '\\n'
{
match("//");
// org/antlr/grammar/v3/ANTLRv3.g:472:5: ( ' $ANTLR ' SRC | (~ ( '\\r' | '\\n' ) )* )
int alt2=2;
alt2 = dfa2.predict(input);
switch (alt2) {
case 1 :
// org/antlr/grammar/v3/ANTLRv3.g:472:7: ' $ANTLR ' SRC
{
match(" $ANTLR ");
mSRC();
}
break;
case 2 :
// org/antlr/grammar/v3/ANTLRv3.g:473:6: (~ ( '\\r' | '\\n' ) )*
{
// org/antlr/grammar/v3/ANTLRv3.g:473:6: (~ ( '\\r' | '\\n' ) )*
loop1:
do {
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 :
// org/antlr/grammar/v3/ANTLRv3.g:473:6: ~ ( '\\r' | '\\n' )
{
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;
}
} while (true);
}
break;
}
// org/antlr/grammar/v3/ANTLRv3.g:475:3: ( '\\r' )?
int alt3=2;
switch ( input.LA(1) ) {
case '\r':
{
alt3=1;
}
break;
}
switch (alt3) {
case 1 :
// org/antlr/grammar/v3/ANTLRv3.g:475:3: '\\r'
{
match('\r');
}
break;
}
match('\n');
_channel=HIDDEN;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "SL_COMMENT"
// $ANTLR start "ML_COMMENT"
public final void mML_COMMENT() throws RecognitionException {
try {
int _type = ML_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:480:2: ( '/*' ( . )* '*/' )
// org/antlr/grammar/v3/ANTLRv3.g:480:4: '/*' ( . )* '*/'
{
match("/*");
if (input.LA(1)=='*') _type=DOC_COMMENT; else _channel=HIDDEN;
// org/antlr/grammar/v3/ANTLRv3.g:480:74: ( . )*
loop4:
do {
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 :
// org/antlr/grammar/v3/ANTLRv3.g:480:74: .
{
matchAny();
}
break;
default :
break loop4;
}
} while (true);
match("*/");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "ML_COMMENT"
// $ANTLR start "CHAR_LITERAL"
public final void mCHAR_LITERAL() throws RecognitionException {
try {
int _type = CHAR_LITERAL;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:484:2: ( '\\'' LITERAL_CHAR '\\'' )
// org/antlr/grammar/v3/ANTLRv3.g:484:4: '\\'' LITERAL_CHAR '\\''
{
match('\'');
mLITERAL_CHAR();
match('\'');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "CHAR_LITERAL"
// $ANTLR start "STRING_LITERAL"
public final void mSTRING_LITERAL() throws RecognitionException {
try {
int _type = STRING_LITERAL;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:488:2: ( '\\'' LITERAL_CHAR ( LITERAL_CHAR )* '\\'' )
// org/antlr/grammar/v3/ANTLRv3.g:488:4: '\\'' LITERAL_CHAR ( LITERAL_CHAR )* '\\''
{
match('\'');
mLITERAL_CHAR();
// org/antlr/grammar/v3/ANTLRv3.g:488:22: ( LITERAL_CHAR )*
loop5:
do {
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 :
// org/antlr/grammar/v3/ANTLRv3.g:488:22: LITERAL_CHAR
{
mLITERAL_CHAR();
}
break;
default :
break loop5;
}
} while (true);
match('\'');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "STRING_LITERAL"
// $ANTLR start "LITERAL_CHAR"
public final void mLITERAL_CHAR() throws RecognitionException {
try {
// org/antlr/grammar/v3/ANTLRv3.g:493:2: ( ESC | ~ ( '\\'' | '\\\\' ) )
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 :
// org/antlr/grammar/v3/ANTLRv3.g:493:4: ESC
{
mESC();
}
break;
case 2 :
// org/antlr/grammar/v3/ANTLRv3.g:494:4: ~ ( '\\'' | '\\\\' )
{
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 {
}
}
// $ANTLR end "LITERAL_CHAR"
// $ANTLR start "DOUBLE_QUOTE_STRING_LITERAL"
public final void mDOUBLE_QUOTE_STRING_LITERAL() throws RecognitionException {
try {
int _type = DOUBLE_QUOTE_STRING_LITERAL;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:498:2: ( '\"' ( ESC | ~ ( '\\\\' | '\"' ) )* '\"' )
// org/antlr/grammar/v3/ANTLRv3.g:498:4: '\"' ( ESC | ~ ( '\\\\' | '\"' ) )* '\"'
{
match('\"');
// org/antlr/grammar/v3/ANTLRv3.g:498:8: ( ESC | ~ ( '\\\\' | '\"' ) )*
loop7:
do {
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 :
// org/antlr/grammar/v3/ANTLRv3.g:498:9: ESC
{
mESC();
}
break;
case 2 :
// org/antlr/grammar/v3/ANTLRv3.g:498:15: ~ ( '\\\\' | '\"' )
{
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;
}
} while (true);
match('\"');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "DOUBLE_QUOTE_STRING_LITERAL"
// $ANTLR start "DOUBLE_ANGLE_STRING_LITERAL"
public final void mDOUBLE_ANGLE_STRING_LITERAL() throws RecognitionException {
try {
int _type = DOUBLE_ANGLE_STRING_LITERAL;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:502:2: ( '<<' ( . )* '>>' )
// org/antlr/grammar/v3/ANTLRv3.g:502:4: '<<' ( . )* '>>'
{
match("<<");
// org/antlr/grammar/v3/ANTLRv3.g:502:9: ( . )*
loop8:
do {
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 :
// org/antlr/grammar/v3/ANTLRv3.g:502:9: .
{
matchAny();
}
break;
default :
break loop8;
}
} while (true);
match(">>");
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "DOUBLE_ANGLE_STRING_LITERAL"
// $ANTLR start "ESC"
public final void mESC() throws RecognitionException {
try {
// org/antlr/grammar/v3/ANTLRv3.g:506:5: ( '\\\\' ( 'n' | 'r' | 't' | 'b' | 'f' | '\"' | '\\'' | '\\\\' | '>' | 'u' XDIGIT XDIGIT XDIGIT XDIGIT | . ) )
// org/antlr/grammar/v3/ANTLRv3.g:506:7: '\\\\' ( 'n' | 'r' | 't' | 'b' | 'f' | '\"' | '\\'' | '\\\\' | '>' | 'u' XDIGIT XDIGIT XDIGIT XDIGIT | . )
{
match('\\');
// org/antlr/grammar/v3/ANTLRv3.g:507:3: ( 'n' | 'r' | 't' | 'b' | 'f' | '\"' | '\\'' | '\\\\' | '>' | 'u' XDIGIT XDIGIT XDIGIT XDIGIT | . )
int alt9=11;
alt9 = dfa9.predict(input);
switch (alt9) {
case 1 :
// org/antlr/grammar/v3/ANTLRv3.g:507:5: 'n'
{
match('n');
}
break;
case 2 :
// org/antlr/grammar/v3/ANTLRv3.g:508:5: 'r'
{
match('r');
}
break;
case 3 :
// org/antlr/grammar/v3/ANTLRv3.g:509:5: 't'
{
match('t');
}
break;
case 4 :
// org/antlr/grammar/v3/ANTLRv3.g:510:5: 'b'
{
match('b');
}
break;
case 5 :
// org/antlr/grammar/v3/ANTLRv3.g:511:5: 'f'
{
match('f');
}
break;
case 6 :
// org/antlr/grammar/v3/ANTLRv3.g:512:5: '\"'
{
match('\"');
}
break;
case 7 :
// org/antlr/grammar/v3/ANTLRv3.g:513:5: '\\''
{
match('\'');
}
break;
case 8 :
// org/antlr/grammar/v3/ANTLRv3.g:514:5: '\\\\'
{
match('\\');
}
break;
case 9 :
// org/antlr/grammar/v3/ANTLRv3.g:515:5: '>'
{
match('>');
}
break;
case 10 :
// org/antlr/grammar/v3/ANTLRv3.g:516:5: 'u' XDIGIT XDIGIT XDIGIT XDIGIT
{
match('u');
mXDIGIT();
mXDIGIT();
mXDIGIT();
mXDIGIT();
}
break;
case 11 :
// org/antlr/grammar/v3/ANTLRv3.g:517:5: .
{
matchAny();
}
break;
}
}
}
finally {
}
}
// $ANTLR end "ESC"
// $ANTLR start "XDIGIT"
public final void mXDIGIT() throws RecognitionException {
try {
// org/antlr/grammar/v3/ANTLRv3.g:522:8: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
// org/antlr/grammar/v3/ANTLRv3.g:
{
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 {
}
}
// $ANTLR end "XDIGIT"
// $ANTLR start "INT"
public final void mINT() throws RecognitionException {
try {
int _type = INT;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:528:5: ( ( '0' .. '9' )+ )
// org/antlr/grammar/v3/ANTLRv3.g:528:7: ( '0' .. '9' )+
{
// org/antlr/grammar/v3/ANTLRv3.g:528:7: ( '0' .. '9' )+
int cnt10=0;
loop10:
do {
int alt10=2;
switch ( input.LA(1) ) {
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9':
{
alt10=1;
}
break;
}
switch (alt10) {
case 1 :
// org/antlr/grammar/v3/ANTLRv3.g:528:7: '0' .. '9'
{
matchRange('0','9');
}
break;
default :
if ( cnt10 >= 1 ) break loop10;
EarlyExitException eee =
new EarlyExitException(10, input);
throw eee;
}
cnt10++;
} while (true);
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "INT"
// $ANTLR start "ARG_ACTION"
public final void mARG_ACTION() throws RecognitionException {
try {
int _type = ARG_ACTION;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:532:2: ( NESTED_ARG_ACTION )
// org/antlr/grammar/v3/ANTLRv3.g:532:4: NESTED_ARG_ACTION
{
mNESTED_ARG_ACTION();
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "ARG_ACTION"
// $ANTLR start "NESTED_ARG_ACTION"
public final void mNESTED_ARG_ACTION() throws RecognitionException {
try {
// org/antlr/grammar/v3/ANTLRv3.g:536:19: ( '[' ( options {greedy=false; k=1; } : NESTED_ARG_ACTION | ACTION_STRING_LITERAL | ACTION_CHAR_LITERAL | . )* ']' )
// org/antlr/grammar/v3/ANTLRv3.g:537:2: '[' ( options {greedy=false; k=1; } : NESTED_ARG_ACTION | ACTION_STRING_LITERAL | ACTION_CHAR_LITERAL | . )* ']'
{
match('[');
// org/antlr/grammar/v3/ANTLRv3.g:538:2: ( options {greedy=false; k=1; } : NESTED_ARG_ACTION | ACTION_STRING_LITERAL | ACTION_CHAR_LITERAL | . )*
loop11:
do {
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 :
// org/antlr/grammar/v3/ANTLRv3.g:539:4: NESTED_ARG_ACTION
{
mNESTED_ARG_ACTION();
}
break;
case 2 :
// org/antlr/grammar/v3/ANTLRv3.g:540:4: ACTION_STRING_LITERAL
{
mACTION_STRING_LITERAL();
}
break;
case 3 :
// org/antlr/grammar/v3/ANTLRv3.g:541:4: ACTION_CHAR_LITERAL
{
mACTION_CHAR_LITERAL();
}
break;
case 4 :
// org/antlr/grammar/v3/ANTLRv3.g:542:4: .
{
matchAny();
}
break;
default :
break loop11;
}
} while (true);
match(']');
}
}
finally {
}
}
// $ANTLR end "NESTED_ARG_ACTION"
// $ANTLR start "ACTION"
public final void mACTION() throws RecognitionException {
try {
int _type = ACTION;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:549:2: ( NESTED_ACTION ( '?' )? )
// org/antlr/grammar/v3/ANTLRv3.g:549:4: NESTED_ACTION ( '?' )?
{
mNESTED_ACTION();
// org/antlr/grammar/v3/ANTLRv3.g:549:18: ( '?' )?
int alt12=2;
switch ( input.LA(1) ) {
case '?':
{
alt12=1;
}
break;
}
switch (alt12) {
case 1 :
// org/antlr/grammar/v3/ANTLRv3.g:549:20: '?'
{
match('?');
_type = SEMPRED;
}
break;
}
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "ACTION"
// $ANTLR start "NESTED_ACTION"
public final void mNESTED_ACTION() throws RecognitionException {
try {
// org/antlr/grammar/v3/ANTLRv3.g:553:15: ( '{' ( options {greedy=false; k=2; } : NESTED_ACTION | SL_COMMENT | ML_COMMENT | ACTION_STRING_LITERAL | ACTION_CHAR_LITERAL | . )* '}' )
// org/antlr/grammar/v3/ANTLRv3.g:554:2: '{' ( options {greedy=false; k=2; } : NESTED_ACTION | SL_COMMENT | ML_COMMENT | ACTION_STRING_LITERAL | ACTION_CHAR_LITERAL | . )* '}'
{
match('{');
// org/antlr/grammar/v3/ANTLRv3.g:555:2: ( options {greedy=false; k=2; } : NESTED_ACTION | SL_COMMENT | ML_COMMENT | ACTION_STRING_LITERAL | ACTION_CHAR_LITERAL | . )*
loop13:
do {
int alt13=7;
alt13 = dfa13.predict(input);
switch (alt13) {
case 1 :
// org/antlr/grammar/v3/ANTLRv3.g:556:4: NESTED_ACTION
{
mNESTED_ACTION();
}
break;
case 2 :
// org/antlr/grammar/v3/ANTLRv3.g:557:4: SL_COMMENT
{
mSL_COMMENT();
}
break;
case 3 :
// org/antlr/grammar/v3/ANTLRv3.g:558:4: ML_COMMENT
{
mML_COMMENT();
}
break;
case 4 :
// org/antlr/grammar/v3/ANTLRv3.g:559:4: ACTION_STRING_LITERAL
{
mACTION_STRING_LITERAL();
}
break;
case 5 :
// org/antlr/grammar/v3/ANTLRv3.g:560:4: ACTION_CHAR_LITERAL
{
mACTION_CHAR_LITERAL();
}
break;
case 6 :
// org/antlr/grammar/v3/ANTLRv3.g:561:4: .
{
matchAny();
}
break;
default :
break loop13;
}
} while (true);
match('}');
}
}
finally {
}
}
// $ANTLR end "NESTED_ACTION"
// $ANTLR start "ACTION_CHAR_LITERAL"
public final void mACTION_CHAR_LITERAL() throws RecognitionException {
try {
// org/antlr/grammar/v3/ANTLRv3.g:568:2: ( '\\'' ( ACTION_ESC | ~ ( '\\\\' | '\\'' ) ) '\\'' )
// org/antlr/grammar/v3/ANTLRv3.g:568:4: '\\'' ( ACTION_ESC | ~ ( '\\\\' | '\\'' ) ) '\\''
{
match('\'');
// org/antlr/grammar/v3/ANTLRv3.g:568:9: ( ACTION_ESC | ~ ( '\\\\' | '\\'' ) )
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 :
// org/antlr/grammar/v3/ANTLRv3.g:568:10: ACTION_ESC
{
mACTION_ESC();
}
break;
case 2 :
// org/antlr/grammar/v3/ANTLRv3.g:568:21: ~ ( '\\\\' | '\\'' )
{
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 {
}
}
// $ANTLR end "ACTION_CHAR_LITERAL"
// $ANTLR start "ACTION_STRING_LITERAL"
public final void mACTION_STRING_LITERAL() throws RecognitionException {
try {
// org/antlr/grammar/v3/ANTLRv3.g:573:2: ( '\"' ( ACTION_ESC | ~ ( '\\\\' | '\"' ) )* '\"' )
// org/antlr/grammar/v3/ANTLRv3.g:573:4: '\"' ( ACTION_ESC | ~ ( '\\\\' | '\"' ) )* '\"'
{
match('\"');
// org/antlr/grammar/v3/ANTLRv3.g:573:8: ( ACTION_ESC | ~ ( '\\\\' | '\"' ) )*
loop15:
do {
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 :
// org/antlr/grammar/v3/ANTLRv3.g:573:9: ACTION_ESC
{
mACTION_ESC();
}
break;
case 2 :
// org/antlr/grammar/v3/ANTLRv3.g:573:20: ~ ( '\\\\' | '\"' )
{
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;
}
} while (true);
match('\"');
}
}
finally {
}
}
// $ANTLR end "ACTION_STRING_LITERAL"
// $ANTLR start "ACTION_ESC"
public final void mACTION_ESC() throws RecognitionException {
try {
// org/antlr/grammar/v3/ANTLRv3.g:578:2: ( '\\\\\\'' | '\\\\' '\"' | '\\\\' ~ ( '\\'' | '\"' ) )
int alt16=3;
switch ( input.LA(1) ) {
case '\\':
{
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 {
NoViableAltException nvae =
new NoViableAltException("", 16, 1, input);
throw nvae;
}
}
break;
default:
NoViableAltException nvae =
new NoViableAltException("", 16, 0, input);
throw nvae;
}
switch (alt16) {
case 1 :
// org/antlr/grammar/v3/ANTLRv3.g:578:4: '\\\\\\''
{
match("\\'");
}
break;
case 2 :
// org/antlr/grammar/v3/ANTLRv3.g:579:4: '\\\\' '\"'
{
match('\\');
match('\"');
}
break;
case 3 :
// org/antlr/grammar/v3/ANTLRv3.g:580:4: '\\\\' ~ ( '\\'' | '\"' )
{
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 {
}
}
// $ANTLR end "ACTION_ESC"
// $ANTLR start "TOKEN_REF"
public final void mTOKEN_REF() throws RecognitionException {
try {
int _type = TOKEN_REF;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:584:2: ( 'A' .. 'Z' ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
// org/antlr/grammar/v3/ANTLRv3.g:584:4: 'A' .. 'Z' ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
matchRange('A','Z');
// org/antlr/grammar/v3/ANTLRv3.g:584:13: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
loop17:
do {
int alt17=2;
switch ( input.LA(1) ) {
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9':
case 'A':
case 'B':
case 'C':
case 'D':
case 'E':
case 'F':
case 'G':
case 'H':
case 'I':
case 'J':
case 'K':
case 'L':
case 'M':
case 'N':
case 'O':
case 'P':
case 'Q':
case 'R':
case 'S':
case 'T':
case 'U':
case 'V':
case 'W':
case 'X':
case 'Y':
case 'Z':
case '_':
case 'a':
case 'b':
case 'c':
case 'd':
case 'e':
case 'f':
case 'g':
case 'h':
case 'i':
case 'j':
case 'k':
case 'l':
case 'm':
case 'n':
case 'o':
case 'p':
case 'q':
case 'r':
case 's':
case 't':
case 'u':
case 'v':
case 'w':
case 'x':
case 'y':
case 'z':
{
alt17=1;
}
break;
}
switch (alt17) {
case 1 :
// org/antlr/grammar/v3/ANTLRv3.g:
{
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;
}
} while (true);
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "TOKEN_REF"
// $ANTLR start "RULE_REF"
public final void mRULE_REF() throws RecognitionException {
try {
int _type = RULE_REF;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:588:2: ( 'a' .. 'z' ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
// org/antlr/grammar/v3/ANTLRv3.g:588:4: 'a' .. 'z' ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
matchRange('a','z');
// org/antlr/grammar/v3/ANTLRv3.g:588:13: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
loop18:
do {
int alt18=2;
switch ( input.LA(1) ) {
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9':
case 'A':
case 'B':
case 'C':
case 'D':
case 'E':
case 'F':
case 'G':
case 'H':
case 'I':
case 'J':
case 'K':
case 'L':
case 'M':
case 'N':
case 'O':
case 'P':
case 'Q':
case 'R':
case 'S':
case 'T':
case 'U':
case 'V':
case 'W':
case 'X':
case 'Y':
case 'Z':
case '_':
case 'a':
case 'b':
case 'c':
case 'd':
case 'e':
case 'f':
case 'g':
case 'h':
case 'i':
case 'j':
case 'k':
case 'l':
case 'm':
case 'n':
case 'o':
case 'p':
case 'q':
case 'r':
case 's':
case 't':
case 'u':
case 'v':
case 'w':
case 'x':
case 'y':
case 'z':
{
alt18=1;
}
break;
}
switch (alt18) {
case 1 :
// org/antlr/grammar/v3/ANTLRv3.g:
{
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;
}
} while (true);
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "RULE_REF"
// $ANTLR start "OPTIONS"
public final void mOPTIONS() throws RecognitionException {
try {
int _type = OPTIONS;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:595:2: ( 'options' WS_LOOP '{' )
// org/antlr/grammar/v3/ANTLRv3.g:595:4: 'options' WS_LOOP '{'
{
match("options");
mWS_LOOP();
match('{');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "OPTIONS"
// $ANTLR start "TOKENS"
public final void mTOKENS() throws RecognitionException {
try {
int _type = TOKENS;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:599:2: ( 'tokens' WS_LOOP '{' )
// org/antlr/grammar/v3/ANTLRv3.g:599:4: 'tokens' WS_LOOP '{'
{
match("tokens");
mWS_LOOP();
match('{');
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "TOKENS"
// $ANTLR start "SRC"
public final void mSRC() throws RecognitionException {
try {
CommonToken file=null;
CommonToken line=null;
// org/antlr/grammar/v3/ANTLRv3.g:607:5: ( 'src' ' ' file= ACTION_STRING_LITERAL ' ' line= INT )
// org/antlr/grammar/v3/ANTLRv3.g:607:7: 'src' ' ' file= ACTION_STRING_LITERAL ' ' line= INT
{
match("src");
match(' ');
int fileStart997 = getCharIndex();
mACTION_STRING_LITERAL();
file = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, fileStart997, getCharIndex()-1);
match(' ');
int lineStart1003 = getCharIndex();
mINT();
line = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, lineStart1003, getCharIndex()-1);
}
}
finally {
}
}
// $ANTLR end "SRC"
// $ANTLR start "WS"
public final void mWS() throws RecognitionException {
try {
int _type = WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
// org/antlr/grammar/v3/ANTLRv3.g:610:4: ( ( ' ' | '\\t' | ( '\\r' )? '\\n' )+ )
// org/antlr/grammar/v3/ANTLRv3.g:610:6: ( ' ' | '\\t' | ( '\\r' )? '\\n' )+
{
// org/antlr/grammar/v3/ANTLRv3.g:610:6: ( ' ' | '\\t' | ( '\\r' )? '\\n' )+
int cnt20=0;
loop20:
do {
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 :
// org/antlr/grammar/v3/ANTLRv3.g:610:8: ' '
{
match(' ');
}
break;
case 2 :
// org/antlr/grammar/v3/ANTLRv3.g:611:5: '\\t'
{
match('\t');
}
break;
case 3 :
// org/antlr/grammar/v3/ANTLRv3.g:612:5: ( '\\r' )? '\\n'
{
// org/antlr/grammar/v3/ANTLRv3.g:612:5: ( '\\r' )?
int alt19=2;
switch ( input.LA(1) ) {
case '\r':
{
alt19=1;
}
break;
}
switch (alt19) {
case 1 :
// org/antlr/grammar/v3/ANTLRv3.g:612:5: '\\r'
{
match('\r');
}
break;
}
match('\n');
}
break;
default :
if ( cnt20 >= 1 ) break loop20;
EarlyExitException eee =
new EarlyExitException(20, input);
throw eee;
}
cnt20++;
} while (true);
_channel=HIDDEN;
}
state.type = _type;
state.channel = _channel;
}
finally {
}
}
// $ANTLR end "WS"
// $ANTLR start "WS_LOOP"
public final void mWS_LOOP() throws RecognitionException {
try {
// org/antlr/grammar/v3/ANTLRv3.g:619:2: ( ( WS | SL_COMMENT | ML_COMMENT )* )
// org/antlr/grammar/v3/ANTLRv3.g:619:4: ( WS | SL_COMMENT | ML_COMMENT )*
{
// org/antlr/grammar/v3/ANTLRv3.g:619:4: ( WS | SL_COMMENT | ML_COMMENT )*
loop21:
do {
int alt21=4;
switch ( input.LA(1) ) {
case '\t':
case '\n':
case '\r':
case ' ':
{
alt21=1;
}
break;
case '/':
{
switch ( input.LA(2) ) {
case '/':
{
alt21=2;
}
break;
case '*':
{
alt21=3;
}
break;
}
}
break;
}
switch (alt21) {
case 1 :
// org/antlr/grammar/v3/ANTLRv3.g:619:6: WS
{
mWS();
}
break;
case 2 :
// org/antlr/grammar/v3/ANTLRv3.g:620:5: SL_COMMENT
{
mSL_COMMENT();
}
break;
case 3 :
// org/antlr/grammar/v3/ANTLRv3.g:621:5: ML_COMMENT
{
mML_COMMENT();
}
break;
default :
break loop21;
}
} while (true);
}
}
finally {
}
}
// $ANTLR end "WS_LOOP"
public void mTokens() throws RecognitionException {
// org/antlr/grammar/v3/ANTLRv3.g:1:8: ( RET | SCOPE | FRAGMENT | TREE_BEGIN | ROOT | BANG | RANGE | REWRITE | AT | LABEL_ASSIGN | LIST_LABEL_ASSIGN | 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 )
int alt22=52;
alt22 = dfa22.predict(input);
switch (alt22) {
case 1 :
// org/antlr/grammar/v3/ANTLRv3.g:1:10: RET
{
mRET();
}
break;
case 2 :
// org/antlr/grammar/v3/ANTLRv3.g:1:14: SCOPE
{
mSCOPE();
}
break;
case 3 :
// org/antlr/grammar/v3/ANTLRv3.g:1:20: FRAGMENT
{
mFRAGMENT();
}
break;
case 4 :
// org/antlr/grammar/v3/ANTLRv3.g:1:29: TREE_BEGIN
{
mTREE_BEGIN();
}
break;
case 5 :
// org/antlr/grammar/v3/ANTLRv3.g:1:40: ROOT
{
mROOT();
}
break;
case 6 :
// org/antlr/grammar/v3/ANTLRv3.g:1:45: BANG
{
mBANG();
}
break;
case 7 :
// org/antlr/grammar/v3/ANTLRv3.g:1:50: RANGE
{
mRANGE();
}
break;
case 8 :
// org/antlr/grammar/v3/ANTLRv3.g:1:56: REWRITE
{
mREWRITE();
}
break;
case 9 :
// org/antlr/grammar/v3/ANTLRv3.g:1:64: AT
{
mAT();
}
break;
case 10 :
// org/antlr/grammar/v3/ANTLRv3.g:1:67: LABEL_ASSIGN
{
mLABEL_ASSIGN();
}
break;
case 11 :
// org/antlr/grammar/v3/ANTLRv3.g:1:80: LIST_LABEL_ASSIGN
{
mLIST_LABEL_ASSIGN();
}
break;
case 12 :
// org/antlr/grammar/v3/ANTLRv3.g:1:98: T__67
{
mT__67();
}
break;
case 13 :
// org/antlr/grammar/v3/ANTLRv3.g:1:104: T__68
{
mT__68();
}
break;
case 14 :
// org/antlr/grammar/v3/ANTLRv3.g:1:110: T__69
{
mT__69();
}
break;
case 15 :
// org/antlr/grammar/v3/ANTLRv3.g:1:116: T__70
{
mT__70();
}
break;
case 16 :
// org/antlr/grammar/v3/ANTLRv3.g:1:122: T__71
{
mT__71();
}
break;
case 17 :
// org/antlr/grammar/v3/ANTLRv3.g:1:128: T__72
{
mT__72();
}
break;
case 18 :
// org/antlr/grammar/v3/ANTLRv3.g:1:134: T__73
{
mT__73();
}
break;
case 19 :
// org/antlr/grammar/v3/ANTLRv3.g:1:140: T__74
{
mT__74();
}
break;
case 20 :
// org/antlr/grammar/v3/ANTLRv3.g:1:146: T__75
{
mT__75();
}
break;
case 21 :
// org/antlr/grammar/v3/ANTLRv3.g:1:152: T__76
{
mT__76();
}
break;
case 22 :
// org/antlr/grammar/v3/ANTLRv3.g:1:158: T__77
{
mT__77();
}
break;
case 23 :
// org/antlr/grammar/v3/ANTLRv3.g:1:164: T__78
{
mT__78();
}
break;
case 24 :
// org/antlr/grammar/v3/ANTLRv3.g:1:170: T__79
{
mT__79();
}
break;
case 25 :
// org/antlr/grammar/v3/ANTLRv3.g:1:176: T__80
{
mT__80();
}
break;
case 26 :
// org/antlr/grammar/v3/ANTLRv3.g:1:182: T__81
{
mT__81();
}
break;
case 27 :
// org/antlr/grammar/v3/ANTLRv3.g:1:188: T__82
{
mT__82();
}
break;
case 28 :
// org/antlr/grammar/v3/ANTLRv3.g:1:194: T__83
{
mT__83();
}
break;
case 29 :
// org/antlr/grammar/v3/ANTLRv3.g:1:200: T__84
{
mT__84();
}
break;
case 30 :
// org/antlr/grammar/v3/ANTLRv3.g:1:206: T__85
{
mT__85();
}
break;
case 31 :
// org/antlr/grammar/v3/ANTLRv3.g:1:212: T__86
{
mT__86();
}
break;
case 32 :
// org/antlr/grammar/v3/ANTLRv3.g:1:218: T__87
{
mT__87();
}
break;
case 33 :
// org/antlr/grammar/v3/ANTLRv3.g:1:224: T__88
{
mT__88();
}
break;
case 34 :
// org/antlr/grammar/v3/ANTLRv3.g:1:230: T__89
{
mT__89();
}
break;
case 35 :
// org/antlr/grammar/v3/ANTLRv3.g:1:236: T__90
{
mT__90();
}
break;
case 36 :
// org/antlr/grammar/v3/ANTLRv3.g:1:242: T__91
{
mT__91();
}
break;
case 37 :
// org/antlr/grammar/v3/ANTLRv3.g:1:248: T__92
{
mT__92();
}
break;
case 38 :
// org/antlr/grammar/v3/ANTLRv3.g:1:254: T__93
{
mT__93();
}
break;
case 39 :
// org/antlr/grammar/v3/ANTLRv3.g:1:260: SL_COMMENT
{
mSL_COMMENT();
}
break;
case 40 :
// org/antlr/grammar/v3/ANTLRv3.g:1:271: ML_COMMENT
{
mML_COMMENT();
}
break;
case 41 :
// org/antlr/grammar/v3/ANTLRv3.g:1:282: CHAR_LITERAL
{
mCHAR_LITERAL();
}
break;
case 42 :
// org/antlr/grammar/v3/ANTLRv3.g:1:295: STRING_LITERAL
{
mSTRING_LITERAL();
}
break;
case 43 :
// org/antlr/grammar/v3/ANTLRv3.g:1:310: DOUBLE_QUOTE_STRING_LITERAL
{
mDOUBLE_QUOTE_STRING_LITERAL();
}
break;
case 44 :
// org/antlr/grammar/v3/ANTLRv3.g:1:338: DOUBLE_ANGLE_STRING_LITERAL
{
mDOUBLE_ANGLE_STRING_LITERAL();
}
break;
case 45 :
// org/antlr/grammar/v3/ANTLRv3.g:1:366: INT
{
mINT();
}
break;
case 46 :
// org/antlr/grammar/v3/ANTLRv3.g:1:370: ARG_ACTION
{
mARG_ACTION();
}
break;
case 47 :
// org/antlr/grammar/v3/ANTLRv3.g:1:381: ACTION
{
mACTION();
}
break;
case 48 :
// org/antlr/grammar/v3/ANTLRv3.g:1:388: TOKEN_REF
{
mTOKEN_REF();
}
break;
case 49 :
// org/antlr/grammar/v3/ANTLRv3.g:1:398: RULE_REF
{
mRULE_REF();
}
break;
case 50 :
// org/antlr/grammar/v3/ANTLRv3.g:1:407: OPTIONS
{
mOPTIONS();
}
break;
case 51 :
// org/antlr/grammar/v3/ANTLRv3.g:1:415: TOKENS
{
mTOKENS();
}
break;
case 52 :
// org/antlr/grammar/v3/ANTLRv3.g:1:422: WS
{
mWS();
}
break;
}
}
protected DFA2 dfa2 = new DFA2(this);
protected DFA9 dfa9 = new DFA9(this);
protected DFA13 dfa13 = new DFA13(this);
protected DFA22 dfa22 = new DFA22(this);
static final String DFA2_eotS =
"\20\uffff\1\2\7\uffff\1\2\3\uffff";
static final String DFA2_eofS =
"\34\uffff";
static final String DFA2_minS =
"\2\0\1\uffff\21\0\1\uffff\6\0\1\uffff";
static final String DFA2_maxS =
"\2\uffff\1\uffff\21\uffff\1\uffff\6\uffff\1\uffff";
static final String DFA2_acceptS =
"\2\uffff\1\2\21\uffff\1\1\6\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\5\1\11\1\6\1\4\1\7\1\uffff\1\20\1\26\1\3\1\24\1\15"+
"\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\22\1\20\2\22\1\17\24\22\1\23\71\22\1\21\uffa3\22",
"\12\24\1\20\ufff5\24",
"\0\24",
"\12\31\1\30\2\31\1\27\24\31\1\26\4\31\1\25\uffd8\31",
"\12\22\1\20\2\22\1\17\24\22\1\23\71\22\1\21\uffa3\22",
"\40\2\1\32\uffdf\2",
"",
"\12\22\1\20\2\22\1\17\24\22\1\23\71\22\1\21\uffa3\22",
"\12\22\1\20\2\22\1\17\24\22\1\23\71\22\1\21\uffa3\22",
"\12\24\1\20\ufff5\24",
"\0\24",
"\12\22\1\20\2\22\1\17\24\22\1\23\71\22\1\21\uffa3\22",
"\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='\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_23 = input.LA(1);
s = -1;
if ( (LA2_23=='\n') ) {s = 16;}
else if ( ((LA2_23>='\u0000' && LA2_23<='\t')||(LA2_23>='\u000B' && LA2_23<='\uFFFF')) ) {s = 20;}
if ( s>=0 ) return s;
break;
case 4 :
int LA2_18 = input.LA(1);
s = -1;
if ( (LA2_18=='\"') ) {s = 19;}
else if ( (LA2_18=='\\') ) {s = 17;}
else if ( (LA2_18=='\r') ) {s = 15;}
else if ( (LA2_18=='\n') ) {s = 16;}
else if ( ((LA2_18>='\u0000' && LA2_18<='\t')||(LA2_18>='\u000B' && LA2_18<='\f')||(LA2_18>='\u000E' && LA2_18<='!')||(LA2_18>='#' && LA2_18<='[')||(LA2_18>=']' && LA2_18<='\uFFFF')) ) {s = 18;}
if ( s>=0 ) return s;
break;
case 5 :
int LA2_15 = input.LA(1);
s = -1;
if ( (LA2_15=='\n') ) {s = 16;}
else if ( ((LA2_15>='\u0000' && LA2_15<='\t')||(LA2_15>='\u000B' && LA2_15<='\uFFFF')) ) {s = 20;}
if ( s>=0 ) return s;
break;
case 6 :
int LA2_17 = input.LA(1);
s = -1;
if ( (LA2_17=='\'') ) {s = 21;}
else if ( (LA2_17=='\"') ) {s = 22;}
else if ( (LA2_17=='\r') ) {s = 23;}
else if ( (LA2_17=='\n') ) {s = 24;}
else if ( ((LA2_17>='\u0000' && LA2_17<='\t')||(LA2_17>='\u000B' && LA2_17<='\f')||(LA2_17>='\u000E' && LA2_17<='!')||(LA2_17>='#' && LA2_17<='&')||(LA2_17>='(' && LA2_17<='\uFFFF')) ) {s = 25;}
if ( s>=0 ) return s;
break;
case 7 :
int LA2_19 = input.LA(1);
s = -1;
if ( ((LA2_19>='\u0000' && LA2_19<='\u001F')||(LA2_19>='!' && LA2_19<='\uFFFF')) ) {s = 2;}
else if ( (LA2_19==' ') ) {s = 26;}
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_16 = input.LA(1);
s = -1;
if ( ((LA2_16>='\u0000' && LA2_16<='\uFFFF')) ) {s = 20;}
else s = 2;
if ( s>=0 ) return s;
break;
case 10 :
int LA2_14 = input.LA(1);
s = -1;
if ( (LA2_14=='\r') ) {s = 15;}
else if ( (LA2_14=='\n') ) {s = 16;}
else if ( (LA2_14=='\\') ) {s = 17;}
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 = 18;}
else if ( (LA2_14=='\"') ) {s = 19;}
if ( s>=0 ) return s;
break;
case 11 :
int LA2_13 = input.LA(1);
s = -1;
if ( ((LA2_13>='\u0000' && LA2_13<='!')||(LA2_13>='#' && LA2_13<='\uFFFF')) ) {s = 2;}
else if ( (LA2_13=='\"') ) {s = 14;}
if ( s>=0 ) return s;
break;
case 12 :
int LA2_26 = input.LA(1);
s = -1;
if ( ((LA2_26>='\u0000' && LA2_26<='/')||(LA2_26>=':' && LA2_26<='\uFFFF')) ) {s = 2;}
else if ( ((LA2_26>='0' && LA2_26<='9')) ) {s = 27;}
if ( s>=0 ) return s;
break;
case 13 :
int LA2_25 = input.LA(1);
s = -1;
if ( (LA2_25=='\"') ) {s = 19;}
else if ( (LA2_25=='\\') ) {s = 17;}
else if ( (LA2_25=='\r') ) {s = 15;}
else if ( (LA2_25=='\n') ) {s = 16;}
else if ( ((LA2_25>='\u0000' && LA2_25<='\t')||(LA2_25>='\u000B' && LA2_25<='\f')||(LA2_25>='\u000E' && LA2_25<='!')||(LA2_25>='#' && LA2_25<='[')||(LA2_25>=']' && LA2_25<='\uFFFF')) ) {s = 18;}
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_21 = input.LA(1);
s = -1;
if ( (LA2_21=='\r') ) {s = 15;}
else if ( (LA2_21=='\n') ) {s = 16;}
else if ( (LA2_21=='\"') ) {s = 19;}
else if ( (LA2_21=='\\') ) {s = 17;}
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 = 18;}
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_24 = input.LA(1);
s = -1;
if ( ((LA2_24>='\u0000' && LA2_24<='\uFFFF')) ) {s = 20;}
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_22 = input.LA(1);
s = -1;
if ( (LA2_22=='\r') ) {s = 15;}
else if ( (LA2_22=='\n') ) {s = 16;}
else if ( (LA2_22=='\"') ) {s = 19;}
else if ( (LA2_22=='\\') ) {s = 17;}
else if ( ((LA2_22>='\u0000' && LA2_22<='\t')||(LA2_22>='\u000B' && LA2_22<='\f')||(LA2_22>='\u000E' && LA2_22<='!')||(LA2_22>='#' && LA2_22<='[')||(LA2_22>=']' && LA2_22<='\uFFFF')) ) {s = 18;}
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 DFA9_eotS =
"\12\uffff\1\13\2\uffff";
static final String DFA9_eofS =
"\15\uffff";
static final String DFA9_minS =
"\1\0\11\uffff\1\60\2\uffff";
static final String DFA9_maxS =
"\1\uffff\11\uffff\1\146\2\uffff";
static final String DFA9_acceptS =
"\1\uffff\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\uffff\1\13\1\12";
static final String DFA9_specialS =
"\1\0\14\uffff}>";
static final String[] DFA9_transitionS = {
"\42\13\1\6\4\13\1\7\26\13\1\11\35\13\1\10\5\13\1\4\3\13\1\5"+
"\7\13\1\1\3\13\1\2\1\13\1\3\1\12\uff8a\13",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"\12\14\7\uffff\6\14\32\uffff\6\14",
"",
""
};
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' | 'u' XDIGIT XDIGIT XDIGIT XDIGIT | . )";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
IntStream input = _input;
int _s = s;
switch ( s ) {
case 0 :
int LA9_0 = input.LA(1);
s = -1;
if ( (LA9_0=='n') ) {s = 1;}
else if ( (LA9_0=='r') ) {s = 2;}
else if ( (LA9_0=='t') ) {s = 3;}
else if ( (LA9_0=='b') ) {s = 4;}
else if ( (LA9_0=='f') ) {s = 5;}
else if ( (LA9_0=='\"') ) {s = 6;}
else if ( (LA9_0=='\'') ) {s = 7;}
else if ( (LA9_0=='\\') ) {s = 8;}
else if ( (LA9_0=='>') ) {s = 9;}
else if ( (LA9_0=='u') ) {s = 10;}
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')) ) {s = 11;}
if ( s>=0 ) return s;
break;
}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 9, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA13_eotS =
"\34\uffff";
static final String DFA13_eofS =
"\34\uffff";
static final String DFA13_minS =
"\1\0\2\uffff\3\0\26\uffff";
static final String DFA13_maxS =
"\1\uffff\2\uffff\3\uffff\26\uffff";
static final String DFA13_acceptS =
"\1\uffff\1\7\1\1\3\uffff\1\6\1\2\1\3\5\uffff\7\4\6\5\1\uffff";
static final String DFA13_specialS =
"\1\0\2\uffff\1\1\1\2\1\3\26\uffff}>";
static final String[] DFA13_transitionS = {
"\42\6\1\4\4\6\1\5\7\6\1\3\113\6\1\2\1\6\1\1\uff82\6",
"",
"",
"\52\6\1\10\4\6\1\7\uffd0\6",
"\42\24\1\21\4\24\1\22\7\24\1\20\54\24\1\23\36\24\1\17\1\24"+
"\1\16\uff82\24",
"\42\32\1\31\4\32\1\6\7\32\1\30\54\32\1\25\36\32\1\27\1\32\1"+
"\26\uff82\32",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA13_eot = DFA.unpackEncodedString(DFA13_eotS);
static final short[] DFA13_eof = DFA.unpackEncodedString(DFA13_eofS);
static final char[] DFA13_min = DFA.unpackEncodedStringToUnsignedChars(DFA13_minS);
static final char[] DFA13_max = DFA.unpackEncodedStringToUnsignedChars(DFA13_maxS);
static final short[] DFA13_accept = DFA.unpackEncodedString(DFA13_acceptS);
static final short[] DFA13_special = DFA.unpackEncodedString(DFA13_specialS);
static final short[][] DFA13_transition;
static {
int numStates = DFA13_transitionS.length;
DFA13_transition = new short[numStates][];
for (int i=0; i='\u0000' && LA13_0<='!')||(LA13_0>='#' && LA13_0<='&')||(LA13_0>='(' && LA13_0<='.')||(LA13_0>='0' && LA13_0<='z')||LA13_0=='|'||(LA13_0>='~' && LA13_0<='\uFFFF')) ) {s = 6;}
if ( s>=0 ) return s;
break;
case 1 :
int LA13_3 = input.LA(1);
s = -1;
if ( (LA13_3=='/') ) {s = 7;}
else if ( (LA13_3=='*') ) {s = 8;}
else if ( ((LA13_3>='\u0000' && LA13_3<=')')||(LA13_3>='+' && LA13_3<='.')||(LA13_3>='0' && LA13_3<='\uFFFF')) ) {s = 6;}
if ( s>=0 ) return s;
break;
case 2 :
int LA13_4 = input.LA(1);
s = -1;
if ( (LA13_4=='}') ) {s = 14;}
else if ( (LA13_4=='{') ) {s = 15;}
else if ( (LA13_4=='/') ) {s = 16;}
else if ( (LA13_4=='\"') ) {s = 17;}
else if ( (LA13_4=='\'') ) {s = 18;}
else if ( (LA13_4=='\\') ) {s = 19;}
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')) ) {s = 20;}
if ( s>=0 ) return s;
break;
case 3 :
int LA13_5 = input.LA(1);
s = -1;
if ( (LA13_5=='\\') ) {s = 21;}
else if ( (LA13_5=='}') ) {s = 22;}
else if ( (LA13_5=='{') ) {s = 23;}
else if ( (LA13_5=='/') ) {s = 24;}
else if ( (LA13_5=='\"') ) {s = 25;}
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')) ) {s = 26;}
else if ( (LA13_5=='\'') ) {s = 6;}
if ( s>=0 ) return s;
break;
}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 13, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA22_eotS =
"\1\uffff\3\45\1\54\1\uffff\1\56\2\uffff\1\60\1\62\4\45\2\uffff\1"+
"\74\5\uffff\1\45\1\uffff\1\77\12\uffff\1\45\2\uffff\4\45\10\uffff"+
"\10\45\2\uffff\1\45\6\uffff\17\45\15\uffff\12\45\1\173\4\45\2\uffff"+
"\2\45\1\u0083\2\45\1\u0086\4\45\1\uffff\3\45\1\u008e\1\uffff\2\45"+
"\1\uffff\2\45\1\uffff\1\u0094\2\45\1\u0097\1\u0098\2\45\2\uffff"+
"\1\45\1\u009d\1\45\1\u009f\1\uffff\1\45\1\u00a1\3\uffff\1\u00a2"+
"\1\uffff\1\45\1\uffff\1\u00a4\1\uffff\1\45\4\uffff\1\u00a6\1\uffff";
static final String DFA22_eofS =
"\u00a7\uffff";
static final String DFA22_minS =
"\1\11\1\145\1\143\1\151\1\50\1\uffff\1\56\2\uffff\1\76\1\75\1\145"+
"\1\141\1\150\1\162\2\uffff\1\72\5\uffff\1\141\1\uffff\1\74\3\uffff"+
"\1\52\1\0\5\uffff\1\160\2\uffff\1\164\1\157\1\141\1\156\10\uffff"+
"\1\170\1\162\1\151\1\142\1\145\1\162\1\153\1\141\2\uffff\1\164\4"+
"\uffff\2\0\1\164\1\165\1\160\1\147\1\141\1\145\1\163\1\164\1\166"+
"\1\154\1\145\1\157\1\145\1\155\1\143\13\0\2\uffff\1\151\1\162\1"+
"\145\1\155\1\154\1\162\2\145\1\141\1\151\1\60\1\167\1\156\1\155"+
"\1\150\1\0\1\uffff\1\157\1\156\1\60\1\145\1\154\1\60\1\162\1\143"+
"\1\164\1\143\1\uffff\2\163\1\141\1\60\1\0\1\156\1\163\1\uffff\1"+
"\156\1\171\1\uffff\1\60\1\164\1\145\2\60\1\11\1\162\1\uffff\1\0"+
"\1\163\1\60\1\164\1\60\1\uffff\1\145\1\60\3\uffff\1\60\1\0\1\11"+
"\1\uffff\1\60\1\uffff\1\144\4\uffff\1\60\1\uffff";
static final String DFA22_maxS =
"\1\176\1\145\1\143\1\162\1\50\1\uffff\1\56\2\uffff\1\76\1\75\1\145"+
"\1\165\2\162\2\uffff\1\72\5\uffff\1\141\1\uffff\1\74\3\uffff\1\57"+
"\1\uffff\5\uffff\1\160\2\uffff\1\164\1\157\1\141\1\156\10\uffff"+
"\1\170\1\162\1\157\1\142\1\145\1\162\1\153\1\141\2\uffff\1\164\4"+
"\uffff\2\uffff\1\164\1\165\1\160\1\147\1\141\1\145\1\163\1\164\1"+
"\166\1\154\1\145\1\157\1\145\1\155\1\143\13\uffff\2\uffff\1\151"+
"\1\162\1\145\1\155\1\154\1\162\2\145\1\141\1\151\1\172\1\167\1\156"+
"\1\155\1\150\1\uffff\1\uffff\1\157\1\156\1\172\1\145\1\154\1\172"+
"\1\162\1\143\1\164\1\143\1\uffff\2\163\1\141\1\172\1\uffff\1\156"+
"\1\163\1\uffff\1\156\1\171\1\uffff\1\172\1\164\1\145\2\172\1\173"+
"\1\162\1\uffff\1\uffff\1\163\1\172\1\164\1\172\1\uffff\1\145\1\172"+
"\3\uffff\1\172\1\uffff\1\173\1\uffff\1\172\1\uffff\1\144\4\uffff"+
"\1\172\1\uffff";
static final String DFA22_acceptS =
"\5\uffff\1\6\1\uffff\1\10\1\11\6\uffff\1\20\1\21\1\uffff\1\23\1"+
"\31\1\32\1\33\1\34\1\uffff\1\40\1\uffff\1\42\1\44\1\46\2\uffff\1"+
"\53\1\55\1\56\1\57\1\60\1\uffff\1\61\1\64\4\uffff\1\4\1\5\1\7\1"+
"\43\1\37\1\12\1\13\1\45\10\uffff\1\22\1\27\1\uffff\1\54\1\41\1\47"+
"\1\50\34\uffff\1\52\1\51\20\uffff\1\51\12\uffff\1\16\7\uffff\1\2"+
"\2\uffff\1\14\7\uffff\1\35\5\uffff\1\15\2\uffff\1\25\1\30\1\63\3"+
"\uffff\1\1\1\uffff\1\36\1\uffff\1\26\1\17\1\62\1\3\1\uffff\1\24";
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\5\1\37\1\uffff\1\34\2\uffff"+
"\1\36\1\24\1\26\1\22\1\12\1\23\1\7\1\6\1\35\12\40\1\21\1\17"+
"\1\31\1\11\1\32\1\33\1\10\32\43\1\41\2\uffff\1\4\2\uffff\2\45"+
"\1\27\2\45\1\3\1\16\4\45\1\13\2\45\1\44\1\14\1\45\1\1\1\2\1"+
"\15\6\45\1\42\1\25\1\20\1\30",
"\1\47",
"\1\50",
"\1\52\10\uffff\1\51",
"\1\53",
"",
"\1\55",
"",
"",
"\1\57",
"\1\61",
"\1\63",
"\1\64\20\uffff\1\65\2\uffff\1\66",
"\1\70\6\uffff\1\71\2\uffff\1\67",
"\1\72",
"",
"",
"\1\73",
"",
"",
"",
"",
"",
"\1\75",
"",
"\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\114\5\uffff\1\113",
"\1\115",
"\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\136\1\137\uffd8\136",
"\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\136\1\137\uffd8\136",
"\47\136\1\137\uffd8\136",
"\47\136\1\137\uffd8\136",
"\47\136\1\137\uffd8\136",
"\47\136\1\137\uffd8\136",
"\47\136\1\137\uffd8\136",
"\47\136\1\137\uffd8\136",
"\47\136\1\137\uffd8\136",
"\47\136\1\137\uffd8\136",
"\47\136\1\137\10\136\12\157\7\136\6\157\32\136\6\157\uff99"+
"\136",
"\47\136\1\137\uffd8\136",
"",
"",
"\1\161",
"\1\162",
"\1\163",
"\1\164",
"\1\165",
"\1\166",
"\1\167",
"\1\170",
"\1\171",
"\1\172",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\1\174",
"\1\175",
"\1\176",
"\1\177",
"\60\136\12\u0080\7\136\6\u0080\32\136\6\u0080\uff99\136",
"",
"\1\u0081",
"\1\u0082",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\1\u0084",
"\1\u0085",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\1\u0087",
"\1\u0088",
"\1\u0089",
"\1\u008a",
"",
"\1\u008b",
"\1\u008c",
"\1\u008d",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\60\136\12\u008f\7\136\6\u008f\32\136\6\u008f\uff99\136",
"\1\u0090",
"\1\u0091",
"",
"\1\u0092",
"\1\u0093",
"",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\1\u0095",
"\1\u0096",
"\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\u0099\2\uffff\1\u0099\22\uffff\1\u0099\16\uffff\1\u0099"+
"\113\uffff\1\u0099",
"\1\u009a",
"",
"\60\136\12\u009b\7\136\6\u009b\32\136\6\u009b\uff99\136",
"\1\u009c",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"\1\u009e",
"\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
"",
"\1\u00a0",
"\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",
"\47\136\1\137\uffd8\136",
"\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='\u0000' && LA22_67<='&')||(LA22_67>='(' && LA22_67<='\uFFFF')) ) {s = 94;}
else if ( (LA22_67=='\'') ) {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 = 95;}
else if ( ((LA22_155>='\u0000' && LA22_155<='&')||(LA22_155>='(' && LA22_155<='\uFFFF')) ) {s = 94;}
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 = 95;}
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 = 94;}
if ( s>=0 ) return s;
break;
case 4 :
int LA22_88 = input.LA(1);
s = -1;
if ( (LA22_88=='\'') ) {s = 95;}
else if ( ((LA22_88>='\u0000' && LA22_88<='&')||(LA22_88>='(' && LA22_88<='\uFFFF')) ) {s = 94;}
if ( s>=0 ) return s;
break;
case 5 :
int LA22_89 = input.LA(1);
s = -1;
if ( (LA22_89=='\'') ) {s = 95;}
else if ( ((LA22_89>='\u0000' && LA22_89<='&')||(LA22_89>='(' && LA22_89<='\uFFFF')) ) {s = 94;}
if ( s>=0 ) return s;
break;
case 6 :
int LA22_90 = input.LA(1);
s = -1;
if ( ((LA22_90>='\u0000' && LA22_90<='&')||(LA22_90>='(' && LA22_90<='\uFFFF')) ) {s = 94;}
else if ( (LA22_90=='\'') ) {s = 95;}
if ( s>=0 ) return s;
break;
case 7 :
int LA22_91 = input.LA(1);
s = -1;
if ( ((LA22_91>='\u0000' && LA22_91<='&')||(LA22_91>='(' && LA22_91<='\uFFFF')) ) {s = 94;}
else if ( (LA22_91=='\'') ) {s = 95;}
if ( s>=0 ) return s;
break;
case 8 :
int LA22_93 = input.LA(1);
s = -1;
if ( (LA22_93=='\'') ) {s = 95;}
else if ( ((LA22_93>='\u0000' && LA22_93<='&')||(LA22_93>='(' && LA22_93<='\uFFFF')) ) {s = 94;}
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>='\u0000' && LA22_83<='&')||(LA22_83>='(' && LA22_83<='\uFFFF')) ) {s = 94;}
else if ( (LA22_83=='\'') ) {s = 95;}
if ( s>=0 ) return s;
break;
case 11 :
int LA22_85 = input.LA(1);
s = -1;
if ( ((LA22_85>='\u0000' && LA22_85<='&')||(LA22_85>='(' && LA22_85<='\uFFFF')) ) {s = 94;}
else if ( (LA22_85=='\'') ) {s = 95;}
if ( s>=0 ) return s;
break;
case 12 :
int LA22_111 = input.LA(1);
s = -1;
if ( ((LA22_111>='\u0000' && LA22_111<='/')||(LA22_111>=':' && LA22_111<='@')||(LA22_111>='G' && LA22_111<='`')||(LA22_111>='g' && LA22_111<='\uFFFF')) ) {s = 94;}
else if ( ((LA22_111>='0' && LA22_111<='9')||(LA22_111>='A' && LA22_111<='F')||(LA22_111>='a' && LA22_111<='f')) ) {s = 128;}
if ( s>=0 ) return s;
break;
case 13 :
int LA22_84 = input.LA(1);
s = -1;
if ( (LA22_84=='\'') ) {s = 95;}
else if ( ((LA22_84>='\u0000' && LA22_84<='&')||(LA22_84>='(' && LA22_84<='\uFFFF')) ) {s = 94;}
if ( s>=0 ) return s;
break;
case 14 :
int LA22_128 = input.LA(1);
s = -1;
if ( ((LA22_128>='\u0000' && LA22_128<='/')||(LA22_128>=':' && LA22_128<='@')||(LA22_128>='G' && LA22_128<='`')||(LA22_128>='g' && LA22_128<='\uFFFF')) ) {s = 94;}
else if ( ((LA22_128>='0' && LA22_128<='9')||(LA22_128>='A' && LA22_128<='F')||(LA22_128>='a' && LA22_128<='f')) ) {s = 143;}
if ( s>=0 ) return s;
break;
case 15 :
int LA22_87 = input.LA(1);
s = -1;
if ( (LA22_87=='\'') ) {s = 95;}
else if ( ((LA22_87>='\u0000' && LA22_87<='&')||(LA22_87>='(' && LA22_87<='\uFFFF')) ) {s = 94;}
if ( s>=0 ) return s;
break;
case 16 :
int LA22_143 = input.LA(1);
s = -1;
if ( ((LA22_143>='\u0000' && LA22_143<='/')||(LA22_143>=':' && LA22_143<='@')||(LA22_143>='G' && LA22_143<='`')||(LA22_143>='g' && LA22_143<='\uFFFF')) ) {s = 94;}
else if ( ((LA22_143>='0' && LA22_143<='9')||(LA22_143>='A' && LA22_143<='F')||(LA22_143>='a' && LA22_143<='f')) ) {s = 155;}
if ( s>=0 ) return s;
break;
case 17 :
int LA22_86 = input.LA(1);
s = -1;
if ( (LA22_86=='\'') ) {s = 95;}
else if ( ((LA22_86>='\u0000' && LA22_86<='&')||(LA22_86>='(' && LA22_86<='\uFFFF')) ) {s = 94;}
if ( s>=0 ) return s;
break;
}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 22, _s, input);
error(nvae);
throw nvae;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy