macro.EnumField

EnumField

package haxe-macro

import haxe.macro.Type

Available on all platforms

Represents an enum constructor.

Properties

doc:Null<String>

The associated documentation of the enum constructor.

index:Int

The index of the enum constructor, i.e. in which position it appears in the syntax.

登录查看完整内容