Package spoon.pattern.internal.matcher
Interface Matchers
-
- All Known Subinterfaces:
InlineNode
,PrimitiveMatcher
,RepeatableMatcher
,RootNode
- All Known Implementing Classes:
AbstractNode
,ChainOfMatchersImpl
,ConstantNode
,ElementNode
,ForEachNode
,ListOfNodes
,MapEntryNode
,ParameterNode
,StringNode
,SwitchNode
public interface Matchers
A container ofRootNode
s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TobeMatched
matchAllWith(TobeMatched targets)
Matches all matchers of thisMatchers
instance with `targets`
-
-
-
Method Detail
-
matchAllWith
TobeMatched matchAllWith(TobeMatched targets)
Matches all matchers of thisMatchers
instance with `targets`- Parameters:
targets
- to be matched target nodes and input parameters- Returns:
TobeMatched
with targets which remained after allRootNode
s were matched + matched parameters
-
-