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.

meta:MetaAccess

The metadata of the enum constructor.

name:String

The name of the enum constructor.

params:Array<TypeParameter>

The type parameters of the enum constructor.

pos:Position

The position of the enum constructor.

type:Type

The type of the enum constructor.

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/haxe/macro/EnumField.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部