Selects join points according to their type and filter rules.

starting join point for the search.

if true, $baseJp is included in the search.

Type Parameters

Constructors

Methods

  • Generator function, allows Selector to be used in for..of statements.

    Returns join points iteratively, as if .get() was called.

    Returns Generator<InstanceType<JpT>, void, unknown>

  • Returns SelectorChainAttributes<ChU>[]

    An array of objects where each object maps the name of the join point to the corresponding join point that was searched, as well as creating mappings of the format <joinpoint_name>_<repetition>. For instance, if the search chain has the same name multiple times (e.g., search("loop").search("loop")), the chain object will have an attribute "loop" mapped to the last loop of the chain, an attribute "loop_0" mapped to the first loop of the chain and an attribute "loop_1" mapped to the second loop of the chain.