Uses of Class
spoon.pattern.internal.matcher.TobeMatched
Packages that use TobeMatched
-
Uses of TobeMatched in spoon.pattern.internal.matcher
Methods in spoon.pattern.internal.matcher that return TobeMatchedModifier 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)
Methods in spoon.pattern.internal.matcher with parameters of type TobeMatchedModifier 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
Methods in spoon.pattern.internal.node that return TobeMatchedModifier 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)
Methods in spoon.pattern.internal.node with parameters of type TobeMatchedModifier 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)