On this page
TypeDefinition
package haxe.macro
import haxe.macro.Expr
Available on all platforms
Represents a type definition.
Fields
pos:Position
The position to the type definition.
optionalparams:Null<Array<TypeParamDecl>>
The parameter type declarations of the type definition.
pack:Array<String>
The package of the type definition.
name:String
The name of the type definition.
optionalmeta:Null<Metadata>
The optional metadata of the type definition.
kind:TypeDefKind
The kind of the type definition.
optionalisExtern:Null<Bool>
Whether or not the type is extern.
fields:Array<Field>
The fields of the type definition.
optionaldoc:Null<String>
The documentation of the type, if available. If the type has no documentation, the value is `null`.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/macro/TypeDefinition.html