Package | Description |
---|---|
org.sonar.sslr.internal.matchers |
Internals.
|
Modifier and Type | Class and Description |
---|---|
class |
EndOfInputMatcher |
class |
FirstOfMatcher
A
Matcher trying all of its submatchers in sequence. |
class |
GrammarElementMatcher |
class |
NothingMatcher
A
Matcher that never succeeds. |
class |
OneOrMoreMatcher
A
Matcher that repeatedly tries its submatcher against the input. |
class |
OptionalMatcher
A
Matcher that tries its submatcher once against the input. |
class |
PatternMatcher |
class |
SequenceMatcher
A
Matcher that executes all of its submatchers in sequence. |
class |
StringMatcher |
class |
TestMatcher
A
Matcher that tries its submatcher against the input. |
class |
TestNotMatcher
A
Matcher that tries its submatcher against the input. |
class |
TokenMatcher |
class |
ZeroOrMoreMatcher
A
Matcher that repeatedly tries its submatcher against the input. |
Modifier and Type | Field and Description |
---|---|
protected Matcher |
MatcherContext.matcher |
Modifier and Type | Method and Description |
---|---|
static Matcher |
MatchersUtils.convertToMatcher(java.lang.Object element) |
static Matcher[] |
MatchersUtils.convertToMatchers(java.lang.Object... elements) |
static Matcher |
MatchersUtils.convertToSingleMatcher(java.lang.Object... elements) |
Matcher |
ParseNode.getMatcher() |
Matcher |
MatcherContext.getMatcher() |
Matcher |
MatcherPathElement.getMatcher() |
Matcher[] |
SequenceMatcher.getSubMatchers() |
Modifier and Type | Method and Description |
---|---|
MatcherContext |
BasicMatcherContext.getSubContext(Matcher matcher) |
abstract MatcherContext |
MatcherContext.getSubContext(Matcher matcher) |
Constructor and Description |
---|
BasicMatcherContext(InputBuffer inputBuffer,
MatchHandler matchHandler,
Matcher matcher) |
FirstOfMatcher(Matcher... subMatchers) |
MatcherPathElement(Matcher matcher,
int startIndex,
int endIndex) |
OneOrMoreMatcher(Matcher subMatcher) |
OptionalMatcher(Matcher subMatcher) |
ParseNode(int startIndex,
int endIndex,
java.util.List<ParseNode> children,
Matcher matcher) |
SequenceMatcher(Matcher... subMatchers) |
TestMatcher(Matcher subMatcher) |
TestNotMatcher(Matcher subMatcher) |
TokenMatcher(TokenType tokenType,
Matcher subMatcher) |
ZeroOrMoreMatcher(Matcher subMatcher) |
Copyright © 2012 SonarSource. All Rights Reserved.