ClassField
package haxe.rtti
import haxe.rtti.CType
Available on all platforms
The runtime class field information.
See also:
Fields
type:CType
The type of the field.set:Rights
The [write access](https://haxe.org/manual/class-field-property.html#define-write-access) behavior of the field.platforms:Platforms
A list of strings representing the targets where the field is available.params:TypeParams
An array of strings representing the names of the type parameters the field has.overloads:Null<Array<ClassField>>
The list of available overloads for the fields or `null` if no overloads exists.name:String
The name of the field.meta:MetaData
The meta data the field was annotated with.line:Null<Int>
The line number where the field is defined. This information is only available if the field has an expression. Otherwise the value is `null`.isPublic:Bool
Whether or not the field is `public`.isOverride:Bool
Whether or not the field overrides another field.isFinal:Bool
Whether or not the field is `final`.get:Rights
The [read access](https://haxe.org/manual/class-field-property.html#define-read-access) behavior of the field.expr:Null<String>
The actual expression of the field or `null` if there is no expression.doc:Null<String>
The documentation of the field. This information is only available if the compiler flag `-D use_rtti_doc` was in place. Otherwise, or if the field has no documentation, the value is `null`.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/rtti/ClassField.html