W3cubDocs

/Haxe

TypeParamDecl

package haxe.macro

import haxe.macro.Expr

Available on all platforms

Represents a type parameter declaration in the AST.

Properties

@:optional constraints:Null<Array<ComplexType>>

The optional constraints of the type parameter.

@:optional meta:Null<Metadata>

The metadata of the type parameter.

name:String

The name of the type parameter.

@:optional params:Null<Array<TypeParamDecl>>

The optional parameters of the type parameter.

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/macro/TypeParamDecl.html