macro.TypeParam

TypeParam

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.

Values

TPType(t:ComplexType)

TPExpr(e:Expr)

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部