public class RegexLexerMatcher extends AbstractLeafLexerMatcher
Modifier and Type | Class and Description |
---|---|
protected class |
RegexLexerMatcher.RegexMatcher
Matcher implementation dedicated to RegexLexerMatcher.
|
LexerMatcher.Priority
Constructor and Description |
---|
RegexLexerMatcher() |
RegexLexerMatcher(String regex) |
Modifier and Type | Method and Description |
---|---|
Class<AdditionalValidator<String>> |
getAdditionalValidator() |
Matcher |
getMatcher(LexerParser parser) |
String |
getRegex() |
protected boolean |
internalLeafEquals(AbstractLeafLexerMatcher obj) |
protected int |
internalLeafHashCode() |
void |
setAdditionalValidator(Class<AdditionalValidator<String>> additionalValidator) |
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 RegexLexerMatcher()
public RegexLexerMatcher(String regex)
public String getRegex()
public void setRegex(String regex)
public Class<AdditionalValidator<String>> getAdditionalValidator()
public void setAdditionalValidator(Class<AdditionalValidator<String>> additionalValidator) throws UtilsException
UtilsException
public Matcher getMatcher(LexerParser parser)
protected int internalLeafHashCode()
internalLeafHashCode
in class AbstractLeafLexerMatcher
protected boolean internalLeafEquals(AbstractLeafLexerMatcher obj)
internalLeafEquals
in class AbstractLeafLexerMatcher