W3cubDocs

/Haxe

EnumField

package haxe.rtti

import haxe.rtti.CType

Available on all platforms

The runtime enum constructor information.

See:

Properties

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

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

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.

meta:MetaData

The meta data the constructor was annotated with.

name:String

The name of the constructor.

platforms:Platforms

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

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