macro.DefType

DefType

package haxe-macro

import haxe.macro.Type

Available on all platforms

Represents a typedef.

Properties

doc:Null<String>

The associated documentation of the class field.

isExtern:Bool

Whether or not the type is extern.

isPrivate:Bool

Whether or not the type is private.

meta:MetaAccess

The metadata of the type.

module:String

The module name of the type, which might be different.

name:String

The name of the type.

pack:Array<String>

The package of the type.

params:Array<TypeParameter>

The type parameters of the type.

pos:Position

The position of the type.

type:Type

The target type of the typedef.

exclude ():Void

Allows excluding the type from compilation.

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部