Package spoon.reflect.visitor.chain
package spoon.reflect.visitor.chain
-
InterfaceDescriptionRepresents a function, as
CtFunction
.CtConsumer<T>The functional interface used to receive objects.CtFunction<T,R>Abstraction for functions in the Spoon realm.CtQuery represents a query, which can be used to traverse a spoon model and collect children elements in several ways.Represents an object on which one can make queries.Expert-only capability interface so as to write advancedCtFunction
andFilter
that need to access the state of the top-levelCtQuery
instance containing the function to be evaluated.Responsible for performing an action when a scanner enters/exits a node while scanning the AST. -
ClassDescription
-
EnumDescriptionUse in
CtQuery.failurePolicy(QueryFailurePolicy)
to define how to handle failureDefines how aCtScannerListener
drives the scanning ofEarlyTerminatingScanner