Uses of Package
spoon.pattern
Package
Description
This package defines a framework for well-typed pure-Java templates.
-
ClassDescriptionDefines what happens when a
RootNode
has 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 ofPattern
Represents a pattern for matching code.The master class to create aPattern
instance.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
. -
-
-
-
-