package haxe.macro
Available on all platforms
This is the api that is passed to the custom JS generator.
types:Array<Type>
setTypeAccessor(callb:Type ‑> String):Void
setCurrentClass(c:ClassType):Void
quoteString(s:String):String
outputFile:String
main:Null<TypedExpr>
isKeyword(ident:String):Bool
hasFeature(f:String):Bool
generateValue(e:TypedExpr):String
generateStatement(e:TypedExpr):String
buildMetaData(t:BaseType):Null<TypedExpr>
addFeature(f:String):Bool
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/macro/JSGenApi.html