public class StandardMatcher extends MemoizedMatcher
BacktrackingEvent
from Matcher
s.
This class is not intended to be instantiated or sub-classed by clients.
Matcher.MatchResult
Modifier | Constructor and Description |
---|---|
protected |
StandardMatcher(Matcher... matchers) |
Modifier and Type | Method and Description |
---|---|
protected Matcher.MatchResult |
doMatch(ParsingState parsingState) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
AstNode |
match(ParsingState parsingState) |
protected AstNode |
matchWorker(ParsingState parsingState) |
getMemoizedAst, memoizeAst
enterEvent, exitWithMatchEvent, exitWithoutMatchEvent, isMatching, matchToIndex
protected StandardMatcher(Matcher... matchers)
public final AstNode match(ParsingState parsingState)
match
in class MemoizedMatcher
protected Matcher.MatchResult doMatch(ParsingState parsingState)
protected final AstNode matchWorker(ParsingState parsingState)
matchWorker
in class MemoizedMatcher
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2012 SonarSource. All Rights Reserved.