51525354555657
int state = LITERAL_STATE; int pointer = 0; // this variant should be used for testing purposes only TokenStream(String pattern) { this(pattern, new RegularEscapeUtil()); }
61626364656667
Parser(TokenStream ts) throws ScanException { this.tokenList = ts.tokenize(); } public Parser(String pattern) throws ScanException { this(pattern, new RegularEscapeUtil()); }
57585960616263
TokenizerState state = TokenizerState.LITERAL_STATE; int pointer = 0; // this variant should be used for testing purposes only TokenStream(String pattern) { this(pattern, new RegularEscapeUtil()); }
32333435363738
this.tokenList = ts.tokenize(); } // this variant should be used for testing purposes only public Parser(String pattern) throws ScanException { this(pattern, new RegularEscapeUtil()); }
55565758596061
41424344454647
/** * This variant is used in tests * @param pattern */ OptionTokenizer(String pattern) { this(pattern, new RegularEscapeUtil()); }
20212223242526
28293031323334