public class FixedLexerMatcher extends AbstractLeafLexerMatcher
Modifier and Type | Class and Description |
---|---|
protected class |
FixedLexerMatcher.FixedMatcher
Matcher implementation dedicated to FixedLexerMatcher.
|
LexerMatcher.Priority
Constructor and Description |
---|
FixedLexerMatcher() |
FixedLexerMatcher(String match) |
Modifier and Type | Method and Description |
---|---|
String |
getMatch() |
Matcher |
getMatcher(LexerParser parser) |
protected boolean |
internalLeafEquals(AbstractLeafLexerMatcher obj) |
protected int |
internalLeafHashCode() |
boolean |
isCaseSensitive() |
protected static boolean |
isCharEqual(char c1,
char c2,
boolean caseSensitive) |
void |
setCaseSensitive(boolean caseSensitive) |
void |
setMatch(String match) |
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 FixedLexerMatcher()
public FixedLexerMatcher(String match)
public String getMatch()
public void setMatch(String match)
public Matcher getMatcher(LexerParser parser)
protected int internalLeafHashCode()
internalLeafHashCode
in class AbstractLeafLexerMatcher
protected boolean internalLeafEquals(AbstractLeafLexerMatcher obj)
internalLeafEquals
in class AbstractLeafLexerMatcher
public boolean isCaseSensitive()
public void setCaseSensitive(boolean caseSensitive)
protected static boolean isCharEqual(char c1, char c2, boolean caseSensitive)