EnumField

package haxe.rtti

import haxe.rtti.CType

Available on all platforms

The runtime enum constructor information.

See also:

Fields

platforms:Platforms

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

name:String

The name of the constructor.

meta:MetaData

The meta data the constructor was annotated with.

doc:String

The documentation of the constructor. This information is only available if the compiler flag `-D use_rtti_doc` was in place. Otherwise, or if the constructor has no documentation, the value is `null`.

args:Null<Array<{t:CType, opt:Bool, name:String}>>

The list of arguments the constructor has or `null` if no arguments are available.

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