macro.ComplexTypeTools

ComplexTypeTools

package haxe-macro

Available on all platforms

This class provides some utility methods to work with AST-level types. It is best used through using haxe.macro.ComplexTypeTools syntax and then provides additional methods on haxe.macro.ComplexType instances.

Static methods

static toString (c:ComplexType):String

Converts type c to a human-readable String representation.

The result is guaranteed to be valid Haxe code, but there may be differences from the original lexical syntax.

static toType (c:ComplexType):Null<Type>

Available on macro

Returns a type corresponding to c.

If c is null, the result is null.

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部