package haxe.macroAvailable on all platforms
This class provides some utility methods to work with AST-level types. It is best used through
using haxe.macro.ComplexTypeToolssyntax and then provides additional methods on
static toString (c:ComplexType):String
c to a human-readable
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 is null, the result is null.
© 2005–2018 Haxe Foundation
Licensed under a MIT license.