Uses of Class
spoon.pattern.Match
Packages that use Match
Package
Description
This package defines a framework for well-typed pure-Java templates.
-
Uses of Match in spoon.pattern
Methods in spoon.pattern that return types with arguments of type MatchModifier and TypeMethodDescriptionPattern.getMatches(CtElement root)
Finds all target program sub-trees that correspond to this pattern and returns them.Method parameters in spoon.pattern with type arguments of type MatchModifier and TypeMethodDescriptionvoid
Pattern.forEachMatch(Object input, CtConsumer<Match> consumer)
Finds all target program sub-trees that correspond to a template and calls consumer.accept(Match) -
Uses of Match in spoon.pattern.internal.matcher
Constructor parameters in spoon.pattern.internal.matcher with type arguments of type MatchModifierConstructorDescriptionMatchingScanner(ListOfNodes pattern, CtConsumer<? super Match> matchConsumer)
-
Uses of Match in spoon.template
Method parameters in spoon.template with type arguments of type MatchModifier and TypeMethodDescriptionvoid
TemplateMatcher.forEachMatch(CtElement rootElement, CtConsumer<Match> consumer)
Finds all target program sub-trees that correspond to a template and calls consumer.accept(matchingElement, )