public class DynamicLexerMatcher extends AbstractLeafLexerMatcher
LexerMatcher.Priority
Modifier and Type | Field and Description |
---|---|
static String |
START_MATCH |
Constructor and Description |
---|
DynamicLexerMatcher() |
Modifier and Type | Method and Description |
---|---|
String |
getFixedPattern() |
Matcher |
getMatcher(LexerParser parser) |
String |
getRegex() |
protected boolean |
internalLeafEquals(AbstractLeafLexerMatcher obj) |
protected int |
internalLeafHashCode() |
boolean |
isCaseSensitive() |
void |
setCaseSensitive(boolean caseSensitive) |
void |
setFixedPattern(String fixedPattern) |
void |
setRegex(String regex) |
getFollowingChar, getFollowingCharPattern, getPreviousChar, getPreviousCharPattern, internalEquals, internalHashCode, isSkipMatchText, isSkipSpacesBeforeMatch, setFollowingChar, setPreviousChar, setSkipMatchText, setSkipSpacesBeforeMatch
equals, getDslDoc, getListener, getListenerClass, getMatcherAutoCompleteConfiguration, getPriority, hashCode, isExclusionHierarchyBreaker, setDslDoc, setExclusionHierarchyBreaker, setListenerClass, setMatcherAutoCompleteConfiguration, setPriority
public static final String START_MATCH
public String getRegex()
public void setRegex(String regex)
public String getFixedPattern()
public void setFixedPattern(String fixedPattern)
public Matcher getMatcher(LexerParser parser) throws DslException
DslException
public boolean isCaseSensitive()
public void setCaseSensitive(boolean caseSensitive)
protected int internalLeafHashCode()
internalLeafHashCode
in class AbstractLeafLexerMatcher
protected boolean internalLeafEquals(AbstractLeafLexerMatcher obj)
internalLeafEquals
in class AbstractLeafLexerMatcher