Interface: CompileContext<T, X>
AspectJS • Docs
Interface: CompileContext<T, X>
Execution context passed to advices of type CompileAdvice
Type Parameters
• T extends PointcutKind = PointcutKind
• X = unknown
Properties
annotations()
readonlyannotations: <S2>(annotation) =>AnnotationsSelector<ToAnnotationKind<T>,S2,unknown>(...annotations) =>AnnotationsSelector<ToAnnotationKind<T>,AnnotationStub,unknown>
The annotation contexts *
Type Parameters
• S2 extends AnnotationStub
Parameters
• annotation: Annotation<AnnotationKind, S2>
Returns
AnnotationsSelector<ToAnnotationKind<T>, S2, unknown>
Parameters
• ...annotations: (AnnotationRef | Annotation<AnnotationKind, AnnotationStub>)[]
Returns
AnnotationsSelector<ToAnnotationKind<T>, AnnotationStub, unknown>
Defined in
packages/core/src/advices/compile/compile.context.ts:19
target
readonlytarget:AdviceTarget<T,X>
The symbol targeted by this advice (class, method, property or parameter *
Defined in
packages/core/src/advices/compile/compile.context.ts:23
