Can ANTLR-generated Java classes be made non-public so they are not visible outside the package?

Terence Parr

Currently (antlr 2.7.1) there is no way to prevent ANTLR from putting the "public" on the class def that I can remember. You could easily modify the source, of course, in JavaCodeGenerator.java.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact