public class SkipNestedPattern extends TokenPatternBase
Constructor and Description |
---|
SkipNestedPattern(TokenPatternBase openMatcher,
TokenPatternBase closeMatcher,
boolean optional)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected TokenPatternMatch |
matchesLocally(TokenStream stream)
Tries to match this pattern at the current position of the given stream.
|
java.lang.String |
toString() |
createMatch, setGroupIndex
public SkipNestedPattern(TokenPatternBase openMatcher, TokenPatternBase closeMatcher, boolean optional)
protected TokenPatternMatch matchesLocally(TokenStream stream)
null
otherwise. May modify
the stream's position.matchesLocally
in class TokenPatternBase
public java.lang.String toString()
toString
in class java.lang.Object