Represents a class field.

Fields

type:Type

The type of the class field.

pos:Position

The position of the class field.

params:Array<TypeParameter>

The type parameters of the class field.

overloads:Ref<Array<ClassField>>

The overload fields of the class field.

name:String

The name of the class field.

meta:MetaAccess

The metadata of the class field.

kind:FieldKind

The class field kind.

isPublic:Bool

Whether or not the class field is public.

isFinal:Bool

Whether or not the class field is final.

isExtern:Bool

Whether or not the class field is extern.

isAbstract:Bool

Whether or not the class field is abstract.

expr():Null<TypedExpr>

Returns the typed expression of the class field.

doc:Null<String>

The associated documentation of the class field.