I would like to output comments into javascript generated code, I need both "class comments" and "function comments" and "code comments" to make it more readable for people who don't know haxe. I suppose it could be somehow done with macros, but I can't make it work...
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.
`untyped __js__` is usable to output comments within code blocks, not it front of types in way that week be useful for an editor.
It sounds like you will have to create a custom JS generator. Or to post-process the generated JS.
Philippe
--