Represents an enum constructor.

type:Type

The type of the enum constructor.

pos:Position

The position of the enum constructor.

params:Array<TypeParameter>

The type parameters of the enum constructor.

name:String

The name of the enum constructor.

meta:MetaAccess

The metadata of the enum constructor.

index:Int

The index of the enum constructor, i.e. in which position it appears in the syntax.

doc:Null<String>

The associated documentation of the enum constructor.