public class ChangeWeightLexerMatcher extends AbstractLexerMatcherWrapper
LexerMatcher.Priority
Constructor and Description |
---|
ChangeWeightLexerMatcher() |
ChangeWeightLexerMatcher(LexerMatcher wrapped,
int weightDiff) |
Modifier and Type | Method and Description |
---|---|
LexerMatcher |
getMatcher() |
Matcher |
getMatcher(LexerParser parser) |
int |
getWeightDiff() |
protected boolean |
internalEquals(AbstractLexerMatcherWrapper obj) |
protected int |
internalHashCode() |
void |
setMatcher(LexerMatcher wrapped) |
void |
setWeightDiff(int weightDiff) |
equals, getDslDoc, getFollowingCharPattern, getListener, getMatcherAutoCompleteConfiguration, getPreviousCharPattern, getPriority, getWrapped, hashCode, isExclusionHierarchyBreaker, isSkipMatchText, isSkipSpacesBeforeMatch, setDslDoc, setMatcherAutoCompleteConfiguration, setWrapped
public ChangeWeightLexerMatcher()
public ChangeWeightLexerMatcher(LexerMatcher wrapped, int weightDiff)
public Matcher getMatcher(LexerParser parser) throws DslException
getMatcher
in interface LexerMatcher
getMatcher
in class AbstractLexerMatcherWrapper
DslException
public int getWeightDiff()
public void setWeightDiff(int weightDiff)
public LexerMatcher getMatcher()
public void setMatcher(LexerMatcher wrapped)
protected int internalHashCode()
internalHashCode
in class AbstractLexerMatcherWrapper
protected boolean internalEquals(AbstractLexerMatcherWrapper obj)
internalEquals
in class AbstractLexerMatcherWrapper