Uses of Class
spoon.pattern.internal.matcher.TobeMatched
-
Uses of TobeMatched in spoon.pattern.internal.matcher
Modifier and TypeMethodDescriptionTobeMatched.copyAndSetParams(ImmutableMap newParams)
Makes a copy of this match context with the same targets, but with new `parameters`static TobeMatched
TobeMatched.create(ImmutableMap parameters, ContainerKind containerKind, Object target)
ChainOfMatchersImpl.matchAllWith(TobeMatched targets)
Matchers.matchAllWith(TobeMatched targets)
Matches all matchers of thisMatchers
instance with `targets`@Nullable TobeMatched
TobeMatched.matchNext(BiFunction<Object,ImmutableMap,ImmutableMap> matcher)
Calls matcher algorithm to match target itemTobeMatched.removeTarget(int idxOfTobeRemovedTarget)
TobeMatched.removeTarget(ImmutableMap parameters, int idxOfTobeRemovedTarget)
Modifier and TypeMethodDescriptionstatic @Nullable ImmutableMap
TobeMatched.getMatchedParameters(TobeMatched remainingMatch)
List<?>
TobeMatched.getMatchedTargets(TobeMatched tobeMatchedTargets)
ChainOfMatchersImpl.matchAllWith(TobeMatched targets)
Matchers.matchAllWith(TobeMatched targets)
Matches all matchers of thisMatchers
instance with `targets` -
Uses of TobeMatched in spoon.pattern.internal.node
Modifier and TypeMethodDescriptionForEachNode.matchAllWith(TobeMatched tobeMatched)
default TobeMatched
RootNode.matchAllWith(TobeMatched targets)
ListOfNodes.matchTargets(TobeMatched targets, Matchers nextMatchers)
RootNode.matchTargets(TobeMatched targets, Matchers nextMatchers)
SwitchNode.matchTargets(TobeMatched targets, Matchers nextMatchers)
Modifier and TypeMethodDescriptionForEachNode.matchAllWith(TobeMatched tobeMatched)
default TobeMatched
RootNode.matchAllWith(TobeMatched targets)
ListOfNodes.matchTargets(TobeMatched targets, Matchers nextMatchers)
RootNode.matchTargets(TobeMatched targets, Matchers nextMatchers)
SwitchNode.matchTargets(TobeMatched targets, Matchers nextMatchers)