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
| Property | Type | Description |
|---|---|---|
argument? | LiteralValue | Optional resolved argument payload |
name | string | Annotation name without @ |
position | Position | Source position of this annotation |