public abstract class MemoizedMatcher extends Matcher
This class is not intended to be instantiated or sub-classed by clients.
Matcher.MatchResult
Constructor and Description |
---|
MemoizedMatcher(Matcher... children) |
Modifier and Type | Method and Description |
---|---|
protected AstNode |
getMemoizedAst(ParsingState parsingState) |
AstNode |
match(ParsingState parsingState) |
protected abstract AstNode |
matchWorker(ParsingState parsingState) |
protected void |
memoizeAst(ParsingState parsingState,
AstNode astNode) |
doMatch, enterEvent, exitWithMatchEvent, exitWithoutMatchEvent, isMatching, matchToIndex
public MemoizedMatcher(Matcher... children)
public AstNode match(ParsingState parsingState)
protected void memoizeAst(ParsingState parsingState, AstNode astNode)
protected AstNode getMemoizedAst(ParsingState parsingState)
protected abstract AstNode matchWorker(ParsingState parsingState)
Copyright © 2012 SonarSource. All Rights Reserved.