Package | Description |
---|---|
com.massa.dsl.autocomplete | |
com.massa.dsl.block | |
com.massa.dsl.grammar | |
com.massa.dsl.lexer | |
com.massa.dsl.matcher | |
com.massa.mrules.extensions.dsl.factory |
Modifier and Type | Method and Description |
---|---|
List<AutoComplete> |
AutoCompleteGenerator.getAutoCompletes(Matcher matcher)
Generates autoComplete options if auto complete is requested by a matcher.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractInjectableLexerBlock.AbstractInjectableLexerBlockResolver.isExcluded(Matcher matcher) |
boolean |
LexerBlockResolver.isExcluded(Matcher matcher) |
boolean |
AndLexerBlock.AndBlockResolver.isExcluded(Matcher matcher) |
boolean |
LexerBlockResolverWrapper.isExcluded(Matcher matcher) |
boolean |
OrLexerBlock.OrBlockResolver.isExcluded(Matcher matcher) |
Modifier and Type | Method and Description |
---|---|
<M extends Matcher> |
ParsingContext.getMatchResult(M matcher)
The context allows to keep trace of match result and to retrieve what has already been parsed.
|
<M extends Matcher> |
ParsingContext.pushMatchResult(M matcher)
Pushes a match result in this context's buffer.
|
Modifier and Type | Method and Description |
---|---|
Matcher |
ParsingContext.getLastCompletedMatch() |
Matcher |
ParsingContext.popLastCompletedMatch() |
Modifier and Type | Method and Description |
---|---|
boolean |
ParsingContext.isAlreadyInHierarchy(Matcher matcher)
Tells if this very matcher is already in matching process.
|
boolean |
ParsingContext.isExcluded(Matcher matcher)
Tells if this very matcher is has been specified as excluded by a member of the matching hierarchy.
|
void |
ParsingContext.pushCompletedMatch(Matcher lastCompletedMatch) |
ParsingContext |
ParsingContext.pushMatcher(Matcher matcher)
Pushes a matcher at the top of the stack of the matching process
|
Modifier and Type | Method and Description |
---|---|
Matcher |
AbstractLexerParser.resolveEnd() |
Matcher |
LexerParser.resolveEnd()
Resolves the end matcher for this parser.
|
Matcher |
AbstractLexerParser.resolveStart() |
Matcher |
LexerParser.resolveStart()
Resolves the start matcher for this parser.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectLexer.ObjectLexerListener.afterEndMatch(LexerParser parser,
Matcher endMatcher,
Object result)
Performed after successful end match and eventual match result is injected into parsing result.
|
void |
ObjectLexer.DefaultObjectLexerListener.afterEndMatch(LexerParser parser,
Matcher endMatcher,
Object result) |
void |
ObjectLexer.ObjectLexerListener.afterStartMatch(LexerParser parser,
Matcher startMatcher,
Object result)
Performed after successful start match and eventual match result is injected into parsing result.
|
void |
ObjectLexer.DefaultObjectLexerListener.afterStartMatch(LexerParser parser,
Matcher startMatcher,
Object result) |
boolean |
AbstractLexerParser.isExcludedFromHierarchy(Matcher matcher) |
boolean |
LexerParser.isExcludedFromHierarchy(Matcher matcher)
Tells if the provided matcher should be excluded from this lexer parser's hierarchy.
|
boolean |
ObjectLexer.ObjectLexerParser.isExcludedFromHierarchy(Matcher matcher) |
Modifier and Type | Class and Description |
---|---|
static class |
AbstractCombineLexerMatcher.AbstractCombineMatcher |
class |
AbstractGenericMatcher
Generic implementation for text matching.
|
class |
AbstractGenericTextMatcher
Generic implementation for text matching.
|
class |
AbstractMatcher
Abstract implementation handling source positions and return to start or end.
|
class |
AbstractMatcherWrapper
Allows to wrap a Matcher to change some of its behavior.
|
class |
AndLexerMatcher.AndMatcher |
protected class |
FixedLexerMatcher.FixedMatcher
Matcher implementation dedicated to FixedLexerMatcher.
|
protected class |
LexerBlockMatcher.BlockMatcher |
protected class |
MultipleFixedLexerMatcher.MultipleFixedMatcher
Matcher implementation dedicated to MultipleFixedLexerMatcher.
|
class |
OrLexerMatcher.OrMatcher |
protected class |
RegexLexerMatcher.RegexMatcher
Matcher implementation dedicated to RegexLexerMatcher.
|
Modifier and Type | Field and Description |
---|---|
protected List<Matcher> |
AbstractCombineLexerMatcher.AbstractCombineMatcher.computedMatchers |
Modifier and Type | Method and Description |
---|---|
Matcher |
OrLexerMatcher.OrMatcher.getMatchedMatcher() |
Matcher |
MultipleFixedLexerMatcher.getMatcher(LexerParser parser) |
Matcher |
DynamicLexerMatcher.getMatcher(LexerParser parser) |
Matcher |
NoopLexerMatcher.getMatcher(LexerParser parser) |
Matcher |
AbstractLexerMatcherWrapper.getMatcher(LexerParser parser) |
Matcher |
LexerMatcher.getMatcher(LexerParser parser) |
Matcher |
AndLexerMatcher.getMatcher(LexerParser parser) |
Matcher |
OrLexerMatcher.getMatcher(LexerParser parser) |
Matcher |
EofMatcher.getMatcher(LexerParser parser) |
Matcher |
RegexLexerMatcher.getMatcher(LexerParser parser) |
Matcher |
LexerBlockMatcher.getMatcher(LexerParser parser) |
Matcher |
ChangeWeightLexerMatcher.getMatcher(LexerParser parser) |
Matcher |
FixedLexerMatcher.getMatcher(LexerParser parser) |
Matcher |
AbstractMatcherWrapper.getWrapped() |
Modifier and Type | Method and Description |
---|---|
List<Matcher> |
AndLexerMatcher.AndMatcher.getMatchedMatchers() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultMatcherListener.beginMatch(Matcher matcher) |
void |
MatcherListener.beginMatch(Matcher matcher)
Before all matching actions
|
void |
DefaultMatcherListener.endMatch(Matcher parser) |
void |
MatcherListener.endMatch(Matcher parser)
After all matching actions
|
boolean |
AbstractMatcher.equivalent(Matcher obj)
Equality without start mark.
|
boolean |
AbstractMatcherWrapper.equivalent(Matcher obj)
Equality without start mark.
|
boolean |
Matcher.equivalent(Matcher obj)
Equality without start mark, when equality should check LexerMatcher and start mark.
|
boolean |
AbstractMatcher.isExcludedFromHierarchy(Matcher matcher)
Tells if the provided matcher should be excluded from this matcher's lexer's hierarchy.
|
boolean |
AbstractMatcherWrapper.isExcludedFromHierarchy(Matcher matcher) |
boolean |
Matcher.isExcludedFromHierarchy(Matcher matcher)
Tells if provided sub matcher should be excluded from matching hierarchy.
|
boolean |
LexerBlockMatcher.BlockMatcher.isExcludedFromHierarchy(Matcher matcher) |
Integer |
DefaultMatcherListener.validateMatch(Matcher matcher) |
Integer |
MatcherListener.validateMatch(Matcher abstractMatcher)
Just after weight is computed.
|
Constructor and Description |
---|
AbstractMatcherWrapper(Matcher wrapped)
Wraps the provided matcher
|
Modifier and Type | Method and Description |
---|---|
Matcher |
PropertyLexerMatcher.getMatcher(LexerParser parser) |
Modifier and Type | Method and Description |
---|---|
void |
RulesetListener.afterStartMatch(LexerParser parser,
Matcher startMatcher,
Object result) |
void |
LocalVariableListener.afterStartMatch(LexerParser parser,
Matcher startMatcher,
Object result) |
List<AutoComplete> |
ImportAutoCompleteGenerator.getAutoCompletes(Matcher matcher) |
List<AutoComplete> |
PropertyAutoCompleteGenerator.getAutoCompletes(Matcher matcher) |
Integer |
CondWrapperMatcherListener.validateMatch(Matcher matcher) |