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