VDL Plugin SDK

Annotation

Import from @varavel/vdl-plugin-sdk.

type Annotation = object;

Annotation metadata preserved in IR.

name is the annotation identifier without the @ prefix. argument, when present, is fully resolved as a LiteralValue.

Properties

PropertyTypeDescription
argument?LiteralValueOptional resolved argument payload
namestringAnnotation name without @
positionPositionSource position of this annotation