public interface RepeatableMatcher extends RootNode
MATCH_ALL, MATCH_PART
Modifier and Type | Method and Description |
---|---|
Quantifier |
getMatchingStrategy()
If two
RepeatableMatcher s in a list are matching the same element,
then returned Quantifier defines how resolve this conflict |
default boolean |
isMandatory(ImmutableMap parameters) |
default boolean |
isRepeatable() |
boolean |
isTryNextMatch(ImmutableMap parameters) |
forEachParameterInfo, generateTargets, isSimplifyGenerated, matchAllWith, matchTargets, replaceNode, setSimplifyGenerated
Quantifier getMatchingStrategy()
RepeatableMatcher
s in a list are matching the same element,
then returned Quantifier
defines how resolve this conflictQuantifier
default boolean isRepeatable()
default boolean isMandatory(ImmutableMap parameters)
parameters
- matching parametersboolean isTryNextMatch(ImmutableMap parameters)
parameters
- matching parametersCopyright © 2007–2021 Inria. All rights reserved.