Package spoon.pattern
-
Interface Summary Interface Description Generator Generates code from patterns. -
Class Summary Class Description InlinedStatementConfigurator Builds inline statements of Pattern For example if the `for` statement in this pattern modelMatch Represents a single match ofPattern
Pattern Represents a pattern for matching code.PatternBuilder The master class to create aPattern
instance.PatternBuilderHelper Utility class to select parts of AST to be used as a model of aPatternBuilder
.PatternParameterConfigurator Used to define pattern parameters.PatternParameterConfigurator.ParameterElementPair -
Enum Summary Enum Description ConflictResolutionMode Defines what happens when aRootNode
has to be replaced by anotherRootNode
, default inConflictResolutionMode.FAIL
.Quantifier Defines a matching strategy for pattern parameters, default isQuantifier.GREEDY
.