| package org.eclipse.efm.sew.xtext.parser.antlr.internal; |
| |
| // Hack: Use our own Lexer superclass by means of import. |
| // Currently there is no other way to specify the superclass for the lexer. |
| import org.eclipse.xtext.parser.antlr.Lexer; |
| |
| |
| import org.antlr.runtime.*; |
| import java.util.Stack; |
| import java.util.List; |
| import java.util.ArrayList; |
| |
| @SuppressWarnings("all") |
| public class InternalSEWLexer extends Lexer { |
| public static final int T__50=50; |
| public static final int RULE_CHARACTER=5; |
| public static final int T__19=19; |
| public static final int T__15=15; |
| public static final int T__59=59; |
| public static final int T__16=16; |
| public static final int T__17=17; |
| public static final int T__18=18; |
| public static final int T__55=55; |
| public static final int T__56=56; |
| public static final int T__57=57; |
| public static final int T__14=14; |
| public static final int T__58=58; |
| public static final int T__51=51; |
| public static final int T__52=52; |
| public static final int T__53=53; |
| public static final int T__54=54; |
| public static final int T__60=60; |
| public static final int T__61=61; |
| public static final int RULE_XIDENDIFIER=4; |
| public static final int RULE_ID=9; |
| public static final int T__26=26; |
| public static final int T__27=27; |
| public static final int T__28=28; |
| public static final int RULE_INT=6; |
| public static final int T__29=29; |
| public static final int T__22=22; |
| public static final int T__66=66; |
| public static final int RULE_ML_COMMENT=10; |
| public static final int T__23=23; |
| public static final int T__67=67; |
| public static final int T__24=24; |
| public static final int T__68=68; |
| public static final int T__25=25; |
| public static final int T__69=69; |
| public static final int T__62=62; |
| public static final int T__63=63; |
| public static final int T__20=20; |
| public static final int T__64=64; |
| public static final int T__21=21; |
| public static final int T__65=65; |
| public static final int T__70=70; |
| public static final int T__71=71; |
| public static final int T__72=72; |
| public static final int RULE_STRING=7; |
| public static final int RULE_SL_COMMENT=11; |
| public static final int T__37=37; |
| public static final int T__38=38; |
| public static final int T__39=39; |
| public static final int T__33=33; |
| public static final int T__77=77; |
| public static final int T__34=34; |
| public static final int T__78=78; |
| public static final int T__35=35; |
| public static final int T__79=79; |
| public static final int T__36=36; |
| public static final int T__73=73; |
| public static final int EOF=-1; |
| public static final int T__30=30; |
| public static final int T__74=74; |
| public static final int T__31=31; |
| public static final int T__75=75; |
| public static final int T__32=32; |
| public static final int T__76=76; |
| public static final int T__80=80; |
| public static final int RULE_WS=12; |
| public static final int RULE_ANY_OTHER=13; |
| public static final int RULE_AT_IDENTIFIER=8; |
| public static final int T__48=48; |
| public static final int T__49=49; |
| public static final int T__44=44; |
| public static final int T__45=45; |
| public static final int T__46=46; |
| public static final int T__47=47; |
| public static final int T__40=40; |
| public static final int T__41=41; |
| public static final int T__42=42; |
| public static final int T__43=43; |
| |
| // delegates |
| // delegators |
| |
| public InternalSEWLexer() {;} |
| public InternalSEWLexer(CharStream input) { |
| this(input, new RecognizerSharedState()); |
| } |
| public InternalSEWLexer(CharStream input, RecognizerSharedState state) { |
| super(input,state); |
| |
| } |
| public String getGrammarFileName() { return "InternalSEW.g"; } |
| |
| // $ANTLR start "T__14" |
| public final void mT__14() throws RecognitionException { |
| try { |
| int _type = T__14; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:11:7: ( 'workflow' ) |
| // InternalSEW.g:11:9: 'workflow' |
| { |
| match("workflow"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__14" |
| |
| // $ANTLR start "T__15" |
| public final void mT__15() throws RecognitionException { |
| try { |
| int _type = T__15; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:12:7: ( 'symbex-workflow' ) |
| // InternalSEW.g:12:9: 'symbex-workflow' |
| { |
| match("symbex-workflow"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__15" |
| |
| // $ANTLR start "T__16" |
| public final void mT__16() throws RecognitionException { |
| try { |
| int _type = T__16; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:13:7: ( '{' ) |
| // InternalSEW.g:13:9: '{' |
| { |
| match('{'); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__16" |
| |
| // $ANTLR start "T__17" |
| public final void mT__17() throws RecognitionException { |
| try { |
| int _type = T__17; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:14:7: ( '}' ) |
| // InternalSEW.g:14:9: '}' |
| { |
| match('}'); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__17" |
| |
| // $ANTLR start "T__18" |
| public final void mT__18() throws RecognitionException { |
| try { |
| int _type = T__18; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:15:7: ( '@sew' ) |
| // InternalSEW.g:15:9: '@sew' |
| { |
| match("@sew"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__18" |
| |
| // $ANTLR start "T__19" |
| public final void mT__19() throws RecognitionException { |
| try { |
| int _type = T__19; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:16:7: ( '@favm' ) |
| // InternalSEW.g:16:9: '@favm' |
| { |
| match("@favm"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__19" |
| |
| // $ANTLR start "T__20" |
| public final void mT__20() throws RecognitionException { |
| try { |
| int _type = T__20; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:17:7: ( '<' ) |
| // InternalSEW.g:17:9: '<' |
| { |
| match('<'); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__20" |
| |
| // $ANTLR start "T__21" |
| public final void mT__21() throws RecognitionException { |
| try { |
| int _type = T__21; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:18:7: ( 'sew' ) |
| // InternalSEW.g:18:9: 'sew' |
| { |
| match("sew"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__21" |
| |
| // $ANTLR start "T__22" |
| public final void mT__22() throws RecognitionException { |
| try { |
| int _type = T__22; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:19:7: ( ',' ) |
| // InternalSEW.g:19:9: ',' |
| { |
| match(','); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__22" |
| |
| // $ANTLR start "T__23" |
| public final void mT__23() throws RecognitionException { |
| try { |
| int _type = T__23; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:20:7: ( 'version:' ) |
| // InternalSEW.g:20:9: 'version:' |
| { |
| match("version:"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__23" |
| |
| // $ANTLR start "T__24" |
| public final void mT__24() throws RecognitionException { |
| try { |
| int _type = T__24; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:21:7: ( '>:' ) |
| // InternalSEW.g:21:9: '>:' |
| { |
| match(">:"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__24" |
| |
| // $ANTLR start "T__25" |
| public final void mT__25() throws RecognitionException { |
| try { |
| int _type = T__25; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:22:7: ( '::' ) |
| // InternalSEW.g:22:9: '::' |
| { |
| match("::"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__25" |
| |
| // $ANTLR start "T__26" |
| public final void mT__26() throws RecognitionException { |
| try { |
| int _type = T__26; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:23:7: ( '.' ) |
| // InternalSEW.g:23:9: '.' |
| { |
| match('.'); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__26" |
| |
| // $ANTLR start "T__27" |
| public final void mT__27() throws RecognitionException { |
| try { |
| int _type = T__27; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:24:7: ( ':=' ) |
| // InternalSEW.g:24:9: ':=' |
| { |
| match(":="); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__27" |
| |
| // $ANTLR start "T__28" |
| public final void mT__28() throws RecognitionException { |
| try { |
| int _type = T__28; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:25:7: ( '+:=' ) |
| // InternalSEW.g:25:9: '+:=' |
| { |
| match("+:="); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__28" |
| |
| // $ANTLR start "T__29" |
| public final void mT__29() throws RecognitionException { |
| try { |
| int _type = T__29; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:26:7: ( '[' ) |
| // InternalSEW.g:26:9: '[' |
| { |
| match('['); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__29" |
| |
| // $ANTLR start "T__30" |
| public final void mT__30() throws RecognitionException { |
| try { |
| int _type = T__30; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:27:7: ( ']' ) |
| // InternalSEW.g:27:9: ']' |
| { |
| match(']'); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__30" |
| |
| // $ANTLR start "T__31" |
| public final void mT__31() throws RecognitionException { |
| try { |
| int _type = T__31; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:28:7: ( ':' ) |
| // InternalSEW.g:28:9: ':' |
| { |
| match(':'); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__31" |
| |
| // $ANTLR start "T__32" |
| public final void mT__32() throws RecognitionException { |
| try { |
| int _type = T__32; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:29:7: ( '=' ) |
| // InternalSEW.g:29:9: '=' |
| { |
| match('='); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__32" |
| |
| // $ANTLR start "T__33" |
| public final void mT__33() throws RecognitionException { |
| try { |
| int _type = T__33; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:30:7: ( ';' ) |
| // InternalSEW.g:30:9: ';' |
| { |
| match(';'); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__33" |
| |
| // $ANTLR start "T__34" |
| public final void mT__34() throws RecognitionException { |
| try { |
| int _type = T__34; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:31:7: ( '?' ) |
| // InternalSEW.g:31:9: '?' |
| { |
| match('?'); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__34" |
| |
| // $ANTLR start "T__35" |
| public final void mT__35() throws RecognitionException { |
| try { |
| int _type = T__35; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:32:7: ( '||' ) |
| // InternalSEW.g:32:9: '||' |
| { |
| match("||"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__35" |
| |
| // $ANTLR start "T__36" |
| public final void mT__36() throws RecognitionException { |
| try { |
| int _type = T__36; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:33:7: ( 'or' ) |
| // InternalSEW.g:33:9: 'or' |
| { |
| match("or"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__36" |
| |
| // $ANTLR start "T__37" |
| public final void mT__37() throws RecognitionException { |
| try { |
| int _type = T__37; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:34:7: ( '&&' ) |
| // InternalSEW.g:34:9: '&&' |
| { |
| match("&&"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__37" |
| |
| // $ANTLR start "T__38" |
| public final void mT__38() throws RecognitionException { |
| try { |
| int _type = T__38; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:35:7: ( 'and' ) |
| // InternalSEW.g:35:9: 'and' |
| { |
| match("and"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__38" |
| |
| // $ANTLR start "T__39" |
| public final void mT__39() throws RecognitionException { |
| try { |
| int _type = T__39; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:36:7: ( '==' ) |
| // InternalSEW.g:36:9: '==' |
| { |
| match("=="); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__39" |
| |
| // $ANTLR start "T__40" |
| public final void mT__40() throws RecognitionException { |
| try { |
| int _type = T__40; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:37:7: ( '!=' ) |
| // InternalSEW.g:37:9: '!=' |
| { |
| match("!="); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__40" |
| |
| // $ANTLR start "T__41" |
| public final void mT__41() throws RecognitionException { |
| try { |
| int _type = T__41; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:38:7: ( '===' ) |
| // InternalSEW.g:38:9: '===' |
| { |
| match("==="); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__41" |
| |
| // $ANTLR start "T__42" |
| public final void mT__42() throws RecognitionException { |
| try { |
| int _type = T__42; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:39:7: ( '=!=' ) |
| // InternalSEW.g:39:9: '=!=' |
| { |
| match("=!="); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__42" |
| |
| // $ANTLR start "T__43" |
| public final void mT__43() throws RecognitionException { |
| try { |
| int _type = T__43; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:40:7: ( '=/=' ) |
| // InternalSEW.g:40:9: '=/=' |
| { |
| match("=/="); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__43" |
| |
| // $ANTLR start "T__44" |
| public final void mT__44() throws RecognitionException { |
| try { |
| int _type = T__44; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:41:7: ( '<=' ) |
| // InternalSEW.g:41:9: '<=' |
| { |
| match("<="); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__44" |
| |
| // $ANTLR start "T__45" |
| public final void mT__45() throws RecognitionException { |
| try { |
| int _type = T__45; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:42:7: ( '>' ) |
| // InternalSEW.g:42:9: '>' |
| { |
| match('>'); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__45" |
| |
| // $ANTLR start "T__46" |
| public final void mT__46() throws RecognitionException { |
| try { |
| int _type = T__46; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:43:7: ( '>=' ) |
| // InternalSEW.g:43:9: '>=' |
| { |
| match(">="); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__46" |
| |
| // $ANTLR start "T__47" |
| public final void mT__47() throws RecognitionException { |
| try { |
| int _type = T__47; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:44:7: ( '+' ) |
| // InternalSEW.g:44:9: '+' |
| { |
| match('+'); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__47" |
| |
| // $ANTLR start "T__48" |
| public final void mT__48() throws RecognitionException { |
| try { |
| int _type = T__48; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:45:7: ( '*' ) |
| // InternalSEW.g:45:9: '*' |
| { |
| match('*'); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__48" |
| |
| // $ANTLR start "T__49" |
| public final void mT__49() throws RecognitionException { |
| try { |
| int _type = T__49; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:46:7: ( '**' ) |
| // InternalSEW.g:46:9: '**' |
| { |
| match("**"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__49" |
| |
| // $ANTLR start "T__50" |
| public final void mT__50() throws RecognitionException { |
| try { |
| int _type = T__50; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:47:7: ( '/' ) |
| // InternalSEW.g:47:9: '/' |
| { |
| match('/'); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__50" |
| |
| // $ANTLR start "T__51" |
| public final void mT__51() throws RecognitionException { |
| try { |
| int _type = T__51; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:48:7: ( '%' ) |
| // InternalSEW.g:48:9: '%' |
| { |
| match('%'); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__51" |
| |
| // $ANTLR start "T__52" |
| public final void mT__52() throws RecognitionException { |
| try { |
| int _type = T__52; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:49:7: ( '-' ) |
| // InternalSEW.g:49:9: '-' |
| { |
| match('-'); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__52" |
| |
| // $ANTLR start "T__53" |
| public final void mT__53() throws RecognitionException { |
| try { |
| int _type = T__53; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:50:7: ( '!' ) |
| // InternalSEW.g:50:9: '!' |
| { |
| match('!'); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__53" |
| |
| // $ANTLR start "T__54" |
| public final void mT__54() throws RecognitionException { |
| try { |
| int _type = T__54; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:51:7: ( 'not' ) |
| // InternalSEW.g:51:9: 'not' |
| { |
| match("not"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__54" |
| |
| // $ANTLR start "T__55" |
| public final void mT__55() throws RecognitionException { |
| try { |
| int _type = T__55; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:52:7: ( '(' ) |
| // InternalSEW.g:52:9: '(' |
| { |
| match('('); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__55" |
| |
| // $ANTLR start "T__56" |
| public final void mT__56() throws RecognitionException { |
| try { |
| int _type = T__56; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:53:7: ( ')' ) |
| // InternalSEW.g:53:9: ')' |
| { |
| match(')'); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__56" |
| |
| // $ANTLR start "T__57" |
| public final void mT__57() throws RecognitionException { |
| try { |
| int _type = T__57; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:54:7: ( '&' ) |
| // InternalSEW.g:54:9: '&' |
| { |
| match('&'); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__57" |
| |
| // $ANTLR start "T__58" |
| public final void mT__58() throws RecognitionException { |
| try { |
| int _type = T__58; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:55:7: ( 'null' ) |
| // InternalSEW.g:55:9: 'null' |
| { |
| match("null"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__58" |
| |
| // $ANTLR start "T__59" |
| public final void mT__59() throws RecognitionException { |
| try { |
| int _type = T__59; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:56:7: ( '$time' ) |
| // InternalSEW.g:56:9: '$time' |
| { |
| match("$time"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__59" |
| |
| // $ANTLR start "T__60" |
| public final void mT__60() throws RecognitionException { |
| try { |
| int _type = T__60; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:57:7: ( '$delta' ) |
| // InternalSEW.g:57:9: '$delta' |
| { |
| match("$delta"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__60" |
| |
| // $ANTLR start "T__61" |
| public final void mT__61() throws RecognitionException { |
| try { |
| int _type = T__61; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:58:7: ( '$this' ) |
| // InternalSEW.g:58:9: '$this' |
| { |
| match("$this"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__61" |
| |
| // $ANTLR start "T__62" |
| public final void mT__62() throws RecognitionException { |
| try { |
| int _type = T__62; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:59:7: ( '$self' ) |
| // InternalSEW.g:59:9: '$self' |
| { |
| match("$self"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__62" |
| |
| // $ANTLR start "T__63" |
| public final void mT__63() throws RecognitionException { |
| try { |
| int _type = T__63; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:60:7: ( '$parent' ) |
| // InternalSEW.g:60:9: '$parent' |
| { |
| match("$parent"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__63" |
| |
| // $ANTLR start "T__64" |
| public final void mT__64() throws RecognitionException { |
| try { |
| int _type = T__64; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:61:7: ( '$super' ) |
| // InternalSEW.g:61:9: '$super' |
| { |
| match("$super"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__64" |
| |
| // $ANTLR start "T__65" |
| public final void mT__65() throws RecognitionException { |
| try { |
| int _type = T__65; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:62:7: ( '$system' ) |
| // InternalSEW.g:62:9: '$system' |
| { |
| match("$system"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__65" |
| |
| // $ANTLR start "T__66" |
| public final void mT__66() throws RecognitionException { |
| try { |
| int _type = T__66; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:63:7: ( '$env' ) |
| // InternalSEW.g:63:9: '$env' |
| { |
| match("$env"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__66" |
| |
| // $ANTLR start "T__67" |
| public final void mT__67() throws RecognitionException { |
| try { |
| int _type = T__67; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:64:7: ( 'env' ) |
| // InternalSEW.g:64:9: 'env' |
| { |
| match("env"); |
| |
| |
| } |
| |
| 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; |
| // InternalSEW.g:65:7: ( 'true' ) |
| // InternalSEW.g:65:9: 'true' |
| { |
| match("true"); |
| |
| |
| } |
| |
| 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; |
| // InternalSEW.g:66:7: ( 'false' ) |
| // InternalSEW.g:66:9: 'false' |
| { |
| match("false"); |
| |
| |
| } |
| |
| 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; |
| // InternalSEW.g:67:7: ( 'form' ) |
| // InternalSEW.g:67:9: 'form' |
| { |
| match("form"); |
| |
| |
| } |
| |
| 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; |
| // InternalSEW.g:68:7: ( 'endform' ) |
| // InternalSEW.g:68:9: 'endform' |
| { |
| match("endform"); |
| |
| |
| } |
| |
| 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; |
| // InternalSEW.g:69:7: ( 'prototype' ) |
| // InternalSEW.g:69:9: 'prototype' |
| { |
| match("prototype"); |
| |
| |
| } |
| |
| 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; |
| // InternalSEW.g:70:7: ( 'endprototype' ) |
| // InternalSEW.g:70:9: 'endprototype' |
| { |
| match("endprototype"); |
| |
| |
| } |
| |
| 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; |
| // InternalSEW.g:71:7: ( 'section' ) |
| // InternalSEW.g:71:9: 'section' |
| { |
| match("section"); |
| |
| |
| } |
| |
| 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; |
| // InternalSEW.g:72:7: ( 'endsection' ) |
| // InternalSEW.g:72:9: 'endsection' |
| { |
| match("endsection"); |
| |
| |
| } |
| |
| 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; |
| // InternalSEW.g:73:7: ( 'as' ) |
| // InternalSEW.g:73:9: 'as' |
| { |
| match("as"); |
| |
| |
| } |
| |
| 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; |
| // InternalSEW.g:74:7: ( 'is' ) |
| // InternalSEW.g:74:9: 'is' |
| { |
| match("is"); |
| |
| |
| } |
| |
| 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; |
| // InternalSEW.g:75:7: ( '${' ) |
| // InternalSEW.g:75: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; |
| // InternalSEW.g:76:7: ( '|;|' ) |
| // InternalSEW.g:76:9: '|;|' |
| { |
| match("|;|"); |
| |
| |
| } |
| |
| 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; |
| // InternalSEW.g:77:7: ( '|i|' ) |
| // InternalSEW.g:77:9: '|i|' |
| { |
| match("|i|"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "T__80" |
| |
| // $ANTLR start "RULE_XIDENDIFIER" |
| public final void mRULE_XIDENDIFIER() throws RecognitionException { |
| try { |
| int _type = RULE_XIDENDIFIER; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:4403:18: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' | '#' )* ) |
| // InternalSEW.g:4403:20: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' | '#' )* |
| { |
| if ( (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;} |
| |
| // InternalSEW.g:4403:44: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' | '#' )* |
| loop1: |
| do { |
| int alt1=2; |
| int LA1_0 = input.LA(1); |
| |
| if ( (LA1_0=='#'||(LA1_0>='0' && LA1_0<='9')||(LA1_0>='A' && LA1_0<='Z')||LA1_0=='_'||(LA1_0>='a' && LA1_0<='z')) ) { |
| alt1=1; |
| } |
| |
| |
| switch (alt1) { |
| case 1 : |
| // InternalSEW.g: |
| { |
| if ( input.LA(1)=='#'||(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 loop1; |
| } |
| } while (true); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "RULE_XIDENDIFIER" |
| |
| // $ANTLR start "RULE_AT_IDENTIFIER" |
| public final void mRULE_AT_IDENTIFIER() throws RecognitionException { |
| try { |
| int _type = RULE_AT_IDENTIFIER; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:4405:20: ( '@' RULE_XIDENDIFIER ) |
| // InternalSEW.g:4405:22: '@' RULE_XIDENDIFIER |
| { |
| match('@'); |
| mRULE_XIDENDIFIER(); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "RULE_AT_IDENTIFIER" |
| |
| // $ANTLR start "RULE_CHARACTER" |
| public final void mRULE_CHARACTER() throws RecognitionException { |
| try { |
| int _type = RULE_CHARACTER; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:4407:16: ( '\\'' . '\\'' ) |
| // InternalSEW.g:4407:18: '\\'' . '\\'' |
| { |
| match('\''); |
| matchAny(); |
| match('\''); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "RULE_CHARACTER" |
| |
| // $ANTLR start "RULE_ID" |
| public final void mRULE_ID() throws RecognitionException { |
| try { |
| int _type = RULE_ID; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:4409:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) |
| // InternalSEW.g:4409:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* |
| { |
| // InternalSEW.g:4409:11: ( '^' )? |
| int alt2=2; |
| int LA2_0 = input.LA(1); |
| |
| if ( (LA2_0=='^') ) { |
| alt2=1; |
| } |
| switch (alt2) { |
| case 1 : |
| // InternalSEW.g:4409:11: '^' |
| { |
| match('^'); |
| |
| } |
| break; |
| |
| } |
| |
| if ( (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;} |
| |
| // InternalSEW.g:4409:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* |
| loop3: |
| do { |
| int alt3=2; |
| int LA3_0 = input.LA(1); |
| |
| if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) { |
| alt3=1; |
| } |
| |
| |
| switch (alt3) { |
| case 1 : |
| // InternalSEW.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 loop3; |
| } |
| } while (true); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "RULE_ID" |
| |
| // $ANTLR start "RULE_INT" |
| public final void mRULE_INT() throws RecognitionException { |
| try { |
| int _type = RULE_INT; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:4411:10: ( ( '0' .. '9' )+ ) |
| // InternalSEW.g:4411:12: ( '0' .. '9' )+ |
| { |
| // InternalSEW.g:4411:12: ( '0' .. '9' )+ |
| int cnt4=0; |
| loop4: |
| do { |
| int alt4=2; |
| int LA4_0 = input.LA(1); |
| |
| if ( ((LA4_0>='0' && LA4_0<='9')) ) { |
| alt4=1; |
| } |
| |
| |
| switch (alt4) { |
| case 1 : |
| // InternalSEW.g:4411:13: '0' .. '9' |
| { |
| matchRange('0','9'); |
| |
| } |
| break; |
| |
| default : |
| if ( cnt4 >= 1 ) break loop4; |
| EarlyExitException eee = |
| new EarlyExitException(4, input); |
| throw eee; |
| } |
| cnt4++; |
| } while (true); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "RULE_INT" |
| |
| // $ANTLR start "RULE_STRING" |
| public final void mRULE_STRING() throws RecognitionException { |
| try { |
| int _type = RULE_STRING; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:4413:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) |
| // InternalSEW.g:4413:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) |
| { |
| // InternalSEW.g:4413:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) |
| int alt7=2; |
| int LA7_0 = input.LA(1); |
| |
| if ( (LA7_0=='\"') ) { |
| alt7=1; |
| } |
| else if ( (LA7_0=='\'') ) { |
| alt7=2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 7, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt7) { |
| case 1 : |
| // InternalSEW.g:4413:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' |
| { |
| match('\"'); |
| // InternalSEW.g:4413:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* |
| loop5: |
| do { |
| int alt5=3; |
| int LA5_0 = input.LA(1); |
| |
| if ( (LA5_0=='\\') ) { |
| alt5=1; |
| } |
| else if ( ((LA5_0>='\u0000' && LA5_0<='!')||(LA5_0>='#' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) { |
| alt5=2; |
| } |
| |
| |
| switch (alt5) { |
| case 1 : |
| // InternalSEW.g:4413:21: '\\\\' . |
| { |
| match('\\'); |
| matchAny(); |
| |
| } |
| break; |
| case 2 : |
| // InternalSEW.g:4413:28: ~ ( ( '\\\\' | '\"' ) ) |
| { |
| 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 loop5; |
| } |
| } while (true); |
| |
| match('\"'); |
| |
| } |
| break; |
| case 2 : |
| // InternalSEW.g:4413:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' |
| { |
| match('\''); |
| // InternalSEW.g:4413:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* |
| loop6: |
| do { |
| int alt6=3; |
| 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; |
| } |
| |
| |
| switch (alt6) { |
| case 1 : |
| // InternalSEW.g:4413:54: '\\\\' . |
| { |
| match('\\'); |
| matchAny(); |
| |
| } |
| break; |
| case 2 : |
| // InternalSEW.g:4413:61: ~ ( ( '\\\\' | '\\'' ) ) |
| { |
| 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 loop6; |
| } |
| } while (true); |
| |
| match('\''); |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "RULE_STRING" |
| |
| // $ANTLR start "RULE_ML_COMMENT" |
| public final void mRULE_ML_COMMENT() throws RecognitionException { |
| try { |
| int _type = RULE_ML_COMMENT; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:4415:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) |
| // InternalSEW.g:4415:19: '/*' ( options {greedy=false; } : . )* '*/' |
| { |
| match("/*"); |
| |
| // InternalSEW.g:4415:24: ( options {greedy=false; } : . )* |
| 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>='0' && LA8_1<='\uFFFF')) ) { |
| alt8=1; |
| } |
| |
| |
| } |
| else if ( ((LA8_0>='\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\uFFFF')) ) { |
| alt8=1; |
| } |
| |
| |
| switch (alt8) { |
| case 1 : |
| // InternalSEW.g:4415:52: . |
| { |
| matchAny(); |
| |
| } |
| break; |
| |
| default : |
| break loop8; |
| } |
| } while (true); |
| |
| match("*/"); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "RULE_ML_COMMENT" |
| |
| // $ANTLR start "RULE_SL_COMMENT" |
| public final void mRULE_SL_COMMENT() throws RecognitionException { |
| try { |
| int _type = RULE_SL_COMMENT; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:4417:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) |
| // InternalSEW.g:4417:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? |
| { |
| match("//"); |
| |
| // InternalSEW.g:4417:24: (~ ( ( '\\n' | '\\r' ) ) )* |
| loop9: |
| do { |
| int alt9=2; |
| int LA9_0 = input.LA(1); |
| |
| if ( ((LA9_0>='\u0000' && LA9_0<='\t')||(LA9_0>='\u000B' && LA9_0<='\f')||(LA9_0>='\u000E' && LA9_0<='\uFFFF')) ) { |
| alt9=1; |
| } |
| |
| |
| switch (alt9) { |
| case 1 : |
| // InternalSEW.g:4417:24: ~ ( ( '\\n' | '\\r' ) ) |
| { |
| 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 loop9; |
| } |
| } while (true); |
| |
| // InternalSEW.g:4417:40: ( ( '\\r' )? '\\n' )? |
| int alt11=2; |
| int LA11_0 = input.LA(1); |
| |
| if ( (LA11_0=='\n'||LA11_0=='\r') ) { |
| alt11=1; |
| } |
| switch (alt11) { |
| case 1 : |
| // InternalSEW.g:4417:41: ( '\\r' )? '\\n' |
| { |
| // InternalSEW.g:4417:41: ( '\\r' )? |
| int alt10=2; |
| int LA10_0 = input.LA(1); |
| |
| if ( (LA10_0=='\r') ) { |
| alt10=1; |
| } |
| switch (alt10) { |
| case 1 : |
| // InternalSEW.g:4417:41: '\\r' |
| { |
| match('\r'); |
| |
| } |
| break; |
| |
| } |
| |
| match('\n'); |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "RULE_SL_COMMENT" |
| |
| // $ANTLR start "RULE_WS" |
| public final void mRULE_WS() throws RecognitionException { |
| try { |
| int _type = RULE_WS; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:4419:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) |
| // InternalSEW.g:4419:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ |
| { |
| // InternalSEW.g:4419:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ |
| int cnt12=0; |
| loop12: |
| do { |
| int alt12=2; |
| int LA12_0 = input.LA(1); |
| |
| if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) { |
| alt12=1; |
| } |
| |
| |
| switch (alt12) { |
| case 1 : |
| // InternalSEW.g: |
| { |
| if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { |
| input.consume(); |
| |
| } |
| else { |
| MismatchedSetException mse = new MismatchedSetException(null,input); |
| recover(mse); |
| throw mse;} |
| |
| |
| } |
| break; |
| |
| default : |
| if ( cnt12 >= 1 ) break loop12; |
| EarlyExitException eee = |
| new EarlyExitException(12, input); |
| throw eee; |
| } |
| cnt12++; |
| } while (true); |
| |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "RULE_WS" |
| |
| // $ANTLR start "RULE_ANY_OTHER" |
| public final void mRULE_ANY_OTHER() throws RecognitionException { |
| try { |
| int _type = RULE_ANY_OTHER; |
| int _channel = DEFAULT_TOKEN_CHANNEL; |
| // InternalSEW.g:4421:16: ( . ) |
| // InternalSEW.g:4421:18: . |
| { |
| matchAny(); |
| |
| } |
| |
| state.type = _type; |
| state.channel = _channel; |
| } |
| finally { |
| } |
| } |
| // $ANTLR end "RULE_ANY_OTHER" |
| |
| public void mTokens() throws RecognitionException { |
| // InternalSEW.g:1:8: ( T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | 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 | RULE_XIDENDIFIER | RULE_AT_IDENTIFIER | RULE_CHARACTER | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) |
| int alt13=77; |
| alt13 = dfa13.predict(input); |
| switch (alt13) { |
| case 1 : |
| // InternalSEW.g:1:10: T__14 |
| { |
| mT__14(); |
| |
| } |
| break; |
| case 2 : |
| // InternalSEW.g:1:16: T__15 |
| { |
| mT__15(); |
| |
| } |
| break; |
| case 3 : |
| // InternalSEW.g:1:22: T__16 |
| { |
| mT__16(); |
| |
| } |
| break; |
| case 4 : |
| // InternalSEW.g:1:28: T__17 |
| { |
| mT__17(); |
| |
| } |
| break; |
| case 5 : |
| // InternalSEW.g:1:34: T__18 |
| { |
| mT__18(); |
| |
| } |
| break; |
| case 6 : |
| // InternalSEW.g:1:40: T__19 |
| { |
| mT__19(); |
| |
| } |
| break; |
| case 7 : |
| // InternalSEW.g:1:46: T__20 |
| { |
| mT__20(); |
| |
| } |
| break; |
| case 8 : |
| // InternalSEW.g:1:52: T__21 |
| { |
| mT__21(); |
| |
| } |
| break; |
| case 9 : |
| // InternalSEW.g:1:58: T__22 |
| { |
| mT__22(); |
| |
| } |
| break; |
| case 10 : |
| // InternalSEW.g:1:64: T__23 |
| { |
| mT__23(); |
| |
| } |
| break; |
| case 11 : |
| // InternalSEW.g:1:70: T__24 |
| { |
| mT__24(); |
| |
| } |
| break; |
| case 12 : |
| // InternalSEW.g:1:76: T__25 |
| { |
| mT__25(); |
| |
| } |
| break; |
| case 13 : |
| // InternalSEW.g:1:82: T__26 |
| { |
| mT__26(); |
| |
| } |
| break; |
| case 14 : |
| // InternalSEW.g:1:88: T__27 |
| { |
| mT__27(); |
| |
| } |
| break; |
| case 15 : |
| // InternalSEW.g:1:94: T__28 |
| { |
| mT__28(); |
| |
| } |
| break; |
| case 16 : |
| // InternalSEW.g:1:100: T__29 |
| { |
| mT__29(); |
| |
| } |
| break; |
| case 17 : |
| // InternalSEW.g:1:106: T__30 |
| { |
| mT__30(); |
| |
| } |
| break; |
| case 18 : |
| // InternalSEW.g:1:112: T__31 |
| { |
| mT__31(); |
| |
| } |
| break; |
| case 19 : |
| // InternalSEW.g:1:118: T__32 |
| { |
| mT__32(); |
| |
| } |
| break; |
| case 20 : |
| // InternalSEW.g:1:124: T__33 |
| { |
| mT__33(); |
| |
| } |
| break; |
| case 21 : |
| // InternalSEW.g:1:130: T__34 |
| { |
| mT__34(); |
| |
| } |
| break; |
| case 22 : |
| // InternalSEW.g:1:136: T__35 |
| { |
| mT__35(); |
| |
| } |
| break; |
| case 23 : |
| // InternalSEW.g:1:142: T__36 |
| { |
| mT__36(); |
| |
| } |
| break; |
| case 24 : |
| // InternalSEW.g:1:148: T__37 |
| { |
| mT__37(); |
| |
| } |
| break; |
| case 25 : |
| // InternalSEW.g:1:154: T__38 |
| { |
| mT__38(); |
| |
| } |
| break; |
| case 26 : |
| // InternalSEW.g:1:160: T__39 |
| { |
| mT__39(); |
| |
| } |
| break; |
| case 27 : |
| // InternalSEW.g:1:166: T__40 |
| { |
| mT__40(); |
| |
| } |
| break; |
| case 28 : |
| // InternalSEW.g:1:172: T__41 |
| { |
| mT__41(); |
| |
| } |
| break; |
| case 29 : |
| // InternalSEW.g:1:178: T__42 |
| { |
| mT__42(); |
| |
| } |
| break; |
| case 30 : |
| // InternalSEW.g:1:184: T__43 |
| { |
| mT__43(); |
| |
| } |
| break; |
| case 31 : |
| // InternalSEW.g:1:190: T__44 |
| { |
| mT__44(); |
| |
| } |
| break; |
| case 32 : |
| // InternalSEW.g:1:196: T__45 |
| { |
| mT__45(); |
| |
| } |
| break; |
| case 33 : |
| // InternalSEW.g:1:202: T__46 |
| { |
| mT__46(); |
| |
| } |
| break; |
| case 34 : |
| // InternalSEW.g:1:208: T__47 |
| { |
| mT__47(); |
| |
| } |
| break; |
| case 35 : |
| // InternalSEW.g:1:214: T__48 |
| { |
| mT__48(); |
| |
| } |
| break; |
| case 36 : |
| // InternalSEW.g:1:220: T__49 |
| { |
| mT__49(); |
| |
| } |
| break; |
| case 37 : |
| // InternalSEW.g:1:226: T__50 |
| { |
| mT__50(); |
| |
| } |
| break; |
| case 38 : |
| // InternalSEW.g:1:232: T__51 |
| { |
| mT__51(); |
| |
| } |
| break; |
| case 39 : |
| // InternalSEW.g:1:238: T__52 |
| { |
| mT__52(); |
| |
| } |
| break; |
| case 40 : |
| // InternalSEW.g:1:244: T__53 |
| { |
| mT__53(); |
| |
| } |
| break; |
| case 41 : |
| // InternalSEW.g:1:250: T__54 |
| { |
| mT__54(); |
| |
| } |
| break; |
| case 42 : |
| // InternalSEW.g:1:256: T__55 |
| { |
| mT__55(); |
| |
| } |
| break; |
| case 43 : |
| // InternalSEW.g:1:262: T__56 |
| { |
| mT__56(); |
| |
| } |
| break; |
| case 44 : |
| // InternalSEW.g:1:268: T__57 |
| { |
| mT__57(); |
| |
| } |
| break; |
| case 45 : |
| // InternalSEW.g:1:274: T__58 |
| { |
| mT__58(); |
| |
| } |
| break; |
| case 46 : |
| // InternalSEW.g:1:280: T__59 |
| { |
| mT__59(); |
| |
| } |
| break; |
| case 47 : |
| // InternalSEW.g:1:286: T__60 |
| { |
| mT__60(); |
| |
| } |
| break; |
| case 48 : |
| // InternalSEW.g:1:292: T__61 |
| { |
| mT__61(); |
| |
| } |
| break; |
| case 49 : |
| // InternalSEW.g:1:298: T__62 |
| { |
| mT__62(); |
| |
| } |
| break; |
| case 50 : |
| // InternalSEW.g:1:304: T__63 |
| { |
| mT__63(); |
| |
| } |
| break; |
| case 51 : |
| // InternalSEW.g:1:310: T__64 |
| { |
| mT__64(); |
| |
| } |
| break; |
| case 52 : |
| // InternalSEW.g:1:316: T__65 |
| { |
| mT__65(); |
| |
| } |
| break; |
| case 53 : |
| // InternalSEW.g:1:322: T__66 |
| { |
| mT__66(); |
| |
| } |
| break; |
| case 54 : |
| // InternalSEW.g:1:328: T__67 |
| { |
| mT__67(); |
| |
| } |
| break; |
| case 55 : |
| // InternalSEW.g:1:334: T__68 |
| { |
| mT__68(); |
| |
| } |
| break; |
| case 56 : |
| // InternalSEW.g:1:340: T__69 |
| { |
| mT__69(); |
| |
| } |
| break; |
| case 57 : |
| // InternalSEW.g:1:346: T__70 |
| { |
| mT__70(); |
| |
| } |
| break; |
| case 58 : |
| // InternalSEW.g:1:352: T__71 |
| { |
| mT__71(); |
| |
| } |
| break; |
| case 59 : |
| // InternalSEW.g:1:358: T__72 |
| { |
| mT__72(); |
| |
| } |
| break; |
| case 60 : |
| // InternalSEW.g:1:364: T__73 |
| { |
| mT__73(); |
| |
| } |
| break; |
| case 61 : |
| // InternalSEW.g:1:370: T__74 |
| { |
| mT__74(); |
| |
| } |
| break; |
| case 62 : |
| // InternalSEW.g:1:376: T__75 |
| { |
| mT__75(); |
| |
| } |
| break; |
| case 63 : |
| // InternalSEW.g:1:382: T__76 |
| { |
| mT__76(); |
| |
| } |
| break; |
| case 64 : |
| // InternalSEW.g:1:388: T__77 |
| { |
| mT__77(); |
| |
| } |
| break; |
| case 65 : |
| // InternalSEW.g:1:394: T__78 |
| { |
| mT__78(); |
| |
| } |
| break; |
| case 66 : |
| // InternalSEW.g:1:400: T__79 |
| { |
| mT__79(); |
| |
| } |
| break; |
| case 67 : |
| // InternalSEW.g:1:406: T__80 |
| { |
| mT__80(); |
| |
| } |
| break; |
| case 68 : |
| // InternalSEW.g:1:412: RULE_XIDENDIFIER |
| { |
| mRULE_XIDENDIFIER(); |
| |
| } |
| break; |
| case 69 : |
| // InternalSEW.g:1:429: RULE_AT_IDENTIFIER |
| { |
| mRULE_AT_IDENTIFIER(); |
| |
| } |
| break; |
| case 70 : |
| // InternalSEW.g:1:448: RULE_CHARACTER |
| { |
| mRULE_CHARACTER(); |
| |
| } |
| break; |
| case 71 : |
| // InternalSEW.g:1:463: RULE_ID |
| { |
| mRULE_ID(); |
| |
| } |
| break; |
| case 72 : |
| // InternalSEW.g:1:471: RULE_INT |
| { |
| mRULE_INT(); |
| |
| } |
| break; |
| case 73 : |
| // InternalSEW.g:1:480: RULE_STRING |
| { |
| mRULE_STRING(); |
| |
| } |
| break; |
| case 74 : |
| // InternalSEW.g:1:492: RULE_ML_COMMENT |
| { |
| mRULE_ML_COMMENT(); |
| |
| } |
| break; |
| case 75 : |
| // InternalSEW.g:1:508: RULE_SL_COMMENT |
| { |
| mRULE_SL_COMMENT(); |
| |
| } |
| break; |
| case 76 : |
| // InternalSEW.g:1:524: RULE_WS |
| { |
| mRULE_WS(); |
| |
| } |
| break; |
| case 77 : |
| // InternalSEW.g:1:532: RULE_ANY_OTHER |
| { |
| mRULE_ANY_OTHER(); |
| |
| } |
| break; |
| |
| } |
| |
| } |
| |
| |
| protected DFA13 dfa13 = new DFA13(this); |
| static final String DFA13_eotS = |
| "\1\uffff\2\54\2\uffff\1\52\1\66\1\uffff\1\54\1\73\1\76\1\uffff\1\101\2\uffff\1\107\2\uffff\1\52\1\54\1\117\1\54\1\123\1\125\1\130\2\uffff\1\54\2\uffff\1\52\6\54\2\52\1\uffff\1\52\2\uffff\1\54\1\uffff\3\54\2\uffff\2\64\4\uffff\1\54\13\uffff\1\172\10\uffff\1\173\2\uffff\1\54\1\175\11\uffff\2\54\10\uffff\5\54\1\u008b\2\uffff\1\160\4\uffff\2\54\1\u0091\1\54\2\64\1\54\3\uffff\1\u0096\1\uffff\1\u0097\1\54\5\uffff\1\u0099\5\54\1\uffff\1\u008e\2\uffff\2\54\1\uffff\1\54\1\u00a4\1\64\1\54\2\uffff\1\u00a7\1\uffff\3\54\1\u00ab\1\54\1\u00ad\4\54\1\uffff\1\u00b2\1\54\1\uffff\3\54\1\uffff\1\u00b7\1\uffff\4\54\1\uffff\4\54\1\uffff\2\54\1\uffff\1\u00c2\1\54\1\u00c4\3\54\1\u00c8\3\uffff\3\54\1\uffff\2\54\1\u00ce\1\54\1\u00d0\1\uffff\1\54\1\uffff\1\u00d2\1\uffff"; |
| static final String DFA13_eofS = |
| "\u00d3\uffff"; |
| static final String DFA13_minS = |
| "\1\0\2\60\2\uffff\1\101\1\75\1\uffff\1\60\2\72\1\uffff\1\72\2\uffff\1\41\2\uffff\1\73\1\60\1\46\1\60\1\75\2\52\2\uffff\1\60\2\uffff\1\144\6\60\1\0\1\101\1\uffff\1\0\2\uffff\1\60\1\uffff\3\60\2\uffff\1\145\1\141\4\uffff\1\60\13\uffff\1\75\10\uffff\1\43\2\uffff\1\60\1\43\11\uffff\2\60\2\uffff\1\150\1\uffff\1\145\3\uffff\5\60\1\43\2\0\1\47\4\uffff\2\60\1\43\1\60\1\167\1\166\1\60\3\uffff\1\43\1\uffff\1\43\1\60\5\uffff\1\43\5\60\1\uffff\1\0\2\uffff\2\60\1\uffff\1\60\1\43\1\155\1\60\2\uffff\1\43\1\uffff\3\60\1\43\1\60\1\43\4\60\1\uffff\1\43\1\60\1\uffff\3\60\1\uffff\1\43\1\uffff\2\60\1\55\1\60\1\uffff\4\60\1\uffff\2\60\1\uffff\1\43\1\60\1\43\3\60\1\43\3\uffff\3\60\1\uffff\2\60\1\43\1\60\1\43\1\uffff\1\60\1\uffff\1\43\1\uffff"; |
| static final String DFA13_maxS = |
| "\1\uffff\2\172\2\uffff\1\172\1\75\1\uffff\1\172\2\75\1\uffff\1\72\2\uffff\1\75\2\uffff\1\174\1\172\1\46\1\172\1\75\1\52\1\57\2\uffff\1\172\2\uffff\1\173\6\172\1\uffff\1\172\1\uffff\1\uffff\2\uffff\1\172\1\uffff\3\172\2\uffff\1\145\1\141\4\uffff\1\172\13\uffff\1\75\10\uffff\1\172\2\uffff\2\172\11\uffff\2\172\2\uffff\1\151\1\uffff\1\171\3\uffff\6\172\2\uffff\1\47\4\uffff\4\172\1\167\1\166\1\172\3\uffff\1\172\1\uffff\2\172\5\uffff\6\172\1\uffff\1\uffff\2\uffff\2\172\1\uffff\2\172\1\155\1\172\2\uffff\1\172\1\uffff\12\172\1\uffff\2\172\1\uffff\3\172\1\uffff\1\172\1\uffff\4\172\1\uffff\4\172\1\uffff\2\172\1\uffff\7\172\3\uffff\3\172\1\uffff\5\172\1\uffff\1\172\1\uffff\1\172\1\uffff"; |
| static final String DFA13_acceptS = |
| "\3\uffff\1\3\1\4\2\uffff\1\11\3\uffff\1\15\1\uffff\1\20\1\21\1\uffff\1\24\1\25\7\uffff\1\46\1\47\1\uffff\1\52\1\53\11\uffff\1\110\1\uffff\1\114\1\115\1\uffff\1\104\3\uffff\1\3\1\4\2\uffff\1\105\1\37\1\7\1\11\1\uffff\1\13\1\41\1\40\1\14\1\16\1\22\1\15\1\17\1\42\1\20\1\21\1\uffff\1\35\1\36\1\23\1\24\1\25\1\26\1\102\1\103\1\uffff\1\30\1\54\2\uffff\1\33\1\50\1\44\1\43\1\112\1\113\1\45\1\46\1\47\2\uffff\1\52\1\53\1\uffff\1\57\1\uffff\1\62\1\65\1\101\11\uffff\1\107\1\110\1\111\1\114\7\uffff\1\34\1\32\1\27\1\uffff\1\77\2\uffff\1\56\1\60\1\61\1\63\1\64\6\uffff\1\100\1\uffff\2\106\2\uffff\1\10\4\uffff\1\31\1\51\1\uffff\1\66\12\uffff\1\5\2\uffff\1\55\3\uffff\1\67\1\uffff\1\71\4\uffff\1\6\4\uffff\1\70\2\uffff\1\2\7\uffff\1\75\1\12\1\72\3\uffff\1\1\5\uffff\1\73\1\uffff\1\76\1\uffff\1\74"; |
| static final String DFA13_specialS = |
| "\1\2\44\uffff\1\1\2\uffff\1\5\102\uffff\1\4\1\0\37\uffff\1\3\106\uffff}>"; |
| static final String[] DFA13_transitionS = DFA13_transitionS_.DFA13_transitionS; |
| private static final class DFA13_transitionS_ { |
| static final String[] DFA13_transitionS = { |
| "\11\52\2\51\2\52\1\51\22\52\1\51\1\26\1\50\1\52\1\36\1\31\1\24\1\45\1\34\1\35\1\27\1\14\1\7\1\32\1\13\1\30\12\47\1\12\1\20\1\6\1\17\1\11\1\21\1\5\32\44\1\15\1\52\1\16\1\46\1\44\1\52\1\25\3\44\1\37\1\41\2\44\1\43\4\44\1\33\1\23\1\42\2\44\1\2\1\40\1\44\1\10\1\1\3\44\1\3\1\22\1\4\uff82\52", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\16\55\1\53\13\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\4\55\1\57\23\55\1\56\1\55", |
| "", |
| "", |
| "\32\64\4\uffff\1\64\1\uffff\5\64\1\63\14\64\1\62\7\64", |
| "\1\65", |
| "", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\4\55\1\70\25\55", |
| "\1\71\2\uffff\1\72", |
| "\1\74\2\uffff\1\75", |
| "", |
| "\1\100", |
| "", |
| "", |
| "\1\105\15\uffff\1\106\15\uffff\1\104", |
| "", |
| "", |
| "\1\113\55\uffff\1\114\22\uffff\1\112", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\21\55\1\115\10\55", |
| "\1\116", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\15\55\1\120\4\55\1\121\7\55", |
| "\1\122", |
| "\1\124", |
| "\1\126\4\uffff\1\127", |
| "", |
| "", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\16\55\1\133\5\55\1\134\5\55", |
| "", |
| "", |
| "\1\140\1\143\12\uffff\1\142\2\uffff\1\141\1\137\6\uffff\1\144", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\15\55\1\145\14\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\21\55\1\146\10\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\1\147\15\55\1\150\13\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\21\55\1\151\10\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\22\55\1\152\7\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", |
| "\47\154\1\155\64\154\1\153\uffa3\154", |
| "\32\156\4\uffff\1\156\1\uffff\32\156", |
| "", |
| "\0\160", |
| "", |
| "", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\21\55\1\162\10\55", |
| "", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\14\55\1\163\15\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\2\55\1\165\23\55\1\164\3\55", |
| "", |
| "", |
| "\1\166", |
| "\1\167", |
| "", |
| "", |
| "", |
| "", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\21\55\1\170\10\55", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "\1\171", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "\1\54\14\uffff\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", |
| "", |
| "", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\3\55\1\174\26\55", |
| "\1\54\14\uffff\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\23\55\1\176\6\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\13\55\1\177\16\55", |
| "", |
| "", |
| "\1\u0081\1\u0080", |
| "", |
| "\1\u0082\17\uffff\1\u0083\3\uffff\1\u0084", |
| "", |
| "", |
| "", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\3\55\1\u0086\21\55\1\u0085\4\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\24\55\1\u0087\5\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\13\55\1\u0088\16\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\21\55\1\u0089\10\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\16\55\1\u008a\13\55", |
| "\1\54\14\uffff\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", |
| "\47\160\1\u008c\uffd8\160", |
| "\47\160\1\u008d\uffd8\160", |
| "\1\u008e", |
| "", |
| "", |
| "", |
| "", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\12\55\1\u008f\17\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\1\55\1\u0090\30\55", |
| "\1\54\14\uffff\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\23\55\1\u0092\6\55", |
| "\1\u0093", |
| "\1\u0094", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\22\55\1\u0095\7\55", |
| "", |
| "", |
| "", |
| "\1\54\14\uffff\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", |
| "", |
| "\1\54\14\uffff\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\13\55\1\u0098\16\55", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "\1\54\14\uffff\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\5\55\1\u009a\11\55\1\u009b\2\55\1\u009c\7\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\4\55\1\u009d\25\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\22\55\1\u009e\7\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\14\55\1\u009f\15\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\23\55\1\u00a0\6\55", |
| "", |
| "\0\160", |
| "", |
| "", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\5\55\1\u00a1\24\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\4\55\1\u00a2\25\55", |
| "", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\10\55\1\u00a3\21\55", |
| "\1\64\14\uffff\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", |
| "\1\u00a5", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\10\55\1\u00a6\21\55", |
| "", |
| "", |
| "\1\54\14\uffff\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", |
| "", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\16\55\1\u00a8\13\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\21\55\1\u00a9\10\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\4\55\1\u00aa\25\55", |
| "\1\54\14\uffff\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\4\55\1\u00ac\25\55", |
| "\1\54\14\uffff\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\16\55\1\u00ae\13\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\13\55\1\u00af\16\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\27\55\1\u00b0\2\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\16\55\1\u00b1\13\55", |
| "", |
| "\1\64\14\uffff\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\16\55\1\u00b3\13\55", |
| "", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\21\55\1\u00b4\10\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\16\55\1\u00b5\13\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\2\55\1\u00b6\27\55", |
| "", |
| "\1\54\14\uffff\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", |
| "", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\23\55\1\u00b8\6\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\16\55\1\u00b9\13\55", |
| "\1\u00ba\2\uffff\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\15\55\1\u00bb\14\55", |
| "", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\15\55\1\u00bc\14\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\14\55\1\u00bd\15\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\23\55\1\u00be\6\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\23\55\1\u00bf\6\55", |
| "", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\30\55\1\u00c0\1\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\26\55\1\u00c1\3\55", |
| "", |
| "\1\54\14\uffff\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", |
| "\12\55\1\u00c3\6\uffff\32\55\4\uffff\1\55\1\uffff\32\55", |
| "\1\54\14\uffff\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\16\55\1\u00c5\13\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\10\55\1\u00c6\21\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\17\55\1\u00c7\12\55", |
| "\1\54\14\uffff\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", |
| "", |
| "", |
| "", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\23\55\1\u00c9\6\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\16\55\1\u00ca\13\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\4\55\1\u00cb\25\55", |
| "", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\30\55\1\u00cc\1\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\15\55\1\u00cd\14\55", |
| "\1\54\14\uffff\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\17\55\1\u00cf\12\55", |
| "\1\54\14\uffff\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", |
| "", |
| "\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\4\55\1\u00d1\25\55", |
| "", |
| "\1\54\14\uffff\12\55\7\uffff\32\55\4\uffff\1\55\1\uffff\32\55", |
| "" |
| }; |
| } |
| |
| 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<numStates; i++) { |
| DFA13_transition[i] = DFA.unpackEncodedString(DFA13_transitionS[i]); |
| } |
| } |
| |
| static class DFA13 extends DFA { |
| |
| public DFA13(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 13; |
| this.eot = DFA13_eot; |
| this.eof = DFA13_eof; |
| this.min = DFA13_min; |
| this.max = DFA13_max; |
| this.accept = DFA13_accept; |
| this.special = DFA13_special; |
| this.transition = DFA13_transition; |
| } |
| public String getDescription() { |
| return "1:1: Tokens : ( T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | 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 | RULE_XIDENDIFIER | RULE_AT_IDENTIFIER | RULE_CHARACTER | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| IntStream input = _input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA13_108 = input.LA(1); |
| |
| s = -1; |
| if ( (LA13_108=='\'') ) {s = 141;} |
| |
| else if ( ((LA13_108>='\u0000' && LA13_108<='&')||(LA13_108>='(' && LA13_108<='\uFFFF')) ) {s = 112;} |
| |
| if ( s>=0 ) return s; |
| break; |
| case 1 : |
| int LA13_37 = input.LA(1); |
| |
| s = -1; |
| if ( (LA13_37=='\\') ) {s = 107;} |
| |
| else if ( ((LA13_37>='\u0000' && LA13_37<='&')||(LA13_37>='(' && LA13_37<='[')||(LA13_37>=']' && LA13_37<='\uFFFF')) ) {s = 108;} |
| |
| else if ( (LA13_37=='\'') ) {s = 109;} |
| |
| else s = 42; |
| |
| if ( s>=0 ) return s; |
| break; |
| case 2 : |
| int LA13_0 = input.LA(1); |
| |
| s = -1; |
| if ( (LA13_0=='w') ) {s = 1;} |
| |
| else if ( (LA13_0=='s') ) {s = 2;} |
| |
| else if ( (LA13_0=='{') ) {s = 3;} |
| |
| else if ( (LA13_0=='}') ) {s = 4;} |
| |
| else if ( (LA13_0=='@') ) {s = 5;} |
| |
| else if ( (LA13_0=='<') ) {s = 6;} |
| |
| else if ( (LA13_0==',') ) {s = 7;} |
| |
| else if ( (LA13_0=='v') ) {s = 8;} |
| |
| else if ( (LA13_0=='>') ) {s = 9;} |
| |
| else if ( (LA13_0==':') ) {s = 10;} |
| |
| else if ( (LA13_0=='.') ) {s = 11;} |
| |
| else if ( (LA13_0=='+') ) {s = 12;} |
| |
| else if ( (LA13_0=='[') ) {s = 13;} |
| |
| else if ( (LA13_0==']') ) {s = 14;} |
| |
| else if ( (LA13_0=='=') ) {s = 15;} |
| |
| else if ( (LA13_0==';') ) {s = 16;} |
| |
| else if ( (LA13_0=='?') ) {s = 17;} |
| |
| else if ( (LA13_0=='|') ) {s = 18;} |
| |
| else if ( (LA13_0=='o') ) {s = 19;} |
| |
| else if ( (LA13_0=='&') ) {s = 20;} |
| |
| else if ( (LA13_0=='a') ) {s = 21;} |
| |
| else if ( (LA13_0=='!') ) {s = 22;} |
| |
| else if ( (LA13_0=='*') ) {s = 23;} |
| |
| else if ( (LA13_0=='/') ) {s = 24;} |
| |
| else if ( (LA13_0=='%') ) {s = 25;} |
| |
| else if ( (LA13_0=='-') ) {s = 26;} |
| |
| else if ( (LA13_0=='n') ) {s = 27;} |
| |
| else if ( (LA13_0=='(') ) {s = 28;} |
| |
| else if ( (LA13_0==')') ) {s = 29;} |
| |
| else if ( (LA13_0=='$') ) {s = 30;} |
| |
| else if ( (LA13_0=='e') ) {s = 31;} |
| |
| else if ( (LA13_0=='t') ) {s = 32;} |
| |
| else if ( (LA13_0=='f') ) {s = 33;} |
| |
| else if ( (LA13_0=='p') ) {s = 34;} |
| |
| else if ( (LA13_0=='i') ) {s = 35;} |
| |
| else if ( ((LA13_0>='A' && LA13_0<='Z')||LA13_0=='_'||(LA13_0>='b' && LA13_0<='d')||(LA13_0>='g' && LA13_0<='h')||(LA13_0>='j' && LA13_0<='m')||(LA13_0>='q' && LA13_0<='r')||LA13_0=='u'||(LA13_0>='x' && LA13_0<='z')) ) {s = 36;} |
| |
| else if ( (LA13_0=='\'') ) {s = 37;} |
| |
| else if ( (LA13_0=='^') ) {s = 38;} |
| |
| else if ( ((LA13_0>='0' && LA13_0<='9')) ) {s = 39;} |
| |
| else if ( (LA13_0=='\"') ) {s = 40;} |
| |
| else if ( ((LA13_0>='\t' && LA13_0<='\n')||LA13_0=='\r'||LA13_0==' ') ) {s = 41;} |
| |
| else if ( ((LA13_0>='\u0000' && LA13_0<='\b')||(LA13_0>='\u000B' && LA13_0<='\f')||(LA13_0>='\u000E' && LA13_0<='\u001F')||LA13_0=='#'||LA13_0=='\\'||LA13_0=='`'||(LA13_0>='~' && LA13_0<='\uFFFF')) ) {s = 42;} |
| |
| if ( s>=0 ) return s; |
| break; |
| case 3 : |
| int LA13_140 = input.LA(1); |
| |
| s = -1; |
| if ( ((LA13_140>='\u0000' && LA13_140<='\uFFFF')) ) {s = 112;} |
| |
| else s = 142; |
| |
| if ( s>=0 ) return s; |
| break; |
| case 4 : |
| int LA13_107 = input.LA(1); |
| |
| s = -1; |
| if ( (LA13_107=='\'') ) {s = 140;} |
| |
| else if ( ((LA13_107>='\u0000' && LA13_107<='&')||(LA13_107>='(' && LA13_107<='\uFFFF')) ) {s = 112;} |
| |
| if ( s>=0 ) return s; |
| break; |
| case 5 : |
| int LA13_40 = input.LA(1); |
| |
| s = -1; |
| if ( ((LA13_40>='\u0000' && LA13_40<='\uFFFF')) ) {s = 112;} |
| |
| else s = 42; |
| |
| if ( s>=0 ) return s; |
| break; |
| } |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 13, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| |
| |
| } |