public class TokenPatternImpl extends Object implements TokenPattern
TokenPattern.WITH_WHITESPACE| Constructor and Description |
|---|
TokenPatternImpl(int flags,
MatcherNode node) |
| Modifier and Type | Method and Description |
|---|---|
static TokenPattern |
compile(String source,
int flags)
Compile a pattern that can be used to match tokens.
|
TokenMatcher |
matcher()
Create a new matcher for streaming matching.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompilepublic TokenPatternImpl(int flags,
MatcherNode node)
public TokenMatcher matcher()
TokenPatternmatcher in interface TokenPatternpublic static TokenPattern compile(String source, int flags)
TokenPatterncompile in interface TokenPatternCopyright © 2018. All rights reserved.