public final class RuleMatcher extends StandardMatcher
This class is not intended to be instantiated or sub-classed by clients.
Matcher.MatchResult
Constructor and Description |
---|
RuleMatcher(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected Matcher.MatchResult |
doMatch(ParsingState parsingState) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName() |
int |
hashCode() |
void |
recoveryRule() |
void |
setNodeType(AstNodeType astNodeType) |
java.lang.String |
toString() |
match, matchWorker
getMemoizedAst, memoizeAst
enterEvent, exitWithMatchEvent, exitWithoutMatchEvent, isMatching, matchToIndex
protected Matcher.MatchResult doMatch(ParsingState parsingState)
doMatch
in class StandardMatcher
public void setNodeType(AstNodeType astNodeType)
public java.lang.String getName()
public void recoveryRule()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class StandardMatcher
public int hashCode()
hashCode
in class StandardMatcher
Copyright © 2012 SonarSource. All Rights Reserved.