A
- attributepublic interface LookaheadMatcher<A> extends ThenMatcher<A>
Modifier and Type | Method and Description |
---|---|
default LookaheadMatcher<A> |
lookahead(PatternMatcher<A> matcher)
matches the pattern not consuming the string to be matched.
|
default LookaheadMatcher<A> |
lookaheadNot(PatternMatcher<A> matcher)
matches the pattern not consuming the string to be not matched.
|
regex, regex, string, string, then, then, thenAtLeast, thenAtLeast, thenAtMost, thenAtMost, thenDelimit, thenDelimit, thenMaybe, thenMaybe, thenOneOrMore, thenOneOrMore, thenTimes, thenTimes, thenZeroOrMore, thenZeroOrMore
atLeast, atLeast, atMost, atMost, cond, delimit, delimit, end, maybe, maybe, oneOrMore, oneOrMore, skipSpace, times, times, zeroOrMore, zeroOrMore
match, match, parse, parsePart, parsePart, parsePartGlobal, parsePartGlobal, parsePartGlobalList, parsePartGlobalList
default LookaheadMatcher<A> lookahead(PatternMatcher<A> matcher)
matcher
- a pattern to matchdefault LookaheadMatcher<A> lookaheadNot(PatternMatcher<A> matcher)
matcher
- a pattern to match