Package spoon.pattern
package spoon.pattern
-
ClassDescriptionDefines what happens when a
RootNodehas to be replaced by anotherRootNode, default inConflictResolutionMode.FAIL.Generates code from patterns.Builds inline statements of Pattern For example if the `for` statement in this pattern modelRepresents a single match ofPatternRepresents a pattern for matching code.The master class to create aPatterninstance.Utility class to select parts of AST to be used as a model of aPatternBuilder.Used to define pattern parameters.Defines a matching strategy for pattern parameters, default isQuantifier.GREEDY.