macro.TypeParam
TypeParam
package haxe-macro
import haxe.macro.Expr
Available on all platformsRepresents a concrete type parameter in the AST.
Haxe allows expressions in concrete type parameters, e.g.
new YourType<["hello", "world"]>
. In that case the value isTPExpr
while in the normal case it'sTPType
.
Values
TPType(t:ComplexType)
TPExpr(e:Expr)
© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/haxe/macro/TypeParam.html