rtti.Enumdef

Enumdef

package haxe-rtti

import haxe.rtti.CType

Available on all platforms

The enum runtime type information.

See:

Properties

constructors:List<EnumField>

The list of enum constructors-

doc:Null<String>

The documentation of the type. 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.

file:Null<String>

The full slash path of the .hx file containing the type. This might be null in case there is no such file, e.g. if the type is defined through a macro.

isExtern:Bool

Whether or not the enum is extern.

isPrivate:Bool

Whether or not the type is private.

meta:MetaData

The metadata the type was annotated with.

module:Path

The type path of the module containing the type.

params:TypeParams

An array of strings representing the names of the type parameters the type has.

path:Path

The type path of the type.

platforms:Platforms

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

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部