Uses of Class
spoon.pattern.Match
Package
Description
This package defines a framework for well-typed pure-Java templates.
-
Uses of Match in spoon.pattern
Modifier and TypeMethodDescriptionPattern.getMatches(CtElement root)
Finds all target program sub-trees that correspond to this pattern and returns them.Modifier 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
ModifierConstructorDescriptionMatchingScanner(ListOfNodes pattern, CtConsumer<? super Match> matchConsumer)
-
Uses of Match in spoon.template
Modifier 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, )