Convert JSDoc documented code to Haxe externs.