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
RootNodes.-
Method Summary
Modifier and TypeMethodDescriptionmatchAllWith(TobeMatched targets)Matches all matchers of thisMatchersinstance with `targets`
-
Method Details
-
matchAllWith
Matches all matchers of thisMatchersinstance with `targets`- Parameters:
targets- to be matched target nodes and input parameters- Returns:
TobeMatchedwith targets which remained after allRootNodes were matched + matched parameters
-