|
|
@ -20,10 +20,17 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
public static final int T__17=17; |
|
|
|
public static final int T__17=17; |
|
|
|
public static final int T__18=18; |
|
|
|
public static final int T__18=18; |
|
|
|
public static final int T__11=11; |
|
|
|
public static final int T__11=11; |
|
|
|
|
|
|
|
public static final int T__33=33; |
|
|
|
public static final int T__12=12; |
|
|
|
public static final int T__12=12; |
|
|
|
|
|
|
|
public static final int T__34=34; |
|
|
|
public static final int T__13=13; |
|
|
|
public static final int T__13=13; |
|
|
|
|
|
|
|
public static final int T__35=35; |
|
|
|
public static final int T__14=14; |
|
|
|
public static final int T__14=14; |
|
|
|
|
|
|
|
public static final int T__36=36; |
|
|
|
public static final int EOF=-1; |
|
|
|
public static final int EOF=-1; |
|
|
|
|
|
|
|
public static final int T__30=30; |
|
|
|
|
|
|
|
public static final int T__31=31; |
|
|
|
|
|
|
|
public static final int T__32=32; |
|
|
|
public static final int RULE_ID=4; |
|
|
|
public static final int RULE_ID=4; |
|
|
|
public static final int RULE_WS=9; |
|
|
|
public static final int RULE_WS=9; |
|
|
|
public static final int RULE_ANY_OTHER=10; |
|
|
|
public static final int RULE_ANY_OTHER=10; |
|
|
@ -226,10 +233,10 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
try { |
|
|
|
try { |
|
|
|
int _type = T__19; |
|
|
|
int _type = T__19; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
// InternalPattern.g:19:7: ( '-{Shift}->' )
|
|
|
|
// InternalPattern.g:19:7: ( '-{ShiftC}->' )
|
|
|
|
// InternalPattern.g:19:9: '-{Shift}->'
|
|
|
|
// InternalPattern.g:19:9: '-{ShiftC}->'
|
|
|
|
{ |
|
|
|
{ |
|
|
|
match("-{Shift}->"); |
|
|
|
match("-{ShiftC}->"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
@ -247,10 +254,10 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
try { |
|
|
|
try { |
|
|
|
int _type = T__20; |
|
|
|
int _type = T__20; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
// InternalPattern.g:20:7: ( 'pattern' )
|
|
|
|
// InternalPattern.g:20:7: ( '-{ShiftP}->' )
|
|
|
|
// InternalPattern.g:20:9: 'pattern'
|
|
|
|
// InternalPattern.g:20:9: '-{ShiftP}->'
|
|
|
|
{ |
|
|
|
{ |
|
|
|
match("pattern"); |
|
|
|
match("-{ShiftP}->"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
@ -268,10 +275,11 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
try { |
|
|
|
try { |
|
|
|
int _type = T__21; |
|
|
|
int _type = T__21; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
// InternalPattern.g:21:7: ( '(' )
|
|
|
|
// InternalPattern.g:21:7: ( '-{FlattenC}->' )
|
|
|
|
// InternalPattern.g:21:9: '('
|
|
|
|
// InternalPattern.g:21:9: '-{FlattenC}->'
|
|
|
|
{ |
|
|
|
{ |
|
|
|
match('('); |
|
|
|
match("-{FlattenC}->"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -288,10 +296,11 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
try { |
|
|
|
try { |
|
|
|
int _type = T__22; |
|
|
|
int _type = T__22; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
// InternalPattern.g:22:7: ( ')' )
|
|
|
|
// InternalPattern.g:22:7: ( '-{ForkC}->' )
|
|
|
|
// InternalPattern.g:22:9: ')'
|
|
|
|
// InternalPattern.g:22:9: '-{ForkC}->'
|
|
|
|
{ |
|
|
|
{ |
|
|
|
match(')'); |
|
|
|
match("-{ForkC}->"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -308,10 +317,11 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
try { |
|
|
|
try { |
|
|
|
int _type = T__23; |
|
|
|
int _type = T__23; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
// InternalPattern.g:23:7: ( ',' )
|
|
|
|
// InternalPattern.g:23:7: ( '-{ForkP}->' )
|
|
|
|
// InternalPattern.g:23:9: ','
|
|
|
|
// InternalPattern.g:23:9: '-{ForkP}->'
|
|
|
|
{ |
|
|
|
{ |
|
|
|
match(','); |
|
|
|
match("-{ForkP}->"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -328,10 +338,11 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
try { |
|
|
|
try { |
|
|
|
int _type = T__24; |
|
|
|
int _type = T__24; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
// InternalPattern.g:24:7: ( '{' )
|
|
|
|
// InternalPattern.g:24:7: ( '-{JoinC}->' )
|
|
|
|
// InternalPattern.g:24:9: '{'
|
|
|
|
// InternalPattern.g:24:9: '-{JoinC}->'
|
|
|
|
{ |
|
|
|
{ |
|
|
|
match('{'); |
|
|
|
match("-{JoinC}->"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -348,10 +359,11 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
try { |
|
|
|
try { |
|
|
|
int _type = T__25; |
|
|
|
int _type = T__25; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
// InternalPattern.g:25:7: ( '}' )
|
|
|
|
// InternalPattern.g:25:7: ( '-{JoinP}->' )
|
|
|
|
// InternalPattern.g:25:9: '}'
|
|
|
|
// InternalPattern.g:25:9: '-{JoinP}->'
|
|
|
|
{ |
|
|
|
{ |
|
|
|
match('}'); |
|
|
|
match("-{JoinP}->"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -368,10 +380,10 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
try { |
|
|
|
try { |
|
|
|
int _type = T__26; |
|
|
|
int _type = T__26; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
// InternalPattern.g:26:7: ( 'component' )
|
|
|
|
// InternalPattern.g:26:7: ( '-{Last}->' )
|
|
|
|
// InternalPattern.g:26:9: 'component'
|
|
|
|
// InternalPattern.g:26:9: '-{Last}->'
|
|
|
|
{ |
|
|
|
{ |
|
|
|
match("component"); |
|
|
|
match("-{Last}->"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
@ -389,10 +401,11 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
try { |
|
|
|
try { |
|
|
|
int _type = T__27; |
|
|
|
int _type = T__27; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
// InternalPattern.g:27:7: ( '[' )
|
|
|
|
// InternalPattern.g:27:7: ( 'pattern' )
|
|
|
|
// InternalPattern.g:27:9: '['
|
|
|
|
// InternalPattern.g:27:9: 'pattern'
|
|
|
|
{ |
|
|
|
{ |
|
|
|
match('['); |
|
|
|
match("pattern"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -409,10 +422,10 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
try { |
|
|
|
try { |
|
|
|
int _type = T__28; |
|
|
|
int _type = T__28; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
// InternalPattern.g:28:7: ( ']' )
|
|
|
|
// InternalPattern.g:28:7: ( '(' )
|
|
|
|
// InternalPattern.g:28:9: ']'
|
|
|
|
// InternalPattern.g:28:9: '('
|
|
|
|
{ |
|
|
|
{ |
|
|
|
match(']'); |
|
|
|
match('('); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -429,10 +442,10 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
try { |
|
|
|
try { |
|
|
|
int _type = T__29; |
|
|
|
int _type = T__29; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
// InternalPattern.g:29:7: ( '.' )
|
|
|
|
// InternalPattern.g:29:7: ( ')' )
|
|
|
|
// InternalPattern.g:29:9: '.'
|
|
|
|
// InternalPattern.g:29:9: ')'
|
|
|
|
{ |
|
|
|
{ |
|
|
|
match('.'); |
|
|
|
match(')'); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -444,15 +457,156 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
} |
|
|
|
} |
|
|
|
// $ANTLR end "T__29"
|
|
|
|
// $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; |
|
|
|
|
|
|
|
// InternalPattern.g:30:7: ( ',' )
|
|
|
|
|
|
|
|
// InternalPattern.g:30: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; |
|
|
|
|
|
|
|
// InternalPattern.g:31:7: ( '{' )
|
|
|
|
|
|
|
|
// InternalPattern.g:31: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; |
|
|
|
|
|
|
|
// InternalPattern.g:32:7: ( '}' )
|
|
|
|
|
|
|
|
// InternalPattern.g:32: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; |
|
|
|
|
|
|
|
// InternalPattern.g:33:7: ( 'component' )
|
|
|
|
|
|
|
|
// InternalPattern.g:33:9: 'component'
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
match("component"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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; |
|
|
|
|
|
|
|
// InternalPattern.g:34:7: ( '[' )
|
|
|
|
|
|
|
|
// InternalPattern.g:34: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; |
|
|
|
|
|
|
|
// InternalPattern.g:35:7: ( ']' )
|
|
|
|
|
|
|
|
// InternalPattern.g:35: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; |
|
|
|
|
|
|
|
// InternalPattern.g:36:7: ( '.' )
|
|
|
|
|
|
|
|
// InternalPattern.g:36:9: '.'
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
match('.'); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
state.type = _type; |
|
|
|
|
|
|
|
state.channel = _channel; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
finally { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// $ANTLR end "T__36"
|
|
|
|
|
|
|
|
|
|
|
|
// $ANTLR start "RULE_ID"
|
|
|
|
// $ANTLR start "RULE_ID"
|
|
|
|
public final void mRULE_ID() throws RecognitionException { |
|
|
|
public final void mRULE_ID() throws RecognitionException { |
|
|
|
try { |
|
|
|
try { |
|
|
|
int _type = RULE_ID; |
|
|
|
int _type = RULE_ID; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
// InternalPattern.g:1867:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
|
|
|
|
// InternalPattern.g:1909:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
|
|
|
|
// InternalPattern.g:1867:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
|
|
|
|
// InternalPattern.g:1909:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
|
|
|
|
{ |
|
|
|
{ |
|
|
|
// InternalPattern.g:1867:11: ( '^' )?
|
|
|
|
// InternalPattern.g:1909:11: ( '^' )?
|
|
|
|
int alt1=2; |
|
|
|
int alt1=2; |
|
|
|
int LA1_0 = input.LA(1); |
|
|
|
int LA1_0 = input.LA(1); |
|
|
|
|
|
|
|
|
|
|
@ -461,7 +615,7 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
} |
|
|
|
} |
|
|
|
switch (alt1) { |
|
|
|
switch (alt1) { |
|
|
|
case 1 : |
|
|
|
case 1 : |
|
|
|
// InternalPattern.g:1867:11: '^'
|
|
|
|
// InternalPattern.g:1909:11: '^'
|
|
|
|
{ |
|
|
|
{ |
|
|
|
match('^'); |
|
|
|
match('^'); |
|
|
|
|
|
|
|
|
|
|
@ -479,7 +633,7 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
recover(mse); |
|
|
|
recover(mse); |
|
|
|
throw mse;} |
|
|
|
throw mse;} |
|
|
|
|
|
|
|
|
|
|
|
// InternalPattern.g:1867:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
|
|
|
|
// InternalPattern.g:1909:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
|
|
|
|
loop2: |
|
|
|
loop2: |
|
|
|
do { |
|
|
|
do { |
|
|
|
int alt2=2; |
|
|
|
int alt2=2; |
|
|
@ -528,10 +682,10 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
try { |
|
|
|
try { |
|
|
|
int _type = RULE_INT; |
|
|
|
int _type = RULE_INT; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
// InternalPattern.g:1869:10: ( ( '0' .. '9' )+ )
|
|
|
|
// InternalPattern.g:1911:10: ( ( '0' .. '9' )+ )
|
|
|
|
// InternalPattern.g:1869:12: ( '0' .. '9' )+
|
|
|
|
// InternalPattern.g:1911:12: ( '0' .. '9' )+
|
|
|
|
{ |
|
|
|
{ |
|
|
|
// InternalPattern.g:1869:12: ( '0' .. '9' )+
|
|
|
|
// InternalPattern.g:1911:12: ( '0' .. '9' )+
|
|
|
|
int cnt3=0; |
|
|
|
int cnt3=0; |
|
|
|
loop3: |
|
|
|
loop3: |
|
|
|
do { |
|
|
|
do { |
|
|
@ -545,7 +699,7 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
|
|
|
|
|
|
|
|
switch (alt3) { |
|
|
|
switch (alt3) { |
|
|
|
case 1 : |
|
|
|
case 1 : |
|
|
|
// InternalPattern.g:1869:13: '0' .. '9'
|
|
|
|
// InternalPattern.g:1911:13: '0' .. '9'
|
|
|
|
{ |
|
|
|
{ |
|
|
|
matchRange('0','9'); |
|
|
|
matchRange('0','9'); |
|
|
|
|
|
|
|
|
|
|
@ -577,10 +731,10 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
try { |
|
|
|
try { |
|
|
|
int _type = RULE_STRING; |
|
|
|
int _type = RULE_STRING; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
// InternalPattern.g:1871:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
|
|
|
|
// InternalPattern.g:1913:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
|
|
|
|
// InternalPattern.g:1871:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
|
|
|
|
// InternalPattern.g:1913:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
|
|
|
|
{ |
|
|
|
{ |
|
|
|
// InternalPattern.g:1871:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
|
|
|
|
// InternalPattern.g:1913:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
|
|
|
|
int alt6=2; |
|
|
|
int alt6=2; |
|
|
|
int LA6_0 = input.LA(1); |
|
|
|
int LA6_0 = input.LA(1); |
|
|
|
|
|
|
|
|
|
|
@ -598,10 +752,10 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
} |
|
|
|
} |
|
|
|
switch (alt6) { |
|
|
|
switch (alt6) { |
|
|
|
case 1 : |
|
|
|
case 1 : |
|
|
|
// InternalPattern.g:1871:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
|
|
|
|
// InternalPattern.g:1913:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
|
|
|
|
{ |
|
|
|
{ |
|
|
|
match('\"'); |
|
|
|
match('\"'); |
|
|
|
// InternalPattern.g:1871:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
|
|
|
|
// InternalPattern.g:1913:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
|
|
|
|
loop4: |
|
|
|
loop4: |
|
|
|
do { |
|
|
|
do { |
|
|
|
int alt4=3; |
|
|
|
int alt4=3; |
|
|
@ -617,7 +771,7 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
|
|
|
|
|
|
|
|
switch (alt4) { |
|
|
|
switch (alt4) { |
|
|
|
case 1 : |
|
|
|
case 1 : |
|
|
|
// InternalPattern.g:1871:21: '\\\\' .
|
|
|
|
// InternalPattern.g:1913:21: '\\\\' .
|
|
|
|
{ |
|
|
|
{ |
|
|
|
match('\\'); |
|
|
|
match('\\'); |
|
|
|
matchAny(); |
|
|
|
matchAny(); |
|
|
@ -625,7 +779,7 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 2 : |
|
|
|
case 2 : |
|
|
|
// InternalPattern.g:1871:28: ~ ( ( '\\\\' | '\"' ) )
|
|
|
|
// InternalPattern.g:1913:28: ~ ( ( '\\\\' | '\"' ) )
|
|
|
|
{ |
|
|
|
{ |
|
|
|
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
|
|
|
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
|
|
|
input.consume(); |
|
|
|
input.consume(); |
|
|
@ -650,10 +804,10 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 2 : |
|
|
|
case 2 : |
|
|
|
// InternalPattern.g:1871:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
|
|
|
|
// InternalPattern.g:1913:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
|
|
|
|
{ |
|
|
|
{ |
|
|
|
match('\''); |
|
|
|
match('\''); |
|
|
|
// InternalPattern.g:1871:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
|
|
|
|
// InternalPattern.g:1913:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
|
|
|
|
loop5: |
|
|
|
loop5: |
|
|
|
do { |
|
|
|
do { |
|
|
|
int alt5=3; |
|
|
|
int alt5=3; |
|
|
@ -669,7 +823,7 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
|
|
|
|
|
|
|
|
switch (alt5) { |
|
|
|
switch (alt5) { |
|
|
|
case 1 : |
|
|
|
case 1 : |
|
|
|
// InternalPattern.g:1871:54: '\\\\' .
|
|
|
|
// InternalPattern.g:1913:54: '\\\\' .
|
|
|
|
{ |
|
|
|
{ |
|
|
|
match('\\'); |
|
|
|
match('\\'); |
|
|
|
matchAny(); |
|
|
|
matchAny(); |
|
|
@ -677,7 +831,7 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 2 : |
|
|
|
case 2 : |
|
|
|
// InternalPattern.g:1871:61: ~ ( ( '\\\\' | '\\'' ) )
|
|
|
|
// InternalPattern.g:1913:61: ~ ( ( '\\\\' | '\\'' ) )
|
|
|
|
{ |
|
|
|
{ |
|
|
|
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
|
|
|
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
|
|
|
input.consume(); |
|
|
|
input.consume(); |
|
|
@ -720,12 +874,12 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
try { |
|
|
|
try { |
|
|
|
int _type = RULE_ML_COMMENT; |
|
|
|
int _type = RULE_ML_COMMENT; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
// InternalPattern.g:1873:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
|
|
|
|
// InternalPattern.g:1915:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
|
|
|
|
// InternalPattern.g:1873:19: '/*' ( options {greedy=false; } : . )* '*/'
|
|
|
|
// InternalPattern.g:1915:19: '/*' ( options {greedy=false; } : . )* '*/'
|
|
|
|
{ |
|
|
|
{ |
|
|
|
match("/*"); |
|
|
|
match("/*"); |
|
|
|
|
|
|
|
|
|
|
|
// InternalPattern.g:1873:24: ( options {greedy=false; } : . )*
|
|
|
|
// InternalPattern.g:1915:24: ( options {greedy=false; } : . )*
|
|
|
|
loop7: |
|
|
|
loop7: |
|
|
|
do { |
|
|
|
do { |
|
|
|
int alt7=2; |
|
|
|
int alt7=2; |
|
|
@ -750,7 +904,7 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
|
|
|
|
|
|
|
|
switch (alt7) { |
|
|
|
switch (alt7) { |
|
|
|
case 1 : |
|
|
|
case 1 : |
|
|
|
// InternalPattern.g:1873:52: .
|
|
|
|
// InternalPattern.g:1915:52: .
|
|
|
|
{ |
|
|
|
{ |
|
|
|
matchAny(); |
|
|
|
matchAny(); |
|
|
|
|
|
|
|
|
|
|
@ -780,12 +934,12 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
try { |
|
|
|
try { |
|
|
|
int _type = RULE_SL_COMMENT; |
|
|
|
int _type = RULE_SL_COMMENT; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
// InternalPattern.g:1875:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
|
|
|
|
// InternalPattern.g:1917:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
|
|
|
|
// InternalPattern.g:1875:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
|
|
|
|
// InternalPattern.g:1917:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
|
|
|
|
{ |
|
|
|
{ |
|
|
|
match("//"); |
|
|
|
match("//"); |
|
|
|
|
|
|
|
|
|
|
|
// InternalPattern.g:1875:24: (~ ( ( '\\n' | '\\r' ) ) )*
|
|
|
|
// InternalPattern.g:1917:24: (~ ( ( '\\n' | '\\r' ) ) )*
|
|
|
|
loop8: |
|
|
|
loop8: |
|
|
|
do { |
|
|
|
do { |
|
|
|
int alt8=2; |
|
|
|
int alt8=2; |
|
|
@ -798,7 +952,7 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
|
|
|
|
|
|
|
|
switch (alt8) { |
|
|
|
switch (alt8) { |
|
|
|
case 1 : |
|
|
|
case 1 : |
|
|
|
// InternalPattern.g:1875:24: ~ ( ( '\\n' | '\\r' ) )
|
|
|
|
// InternalPattern.g:1917: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') ) { |
|
|
|
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(); |
|
|
|
input.consume(); |
|
|
@ -818,7 +972,7 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
} |
|
|
|
} |
|
|
|
} while (true); |
|
|
|
} while (true); |
|
|
|
|
|
|
|
|
|
|
|
// InternalPattern.g:1875:40: ( ( '\\r' )? '\\n' )?
|
|
|
|
// InternalPattern.g:1917:40: ( ( '\\r' )? '\\n' )?
|
|
|
|
int alt10=2; |
|
|
|
int alt10=2; |
|
|
|
int LA10_0 = input.LA(1); |
|
|
|
int LA10_0 = input.LA(1); |
|
|
|
|
|
|
|
|
|
|
@ -827,9 +981,9 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
} |
|
|
|
} |
|
|
|
switch (alt10) { |
|
|
|
switch (alt10) { |
|
|
|
case 1 : |
|
|
|
case 1 : |
|
|
|
// InternalPattern.g:1875:41: ( '\\r' )? '\\n'
|
|
|
|
// InternalPattern.g:1917:41: ( '\\r' )? '\\n'
|
|
|
|
{ |
|
|
|
{ |
|
|
|
// InternalPattern.g:1875:41: ( '\\r' )?
|
|
|
|
// InternalPattern.g:1917:41: ( '\\r' )?
|
|
|
|
int alt9=2; |
|
|
|
int alt9=2; |
|
|
|
int LA9_0 = input.LA(1); |
|
|
|
int LA9_0 = input.LA(1); |
|
|
|
|
|
|
|
|
|
|
@ -838,7 +992,7 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
} |
|
|
|
} |
|
|
|
switch (alt9) { |
|
|
|
switch (alt9) { |
|
|
|
case 1 : |
|
|
|
case 1 : |
|
|
|
// InternalPattern.g:1875:41: '\\r'
|
|
|
|
// InternalPattern.g:1917:41: '\\r'
|
|
|
|
{ |
|
|
|
{ |
|
|
|
match('\r'); |
|
|
|
match('\r'); |
|
|
|
|
|
|
|
|
|
|
@ -870,10 +1024,10 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
try { |
|
|
|
try { |
|
|
|
int _type = RULE_WS; |
|
|
|
int _type = RULE_WS; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
// InternalPattern.g:1877:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
|
|
|
|
// InternalPattern.g:1919:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
|
|
|
|
// InternalPattern.g:1877:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
|
|
|
|
// InternalPattern.g:1919:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
|
|
|
|
{ |
|
|
|
{ |
|
|
|
// InternalPattern.g:1877:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
|
|
|
|
// InternalPattern.g:1919:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
|
|
|
|
int cnt11=0; |
|
|
|
int cnt11=0; |
|
|
|
loop11: |
|
|
|
loop11: |
|
|
|
do { |
|
|
|
do { |
|
|
@ -927,8 +1081,8 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
try { |
|
|
|
try { |
|
|
|
int _type = RULE_ANY_OTHER; |
|
|
|
int _type = RULE_ANY_OTHER; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
|
|
// InternalPattern.g:1879:16: ( . )
|
|
|
|
// InternalPattern.g:1921:16: ( . )
|
|
|
|
// InternalPattern.g:1879:18: .
|
|
|
|
// InternalPattern.g:1921:18: .
|
|
|
|
{ |
|
|
|
{ |
|
|
|
matchAny(); |
|
|
|
matchAny(); |
|
|
|
|
|
|
|
|
|
|
@ -943,8 +1097,8 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
// $ANTLR end "RULE_ANY_OTHER"
|
|
|
|
// $ANTLR end "RULE_ANY_OTHER"
|
|
|
|
|
|
|
|
|
|
|
|
public void mTokens() throws RecognitionException { |
|
|
|
public void mTokens() throws RecognitionException { |
|
|
|
// InternalPattern.g:1:8: ( T__11 | T__12 | T__13 | 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 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
|
|
|
|
// InternalPattern.g:1:8: ( T__11 | T__12 | T__13 | 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 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
|
|
|
|
int alt12=26; |
|
|
|
int alt12=33; |
|
|
|
alt12 = dfa12.predict(input); |
|
|
|
alt12 = dfa12.predict(input); |
|
|
|
switch (alt12) { |
|
|
|
switch (alt12) { |
|
|
|
case 1 : |
|
|
|
case 1 : |
|
|
@ -1081,49 +1235,98 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 20 : |
|
|
|
case 20 : |
|
|
|
// InternalPattern.g:1:124: RULE_ID
|
|
|
|
// InternalPattern.g:1:124: T__30
|
|
|
|
{ |
|
|
|
{ |
|
|
|
mRULE_ID(); |
|
|
|
mT__30(); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 21 : |
|
|
|
case 21 : |
|
|
|
// InternalPattern.g:1:132: RULE_INT
|
|
|
|
// InternalPattern.g:1:130: T__31
|
|
|
|
{ |
|
|
|
{ |
|
|
|
mRULE_INT(); |
|
|
|
mT__31(); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 22 : |
|
|
|
case 22 : |
|
|
|
// InternalPattern.g:1:141: RULE_STRING
|
|
|
|
// InternalPattern.g:1:136: T__32
|
|
|
|
{ |
|
|
|
{ |
|
|
|
mRULE_STRING(); |
|
|
|
mT__32(); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 23 : |
|
|
|
case 23 : |
|
|
|
// InternalPattern.g:1:153: RULE_ML_COMMENT
|
|
|
|
// InternalPattern.g:1:142: T__33
|
|
|
|
{ |
|
|
|
{ |
|
|
|
mRULE_ML_COMMENT(); |
|
|
|
mT__33(); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 24 : |
|
|
|
case 24 : |
|
|
|
// InternalPattern.g:1:169: RULE_SL_COMMENT
|
|
|
|
// InternalPattern.g:1:148: T__34
|
|
|
|
{ |
|
|
|
{ |
|
|
|
mRULE_SL_COMMENT(); |
|
|
|
mT__34(); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 25 : |
|
|
|
case 25 : |
|
|
|
// InternalPattern.g:1:185: RULE_WS
|
|
|
|
// InternalPattern.g:1:154: T__35
|
|
|
|
{ |
|
|
|
{ |
|
|
|
mRULE_WS(); |
|
|
|
mT__35(); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 26 : |
|
|
|
case 26 : |
|
|
|
// InternalPattern.g:1:193: RULE_ANY_OTHER
|
|
|
|
// InternalPattern.g:1:160: T__36
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
mT__36(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case 27 : |
|
|
|
|
|
|
|
// InternalPattern.g:1:166: RULE_ID
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
mRULE_ID(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case 28 : |
|
|
|
|
|
|
|
// InternalPattern.g:1:174: RULE_INT
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
mRULE_INT(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case 29 : |
|
|
|
|
|
|
|
// InternalPattern.g:1:183: RULE_STRING
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
mRULE_STRING(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case 30 : |
|
|
|
|
|
|
|
// InternalPattern.g:1:195: RULE_ML_COMMENT
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
mRULE_ML_COMMENT(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case 31 : |
|
|
|
|
|
|
|
// InternalPattern.g:1:211: RULE_SL_COMMENT
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
mRULE_SL_COMMENT(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case 32 : |
|
|
|
|
|
|
|
// InternalPattern.g:1:227: RULE_WS
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
mRULE_WS(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case 33 : |
|
|
|
|
|
|
|
// InternalPattern.g:1:235: RULE_ANY_OTHER
|
|
|
|
{ |
|
|
|
{ |
|
|
|
mRULE_ANY_OTHER(); |
|
|
|
mRULE_ANY_OTHER(); |
|
|
|
|
|
|
|
|
|
|
@ -1137,17 +1340,17 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
|
|
|
|
|
|
|
|
protected DFA12 dfa12 = new DFA12(this); |
|
|
|
protected DFA12 dfa12 = new DFA12(this); |
|
|
|
static final String DFA12_eotS = |
|
|
|
static final String DFA12_eotS = |
|
|
|
"\1\uffff\3\30\1\26\1\30\5\uffff\1\30\3\uffff\1\26\2\uffff\3\26\2\uffff\1\30\1\uffff\1\55\1\30\1\uffff\1\30\5\uffff\1\30\10\uffff\2\30\1\uffff\1\70\5\uffff\4\30\1\uffff\3\30\1\100\2\30\1\103\1\uffff\2\30\1\uffff\1\106\1\30\1\uffff\1\30\1\111\1\uffff"; |
|
|
|
"\1\uffff\3\30\1\26\1\30\5\uffff\1\30\3\uffff\1\26\2\uffff\3\26\2\uffff\1\30\1\uffff\1\55\1\30\1\uffff\1\30\5\uffff\1\30\10\uffff\2\30\1\uffff\1\72\7\uffff\4\30\6\uffff\3\30\1\112\3\uffff\2\30\1\120\4\uffff\2\30\6\uffff\1\132\1\30\3\uffff\1\30\1\135\1\uffff"; |
|
|
|
static final String DFA12_eofS = |
|
|
|
static final String DFA12_eofS = |
|
|
|
"\112\uffff"; |
|
|
|
"\136\uffff"; |
|
|
|
static final String DFA12_minS = |
|
|
|
static final String DFA12_minS = |
|
|
|
"\1\0\2\156\1\165\1\173\1\141\5\uffff\1\157\3\uffff\1\101\2\uffff\2\0\1\52\2\uffff\1\163\1\uffff\1\60\1\164\1\106\1\164\5\uffff\1\155\10\uffff\1\160\1\165\1\uffff\1\60\5\uffff\1\164\1\160\1\145\1\164\1\uffff\1\145\1\157\1\143\1\60\1\162\1\156\1\60\1\uffff\1\156\1\145\1\uffff\1\60\1\156\1\uffff\1\164\1\60\1\uffff"; |
|
|
|
"\1\0\2\156\1\165\1\173\1\141\5\uffff\1\157\3\uffff\1\101\2\uffff\2\0\1\52\2\uffff\1\163\1\uffff\1\60\1\164\1\106\1\164\5\uffff\1\155\10\uffff\1\160\1\165\1\uffff\1\60\2\uffff\1\151\1\uffff\1\150\1\157\1\uffff\1\164\1\160\1\145\1\164\3\uffff\1\162\2\151\1\145\1\157\1\143\1\60\1\153\1\146\1\156\1\162\1\156\1\60\1\uffff\1\103\1\164\1\103\1\156\1\145\3\uffff\1\103\2\uffff\1\60\1\156\3\uffff\1\164\1\60\1\uffff"; |
|
|
|
static final String DFA12_maxS = |
|
|
|
static final String DFA12_maxS = |
|
|
|
"\1\uffff\2\156\1\165\1\173\1\141\5\uffff\1\157\3\uffff\1\172\2\uffff\2\uffff\1\57\2\uffff\1\163\1\uffff\1\172\1\164\1\124\1\164\5\uffff\1\155\10\uffff\1\160\1\165\1\uffff\1\172\5\uffff\1\164\1\160\1\145\1\164\1\uffff\1\145\1\157\1\143\1\172\1\162\1\156\1\172\1\uffff\1\156\1\145\1\uffff\1\172\1\156\1\uffff\1\164\1\172\1\uffff"; |
|
|
|
"\1\uffff\2\156\1\165\1\173\1\141\5\uffff\1\157\3\uffff\1\172\2\uffff\2\uffff\1\57\2\uffff\1\163\1\uffff\1\172\1\164\1\124\1\164\5\uffff\1\155\10\uffff\1\160\1\165\1\uffff\1\172\2\uffff\1\157\1\uffff\1\150\1\157\1\uffff\1\164\1\160\1\145\1\164\3\uffff\1\162\2\151\1\145\1\157\1\143\1\172\1\153\1\146\1\156\1\162\1\156\1\172\1\uffff\1\120\1\164\1\120\1\156\1\145\3\uffff\1\120\2\uffff\1\172\1\156\3\uffff\1\164\1\172\1\uffff"; |
|
|
|
static final String DFA12_acceptS = |
|
|
|
static final String DFA12_acceptS = |
|
|
|
"\6\uffff\1\13\1\14\1\15\1\16\1\17\1\uffff\1\21\1\22\1\23\1\uffff\1\24\1\25\3\uffff\1\31\1\32\1\uffff\1\24\4\uffff\1\13\1\14\1\15\1\16\1\17\1\uffff\1\21\1\22\1\23\1\25\1\26\1\27\1\30\1\31\2\uffff\1\2\1\uffff\1\5\1\6\1\7\1\10\1\11\4\uffff\1\3\7\uffff\1\4\2\uffff\1\1\2\uffff\1\12\2\uffff\1\20"; |
|
|
|
"\6\uffff\1\22\1\23\1\24\1\25\1\26\1\uffff\1\30\1\31\1\32\1\uffff\1\33\1\34\3\uffff\1\40\1\41\1\uffff\1\33\4\uffff\1\22\1\23\1\24\1\25\1\26\1\uffff\1\30\1\31\1\32\1\34\1\35\1\36\1\37\1\40\2\uffff\1\2\1\uffff\1\5\1\6\1\uffff\1\10\2\uffff\1\20\4\uffff\1\3\1\7\1\13\15\uffff\1\4\5\uffff\1\1\1\14\1\15\1\uffff\1\16\1\17\2\uffff\1\11\1\12\1\21\2\uffff\1\27"; |
|
|
|
static final String DFA12_specialS = |
|
|
|
static final String DFA12_specialS = |
|
|
|
"\1\1\21\uffff\1\2\1\0\66\uffff}>"; |
|
|
|
"\1\1\21\uffff\1\2\1\0\112\uffff}>"; |
|
|
|
static final String[] DFA12_transitionS = { |
|
|
|
static final String[] DFA12_transitionS = { |
|
|
|
"\11\26\2\25\2\26\1\25\22\26\1\25\1\26\1\22\4\26\1\23\1\6\1\7\2\26\1\10\1\4\1\16\1\24\12\21\7\26\32\20\1\14\1\26\1\15\1\17\1\20\1\26\2\20\1\13\5\20\1\2\5\20\1\3\1\5\4\20\1\1\5\20\1\11\1\26\1\12\uff82\26", |
|
|
|
"\11\26\2\25\2\26\1\25\22\26\1\25\1\26\1\22\4\26\1\23\1\6\1\7\2\26\1\10\1\4\1\16\1\24\12\21\7\26\32\20\1\14\1\26\1\15\1\17\1\20\1\26\2\20\1\13\5\20\1\2\5\20\1\3\1\5\4\20\1\1\5\20\1\11\1\26\1\12\uff82\26", |
|
|
|
"\1\27", |
|
|
|
"\1\27", |
|
|
@ -1176,14 +1379,14 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
"", |
|
|
|
"", |
|
|
|
"\12\30\7\uffff\32\30\4\uffff\1\30\1\uffff\16\30\1\54\13\30", |
|
|
|
"\12\30\7\uffff\32\30\4\uffff\1\30\1\uffff\16\30\1\54\13\30", |
|
|
|
"\1\56", |
|
|
|
"\1\56", |
|
|
|
"\1\61\2\uffff\1\60\10\uffff\1\62\1\63\1\57", |
|
|
|
"\1\61\2\uffff\1\60\1\64\1\uffff\1\65\5\uffff\1\62\1\63\1\57", |
|
|
|
"\1\64", |
|
|
|
"\1\66", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"\1\65", |
|
|
|
"\1\67", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"", |
|
|
@ -1192,35 +1395,55 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
"", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"\1\66", |
|
|
|
"\1\70", |
|
|
|
"\1\67", |
|
|
|
"\1\71", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"\12\30\7\uffff\32\30\4\uffff\1\30\1\uffff\32\30", |
|
|
|
"\12\30\7\uffff\32\30\4\uffff\1\30\1\uffff\32\30", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"", |
|
|
|
|
|
|
|
"\1\73\2\uffff\1\74\2\uffff\1\75", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"", |
|
|
|
|
|
|
|
"", |
|
|
|
|
|
|
|
"\1\71", |
|
|
|
|
|
|
|
"\1\72", |
|
|
|
|
|
|
|
"\1\73", |
|
|
|
|
|
|
|
"\1\74", |
|
|
|
|
|
|
|
"", |
|
|
|
|
|
|
|
"\1\75", |
|
|
|
|
|
|
|
"\1\76", |
|
|
|
"\1\76", |
|
|
|
"\1\77", |
|
|
|
"\1\77", |
|
|
|
"\12\30\7\uffff\32\30\4\uffff\1\30\1\uffff\32\30", |
|
|
|
"", |
|
|
|
|
|
|
|
"\1\100", |
|
|
|
"\1\101", |
|
|
|
"\1\101", |
|
|
|
"\1\102", |
|
|
|
"\1\102", |
|
|
|
"\12\30\7\uffff\32\30\4\uffff\1\30\1\uffff\32\30", |
|
|
|
"\1\103", |
|
|
|
|
|
|
|
"", |
|
|
|
|
|
|
|
"", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"\1\104", |
|
|
|
"\1\104", |
|
|
|
"\1\105", |
|
|
|
"\1\105", |
|
|
|
|
|
|
|
"\1\106", |
|
|
|
|
|
|
|
"\1\107", |
|
|
|
|
|
|
|
"\1\110", |
|
|
|
|
|
|
|
"\1\111", |
|
|
|
|
|
|
|
"\12\30\7\uffff\32\30\4\uffff\1\30\1\uffff\32\30", |
|
|
|
|
|
|
|
"\1\113", |
|
|
|
|
|
|
|
"\1\114", |
|
|
|
|
|
|
|
"\1\115", |
|
|
|
|
|
|
|
"\1\116", |
|
|
|
|
|
|
|
"\1\117", |
|
|
|
|
|
|
|
"\12\30\7\uffff\32\30\4\uffff\1\30\1\uffff\32\30", |
|
|
|
|
|
|
|
"", |
|
|
|
|
|
|
|
"\1\121\14\uffff\1\122", |
|
|
|
|
|
|
|
"\1\123", |
|
|
|
|
|
|
|
"\1\124\14\uffff\1\125", |
|
|
|
|
|
|
|
"\1\126", |
|
|
|
|
|
|
|
"\1\127", |
|
|
|
|
|
|
|
"", |
|
|
|
|
|
|
|
"", |
|
|
|
|
|
|
|
"", |
|
|
|
|
|
|
|
"\1\130\14\uffff\1\131", |
|
|
|
|
|
|
|
"", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"\12\30\7\uffff\32\30\4\uffff\1\30\1\uffff\32\30", |
|
|
|
"\12\30\7\uffff\32\30\4\uffff\1\30\1\uffff\32\30", |
|
|
|
"\1\107", |
|
|
|
"\1\133", |
|
|
|
"", |
|
|
|
"", |
|
|
|
"\1\110", |
|
|
|
"", |
|
|
|
|
|
|
|
"", |
|
|
|
|
|
|
|
"\1\134", |
|
|
|
"\12\30\7\uffff\32\30\4\uffff\1\30\1\uffff\32\30", |
|
|
|
"\12\30\7\uffff\32\30\4\uffff\1\30\1\uffff\32\30", |
|
|
|
"" |
|
|
|
"" |
|
|
|
}; |
|
|
|
}; |
|
|
@ -1255,7 +1478,7 @@ public class InternalPatternLexer extends Lexer { |
|
|
|
this.transition = DFA12_transition; |
|
|
|
this.transition = DFA12_transition; |
|
|
|
} |
|
|
|
} |
|
|
|
public String getDescription() { |
|
|
|
public String getDescription() { |
|
|
|
return "1:1: Tokens : ( T__11 | T__12 | T__13 | 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 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; |
|
|
|
return "1:1: Tokens : ( T__11 | T__12 | T__13 | 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 | 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 { |
|
|
|
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
|
|
|
IntStream input = _input; |
|
|
|
IntStream input = _input; |
|
|
|