package haxe.macro
import haxe.macro.Expr
Available on all platforms
Represents 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 is TPExpr
while in the normal case it's TPType
.
TPType(t:ComplexType)
TPExpr(e:Expr)
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/macro/TypeParam.html