macro.TypeDefinition

TypeDefinition

package haxe-macro

import haxe.macro.Expr

Available on all platforms

Represents a type definition.

Properties

fields:Array<Field>

The fields of the type definition-

isExtern:Null<Bool>

Whether or not the type is extern.

kind:TypeDefKind

The kind of the type definition.

meta:Null<Metadata>

The optional metadata of the type definition.

name:String

The name of the type definition.

pack:Array<String>

The package of the type definition.

params:Null<Array<TypeParamDecl>>

The paramater type declarations of the type definition.

pos:Position

The position to the type definition.

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部