cincheo / jsweet

A Java to JavaScript transpiler.
http://www.jsweet.org
Other
1.46k stars 160 forks source link

Support for inner classes. #34

Closed renaudpawlak closed 8 years ago

renaudpawlak commented 8 years ago

In version 1.0, inner classes will not be supported. It would not be that hard to support them though.

The idea (to be validated) is to create a TypeScript module with the same name as the container class and create the inner class in the module.

lgrignon commented 8 years ago

:+1:

renaudpawlak commented 8 years ago

JSweet now supports both static and non-static inner classes. It also supports anonymous classes :D There are almost no restrictions to that support, so far.

ssatguru commented 8 years ago

great :)