public class MemoMatcher extends DelegatingMatcher
Matcher
that performs memoization of its submatcher.
This class is not intended to be instantiated or sub-classed by clients.
Matcher.MatchResult
Constructor and Description |
---|
MemoMatcher(Matcher delegate) |
Modifier and Type | Method and Description |
---|---|
protected Matcher.MatchResult |
doMatch(ParsingState parsingState) |
getDelegate, toString, unwrap
equals, hashCode, match, matchWorker
getMemoizedAst, memoizeAst
enterEvent, exitWithMatchEvent, exitWithoutMatchEvent, isMatching, matchToIndex
public MemoMatcher(Matcher delegate)
protected Matcher.MatchResult doMatch(ParsingState parsingState)
doMatch
in class DelegatingMatcher
Copyright © 2012 SonarSource. All Rights Reserved.