Package spoon.pattern.internal.matcher
Class ChainOfMatchersImpl
java.lang.Object
spoon.pattern.internal.matcher.ChainOfMatchersImpl
- All Implemented Interfaces:
Matchers
-
Method Summary
Modifier and TypeMethodDescriptionstatic MatchersmatchAllWith(TobeMatched targets)Matches all matchers of thisMatchersinstance with `targets`
-
Method Details
-
create
- Parameters:
items-next-- Returns:
- new
ChainOfMatchersImplwhich starts with items nodes and continues with `next`Matchers
-
matchAllWith
Description copied from interface:MatchersMatches all matchers of thisMatchersinstance with `targets`- Specified by:
matchAllWithin interfaceMatchers- Parameters:
targets- to be matched target nodes and input parameters- Returns:
TobeMatchedwith targets which remained after allRootNodes were matched + matched parameters
-