Package spoon.pattern.internal.node
package spoon.pattern.internal.node
-
InterfaceDescriptionRepresents a kind of
RootNode
, whose AST statements are understood as pattern statements.Defines API of a primitive matcher - matcher for single target objectDefines API of a repeatable matcher.Represents a parameterized Pattern ValueResolver, which can be used to generate a zero, one or more copies of model using provided parameters to match zero, one or more instances of model and deliver a matching parameters -
ClassDescriptionRepresents a parameterized Pattern ValueResolver, which can be used to generate a zero, one or more copies of model using provided parameters to match zero, one or more instances of model and deliver a matching parametersConstantNode<T>Generates/Matches a copy of single template objectGenerates/Matches a copy of a single CtElement AST node with all it's children (whole AST tree of the root CtElement)Pattern node of multiple occurrences of the same model, just with different parameters.List of
RootNode
s.Represents a ValueResolver of one Map.EntryRepresents pattern model variable Delivers/Matches 0, 1 or more values of defined parameter.Delivers single String value, which is created by replacing string markers in constant String template by String value of appropriate parameter.List of conditional cases {code} if (a) { ...