typedef haxe.macro.JSGenApi
Available on all platforms
This is the api that is passed to the custom JS generator.
function setTypeAccessor(callb:Type ->String):Void
define the JS code that gets generated when a class or enum is accessed in a typed expression