Scoop API

scoop:scoop.core:0.1.0

AnnotationTarget

enum AnnotationTarget

source · line 16
public
public enum AnnotationTarget : Int

The declaration and type-use positions supported by annotation target restrictions.

variant Constructor

source · line 44
public
Constructor = 7

Allows the annotation on constructor declarations.

variant EnumVariant

source · line 28
public
EnumVariant = 3

Allows the annotation on an individual enum variant.

variant Type

source · line 64
public
Type = 12

Allows the annotation on an individual use of a type in a signature.

variant ValueParameter

source · line 48
public
ValueParameter = 8

Allows the annotation on value parameter declarations.

variant TypeAlias

source · line 60
public
TypeAlias = 11

Allows the annotation on type alias declarations.

variant AnnotationClass

source · line 24
public
AnnotationClass = 2

Allows the annotation on annotation declarations.

variant Class

source · line 20
public
Class = 1

Allows the annotation on nominal class, struct, enum, interface, or object declarations.

variant PropertyGetter

source · line 52
public
PropertyGetter = 9

Allows the annotation on a property getter.

variant Property

source · line 36
public
Property = 5

Allows the annotation on a property declaration.

variant PropertySetter

source · line 56
public
PropertySetter = 10

Allows the annotation on a property setter.

variant Function

source · line 40
public
Function = 6

Allows the annotation on function declarations.

variant Field

source · line 32
public
Field = 4

Allows the annotation on stored value fields.