public abstract class AbstractLexerMatcher extends Object implements LexerMatcher
LexerMatcher.Priority
Constructor and Description |
---|
AbstractLexerMatcher() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
DslDoc |
getDslDoc()
Extra documentation used by doc gen.
|
MatcherListener |
getListener()
Retrieves the MatcherListener if configured.
|
Class<? extends MatcherListener> |
getListenerClass() |
AutoCompleteConfiguration |
getMatcherAutoCompleteConfiguration()
Allows to configure a preferred autoComplete scheme for this lexer matcher.
|
LexerMatcher.Priority |
getPriority()
Default priority should be the "normal" value.
|
int |
hashCode() |
protected abstract boolean |
internalEquals(AbstractLexerMatcher obj) |
protected abstract int |
internalHashCode() |
boolean |
isExclusionHierarchyBreaker()
Tells if this matcher should break search for exclusion in older hierarchy.
|
void |
setDslDoc(DslDoc dslDoc)
Extra documentation used by doc gen.
|
void |
setExclusionHierarchyBreaker(boolean exclusionHierarchyBreaker) |
void |
setListenerClass(Class<? extends MatcherListener> listenerClass) |
void |
setMatcherAutoCompleteConfiguration(AutoCompleteConfiguration autoCompleteConfiguration)
Allows to configure a preferred autoComplete scheme.
|
void |
setPriority(LexerMatcher.Priority priority) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getFollowingCharPattern, getMatcher, getPreviousCharPattern, isSkipMatchText, isSkipSpacesBeforeMatch
public boolean isExclusionHierarchyBreaker()
LexerMatcher
isExclusionHierarchyBreaker
in interface LexerMatcher
public void setExclusionHierarchyBreaker(boolean exclusionHierarchyBreaker)
public LexerMatcher.Priority getPriority()
LexerMatcher
getPriority
in interface LexerMatcher
public void setPriority(LexerMatcher.Priority priority)
public AutoCompleteConfiguration getMatcherAutoCompleteConfiguration()
LexerMatcher
getMatcherAutoCompleteConfiguration
in interface MatcherAutoCompleter
getMatcherAutoCompleteConfiguration
in interface LexerMatcher
public void setMatcherAutoCompleteConfiguration(AutoCompleteConfiguration autoCompleteConfiguration)
MatcherAutoCompleter
setMatcherAutoCompleteConfiguration
in interface MatcherAutoCompleter
public Class<? extends MatcherListener> getListenerClass()
public void setListenerClass(Class<? extends MatcherListener> listenerClass) throws UtilsException
UtilsException
public MatcherListener getListener()
LexerMatcher
getListener
in interface LexerMatcher
public DslDoc getDslDoc()
Documented
getDslDoc
in interface Documented
public void setDslDoc(DslDoc dslDoc)
Documented
setDslDoc
in interface Documented
protected abstract int internalHashCode()
protected abstract boolean internalEquals(AbstractLexerMatcher obj)