Available on all targets
Represents a field in the AST.
pos:Position
The position of the field.
name:String
The name of the field.
@:optionaloptionalmeta:Null<Metadata>
The optional metadata of the field.
kind:FieldType
The kind of the field.
@:optionaloptionaldoc:Null<String>
The documentation of the field, if available. If the field has no documentation, the value is null.
null
@:optionaloptionalaccess:Null<Array<Access>>
The access modifiers of the field. By default fields have private access.
See also:
https://haxe.org/manual/class-field-access-modifier.html