Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AnnotationDecorator

Provides capability to decorate elements based on corresponding annotations.

Hierarchy

  • AnnotationDecorator

Index

Methods

  • canDecorate(annotation: Annotation): boolean
  • Determines whether or not to process the specified annotation.

    Parameters

    • annotation: Annotation

      The annotation to check.

    Returns boolean

    boolean Indicates whether the decorator handles the specified annotation.

  • decorate(expression: Annotatable, annotation: Annotation): void
  • Decorates the annotatable element with additional properties based on the annotation.

    Parameters

    • expression: Annotatable

      The annotatable element.

    • annotation: Annotation

      The annotation for the element.

    Returns void

    void

Generated using TypeDoc