public abstract class AbstractGenericTextMatcher extends AbstractGenericMatcher
effectiveStartMark, parser
Constructor and Description |
---|
AbstractGenericTextMatcher(LexerParser parser) |
Modifier and Type | Method and Description |
---|---|
void |
injectResult(Object target)
Does nothing.
|
protected int |
internalGenericMatch(MatchingPhase phase,
boolean unread) |
protected abstract MatchResult |
internalMatch(char next)
Does the sequence match the expected result ?
|
boolean |
isAutoCompletePossible()
Considering match result, tells if autoComplete is possible or not (i.e. if options should be searched or not).
|
checkFollowingChar, checkPreviousChar, getFollowingCharPatternMatchResult, getPreviousCharPatternMatchResult, internalMatch
equals, equivalent, getAutoCompleteOptions, getAutoCompleteSecondaryOptions, getEffectiveStartMark, getEndMark, getFollowingCharPattern, getGrammar, getLexerParser, getMatchedText, getParsingContext, getPreviousCharPattern, getSource, getStartMark, getWeight, handleSecondaryOptions, hashCode, isExcludedFromHierarchy, isExclusionHierarchyBreaker, isMatched, isSkipMatchText, match, toBeginParse, toEndOfMatch, toStartOfMatch, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getLexerMatcher
public AbstractGenericTextMatcher(LexerParser parser)
protected int internalGenericMatch(MatchingPhase phase, boolean unread) throws IOException, DslException
internalGenericMatch
in class AbstractGenericMatcher
IOException
DslException
public boolean isAutoCompletePossible() throws DslException
Matcher
DslException
protected abstract MatchResult internalMatch(char next) throws DslException
DslException
public void injectResult(Object target)
Matcher.injectResult(Object)