public abstract class AbstractLeafLexerMatcher extends AbstractLexerMatcher
LexerMatcher.Priority
Constructor and Description |
---|
AbstractLeafLexerMatcher() |
Modifier and Type | Method and Description |
---|---|
String |
getFollowingChar() |
Pattern |
getFollowingCharPattern() |
String |
getPreviousChar() |
Pattern |
getPreviousCharPattern() |
protected boolean |
internalEquals(AbstractLexerMatcher obj) |
protected int |
internalHashCode() |
protected abstract boolean |
internalLeafEquals(AbstractLeafLexerMatcher obj) |
protected abstract int |
internalLeafHashCode() |
boolean |
isSkipMatchText() |
boolean |
isSkipSpacesBeforeMatch()
In general, should be true, because spaces are unused characters.
|
void |
setFollowingChar(String followingChar) |
void |
setPreviousChar(String previousChar) |
void |
setSkipMatchText(boolean skipMatchText) |
void |
setSkipSpacesBeforeMatch(boolean skipSpacesBeforeMatch) |
equals, getDslDoc, getListener, getListenerClass, getMatcherAutoCompleteConfiguration, getPriority, hashCode, isExclusionHierarchyBreaker, setDslDoc, setExclusionHierarchyBreaker, setListenerClass, setMatcherAutoCompleteConfiguration, setPriority
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getMatcher
public Pattern getPreviousCharPattern()
public String getPreviousChar()
public void setPreviousChar(String previousChar)
public Pattern getFollowingCharPattern()
public String getFollowingChar()
public void setFollowingChar(String followingChar)
public boolean isSkipMatchText()
public void setSkipMatchText(boolean skipMatchText)
public boolean isSkipSpacesBeforeMatch()
LexerMatcher
public void setSkipSpacesBeforeMatch(boolean skipSpacesBeforeMatch)
protected final int internalHashCode()
internalHashCode
in class AbstractLexerMatcher
protected abstract int internalLeafHashCode()
protected final boolean internalEquals(AbstractLexerMatcher obj)
internalEquals
in class AbstractLexerMatcher
protected abstract boolean internalLeafEquals(AbstractLeafLexerMatcher obj)