Haxe API Documentation
Back | Index
class haxe.macro.ComplexTypeTools
Available in flash8, neko, js, flash, php, cpp
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.Expr.ComplexType instances.
static function 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.

Back | Index