Package spoon.pattern.internal.node
Interface PrimitiveMatcher
- All Superinterfaces:
Matchers,RepeatableMatcher,RootNode
- All Known Implementing Classes:
ConstantNode,ElementNode,MapEntryNode,ParameterNode,StringNode
Defines API of a primitive matcher - matcher for single target object
-
Field Summary
Fields inherited from interface spoon.pattern.internal.node.RootNode
MATCH_ALL, MATCH_PART -
Method Summary
Methods inherited from interface spoon.pattern.internal.node.RepeatableMatcher
getMatchingStrategy, isMandatory, isRepeatable, isTryNextMatchMethods inherited from interface spoon.pattern.internal.node.RootNode
forEachParameterInfo, generateTargets, isSimplifyGenerated, matchAllWith, matchTargets, replaceNode, setSimplifyGenerated
-
Method Details
-
matchTarget
- Parameters:
target- - to be matched elementparameters- will receive the matching parameter values- Returns:
- true if `element` matches with pattern of this matcher
-