Class GroupMatcherParser
- java.lang.Object
-
- org.apache.maven.surefire.group.parse.GroupMatcherParser
-
- All Implemented Interfaces:
GroupMatcherParserConstants
public class GroupMatcherParser extends java.lang.Object implements GroupMatcherParserConstants
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
GroupMatcherParser.JJCalls
private static class
GroupMatcherParser.LookaheadSuccess
static class
GroupMatcherParser.Op
-
Field Summary
Fields Modifier and Type Field Description private GroupMatcherParser.JJCalls[]
jj_2_rtns
private int
jj_endpos
private java.util.List<int[]>
jj_expentries
private int[]
jj_expentry
private int
jj_gc
private int
jj_gen
(package private) SimpleCharStream
jj_input_stream
private int
jj_kind
private int
jj_la
private int[]
jj_la1
private static int[]
jj_la1_0
private Token
jj_lastpos
private int[]
jj_lasttokens
private GroupMatcherParser.LookaheadSuccess
jj_ls
Token
jj_nt
Next token.private int
jj_ntk
private boolean
jj_rescan
private Token
jj_scanpos
Token
token
Current token.GroupMatcherParserTokenManager
token_source
Generated Token Manager.private boolean
trace_enabled
private int
trace_indent
-
Constructor Summary
Constructors Constructor Description GroupMatcherParser(java.io.InputStream stream)
Constructor with InputStream.GroupMatcherParser(java.io.InputStream stream, java.lang.String encoding)
Constructor with InputStream and supplied encodingGroupMatcherParser(java.io.Reader stream)
Constructor.GroupMatcherParser(java.lang.String expression)
GroupMatcherParser(GroupMatcherParserTokenManager tm)
Constructor with generated Token Manager.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disable_tracing()
Disable tracing.void
enable_tracing()
Enable tracing.GroupMatcher
expr()
ParseException
generateParseException()
Generate ParseException.private GroupMatcher
getMatcher(GroupMatcherParser.Op op, GroupMatcher... matchers)
Token
getNextToken()
Get the next Token.Token
getToken(int index)
Get the specific Token.GroupMatcher
group()
GroupMatcher
igroup()
private boolean
jj_2_1(int xla)
private boolean
jj_2_10(int xla)
private boolean
jj_2_11(int xla)
private boolean
jj_2_12(int xla)
private boolean
jj_2_13(int xla)
private boolean
jj_2_2(int xla)
private boolean
jj_2_3(int xla)
private boolean
jj_2_4(int xla)
private boolean
jj_2_5(int xla)
private boolean
jj_2_6(int xla)
private boolean
jj_2_7(int xla)
private boolean
jj_2_8(int xla)
private boolean
jj_2_9(int xla)
private boolean
jj_3_1()
private boolean
jj_3_10()
private boolean
jj_3_11()
private boolean
jj_3_12()
private boolean
jj_3_13()
private boolean
jj_3_2()
private boolean
jj_3_3()
private boolean
jj_3_4()
private boolean
jj_3_5()
private boolean
jj_3_6()
private boolean
jj_3_7()
private boolean
jj_3_8()
private boolean
jj_3_9()
private boolean
jj_3R_1()
private boolean
jj_3R_2()
private boolean
jj_3R_3()
private boolean
jj_3R_4()
private boolean
jj_3R_5()
private boolean
jj_3R_6()
private void
jj_add_error_token(int kind, int pos)
private Token
jj_consume_token(int kind)
private static void
jj_la1_init_0()
private int
jj_ntk_f()
private void
jj_rescan_token()
private void
jj_save(int index, int xla)
private boolean
jj_scan_token(int kind)
static void
main(java.lang.String[] args)
void
not()
GroupMatcherParser.Op
op()
GroupMatcher
parse()
void
ReInit(java.io.InputStream stream)
Reinitialise.void
ReInit(java.io.InputStream stream, java.lang.String encoding)
Reinitialise.void
ReInit(java.io.Reader stream)
Reinitialise.void
ReInit(GroupMatcherParserTokenManager tm)
Reinitialise.boolean
trace_enabled()
Trace enabled.GroupMatcher
value()
-
-
-
Field Detail
-
token_source
public GroupMatcherParserTokenManager token_source
Generated Token Manager.
-
jj_input_stream
SimpleCharStream jj_input_stream
-
token
public Token token
Current token.
-
jj_nt
public Token jj_nt
Next token.
-
jj_ntk
private int jj_ntk
-
jj_scanpos
private Token jj_scanpos
-
jj_lastpos
private Token jj_lastpos
-
jj_la
private int jj_la
-
jj_gen
private int jj_gen
-
jj_la1
private final int[] jj_la1
-
jj_la1_0
private static int[] jj_la1_0
-
jj_2_rtns
private final GroupMatcherParser.JJCalls[] jj_2_rtns
-
jj_rescan
private boolean jj_rescan
-
jj_gc
private int jj_gc
-
jj_ls
private final GroupMatcherParser.LookaheadSuccess jj_ls
-
jj_expentries
private java.util.List<int[]> jj_expentries
-
jj_expentry
private int[] jj_expentry
-
jj_kind
private int jj_kind
-
jj_lasttokens
private int[] jj_lasttokens
-
jj_endpos
private int jj_endpos
-
trace_indent
private int trace_indent
-
trace_enabled
private boolean trace_enabled
-
-
Constructor Detail
-
GroupMatcherParser
public GroupMatcherParser(java.lang.String expression)
-
GroupMatcherParser
public GroupMatcherParser(java.io.InputStream stream)
Constructor with InputStream.
-
GroupMatcherParser
public GroupMatcherParser(java.io.InputStream stream, java.lang.String encoding)
Constructor with InputStream and supplied encoding
-
GroupMatcherParser
public GroupMatcherParser(java.io.Reader stream)
Constructor.
-
GroupMatcherParser
public GroupMatcherParser(GroupMatcherParserTokenManager tm)
Constructor with generated Token Manager.
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getMatcher
private GroupMatcher getMatcher(GroupMatcherParser.Op op, GroupMatcher... matchers)
-
parse
public final GroupMatcher parse() throws ParseException
- Throws:
ParseException
-
expr
public final GroupMatcher expr() throws ParseException
- Throws:
ParseException
-
igroup
public final GroupMatcher igroup() throws ParseException
- Throws:
ParseException
-
group
public final GroupMatcher group() throws ParseException
- Throws:
ParseException
-
value
public final GroupMatcher value() throws ParseException
- Throws:
ParseException
-
op
public final GroupMatcherParser.Op op() throws ParseException
- Throws:
ParseException
-
not
public final void not() throws ParseException
- Throws:
ParseException
-
jj_2_1
private boolean jj_2_1(int xla)
-
jj_2_2
private boolean jj_2_2(int xla)
-
jj_2_3
private boolean jj_2_3(int xla)
-
jj_2_4
private boolean jj_2_4(int xla)
-
jj_2_5
private boolean jj_2_5(int xla)
-
jj_2_6
private boolean jj_2_6(int xla)
-
jj_2_7
private boolean jj_2_7(int xla)
-
jj_2_8
private boolean jj_2_8(int xla)
-
jj_2_9
private boolean jj_2_9(int xla)
-
jj_2_10
private boolean jj_2_10(int xla)
-
jj_2_11
private boolean jj_2_11(int xla)
-
jj_2_12
private boolean jj_2_12(int xla)
-
jj_2_13
private boolean jj_2_13(int xla)
-
jj_3_8
private boolean jj_3_8()
-
jj_3_7
private boolean jj_3_7()
-
jj_3_3
private boolean jj_3_3()
-
jj_3R_3
private boolean jj_3R_3()
-
jj_3_6
private boolean jj_3_6()
-
jj_3R_6
private boolean jj_3R_6()
-
jj_3R_1
private boolean jj_3R_1()
-
jj_3_13
private boolean jj_3_13()
-
jj_3_2
private boolean jj_3_2()
-
jj_3_1
private boolean jj_3_1()
-
jj_3R_5
private boolean jj_3R_5()
-
jj_3_12
private boolean jj_3_12()
-
jj_3R_4
private boolean jj_3R_4()
-
jj_3_5
private boolean jj_3_5()
-
jj_3_11
private boolean jj_3_11()
-
jj_3_10
private boolean jj_3_10()
-
jj_3_4
private boolean jj_3_4()
-
jj_3R_2
private boolean jj_3R_2()
-
jj_3_9
private boolean jj_3_9()
-
jj_la1_init_0
private static void jj_la1_init_0()
-
ReInit
public void ReInit(java.io.InputStream stream)
Reinitialise.
-
ReInit
public void ReInit(java.io.InputStream stream, java.lang.String encoding)
Reinitialise.
-
ReInit
public void ReInit(java.io.Reader stream)
Reinitialise.
-
ReInit
public void ReInit(GroupMatcherParserTokenManager tm)
Reinitialise.
-
jj_consume_token
private Token jj_consume_token(int kind) throws ParseException
- Throws:
ParseException
-
jj_scan_token
private boolean jj_scan_token(int kind)
-
getNextToken
public final Token getNextToken()
Get the next Token.
-
getToken
public final Token getToken(int index)
Get the specific Token.
-
jj_ntk_f
private int jj_ntk_f()
-
jj_add_error_token
private void jj_add_error_token(int kind, int pos)
-
generateParseException
public ParseException generateParseException()
Generate ParseException.
-
trace_enabled
public final boolean trace_enabled()
Trace enabled.
-
enable_tracing
public final void enable_tracing()
Enable tracing.
-
disable_tracing
public final void disable_tracing()
Disable tracing.
-
jj_rescan_token
private void jj_rescan_token()
-
jj_save
private void jj_save(int index, int xla)
-
-