W3cubDocs

/Haxe

ClassField

package haxe.rtti

import haxe.rtti.CType

Available on all platforms

The runtime class field information.

See:

Properties

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.

expr:Null<String>

The actual expression of the field or null if there is no expression.

get:Rights

The read access behavior of the field.

isOverride:Bool

Whether or not the field overrides another field.

isPublic:Bool

Whether or not the field is public.

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.

meta:MetaData

The meta data the field was annotated with.

name:String

The name of the field.

overloads:Null<List<ClassField>>

The list of available overloads for the fields or null if no overloads exists.

params:TypeParams

An array of strings representing the names of the type parameters the field has.

platforms:Platforms

A list of strings representing the targets where the field is available.

set:Rights

The write access behavior of the field.

type:CType

The type of the field.

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/rtti/ClassField.html