On this page
EnumType
package haxe.macro
import haxe.macro.Type
Available on all platforms
Represents an enum type.
Fields
pos:Position
The position of the type.
params:Array<TypeParameter>
The type parameters of the type.
pack:Array<String>
The package of the type.
names:Array<String>
An ordered list of enum constructor names.
name:String
The name of the type.
module:String
The module name of the type, which might be different.
meta:MetaAccess
The metadata of the type.
isPrivate:Bool
Whether or not the type is private.
isExtern:Bool
Whether or not the type is extern.
exclude():Void
Allows excluding the type from compilation.
doc:Null<String>
The associated documentation of the class field.
constructs:Map<String, EnumField>
The available enum constructors.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/macro/EnumType.html