Package | Description |
---|---|
com.massa.dsl.lexer | |
com.massa.dsl.matcher |
Modifier and Type | Method and Description |
---|---|
static MatchingPhase |
MatchingPhase.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatchingPhase[] |
MatchingPhase.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<ParsingContext.AutoCompleteResult> |
AbstractMatcher.getAutoCompleteOptions(MatchingPhase phase)
Retrieves main autoComplete options from lexer config, if any.
|
List<ParsingContext.AutoCompleteResult> |
AbstractMatcherWrapper.getAutoCompleteOptions(MatchingPhase phase) |
List<ParsingContext.AutoCompleteResult> |
Matcher.getAutoCompleteOptions(MatchingPhase phase)
Computes autoComplete options from current partial matches, if any.
|
protected List<ParsingContext.AutoCompleteResult> |
MultipleFixedLexerMatcher.MultipleFixedMatcher.getAutoCompleteSecondaryOptions(MatchingPhase phase) |
protected abstract List<ParsingContext.AutoCompleteResult> |
AbstractMatcher.getAutoCompleteSecondaryOptions(MatchingPhase phase) |
protected List<ParsingContext.AutoCompleteResult> |
AndLexerMatcher.AndMatcher.getAutoCompleteSecondaryOptions(MatchingPhase phase) |
protected List<ParsingContext.AutoCompleteResult> |
OrLexerMatcher.OrMatcher.getAutoCompleteSecondaryOptions(MatchingPhase phase) |
protected List<ParsingContext.AutoCompleteResult> |
RegexLexerMatcher.RegexMatcher.getAutoCompleteSecondaryOptions(MatchingPhase phase) |
protected List<ParsingContext.AutoCompleteResult> |
LexerBlockMatcher.BlockMatcher.getAutoCompleteSecondaryOptions(MatchingPhase phase) |
protected List<ParsingContext.AutoCompleteResult> |
FixedLexerMatcher.FixedMatcher.getAutoCompleteSecondaryOptions(MatchingPhase phase) |
protected List<ParsingContext.AutoCompleteResult> |
AbstractMatcher.handleSecondaryOptions(MatchingPhase phase,
AutoCompleteConfiguration lexerAc,
AutoCompleteConfiguration matcherAc,
List<ParsingContext.AutoCompleteResult> autoCompleteSecondaryOptions)
Updates autoComplete groups of the secondary options with the matcher config, of if none with the lexer config.
|
protected int |
AbstractGenericTextMatcher.internalGenericMatch(MatchingPhase phase,
boolean unread) |
protected abstract int |
AbstractGenericMatcher.internalGenericMatch(MatchingPhase phase,
boolean unread) |
protected int |
LexerBlockMatcher.BlockMatcher.internalGenericMatch(MatchingPhase phase,
boolean unread) |
protected abstract int |
AbstractMatcher.internalMatch(MatchingPhase phase,
boolean unread)
Performs specific part of the match.
|
protected int |
AndLexerMatcher.AndMatcher.internalMatch(MatchingPhase phase,
boolean unread) |
protected int |
OrLexerMatcher.OrMatcher.internalMatch(MatchingPhase phase,
boolean unread) |
protected int |
AbstractGenericMatcher.internalMatch(MatchingPhase phase,
boolean unread) |
int |
AbstractMatcher.match(MatchingPhase phase,
boolean unread) |
int |
AbstractMatcherWrapper.match(MatchingPhase phase,
boolean unread)
Can't be overriden in order to force update of matching hierarchy.
|
int |
Matcher.match(MatchingPhase phase,
boolean unread)
Tells if this match pattern matches the next characters of the source.
|
protected int |
AbstractMatcherWrapper.wrappedMatch(MatchingPhase phase,
boolean unread)
This method can be overridden if necessary, instead of
AbstractMatcherWrapper.match(MatchingPhase, boolean) . |