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 of
RootNode
s.-
Method Summary
Modifier and TypeMethodDescriptionmatchAllWith(TobeMatched targets)
Matches all matchers of thisMatchers
instance with `targets`
-
Method Details
-
matchAllWith
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
-