I'm considering the following based on some problems I've encountered in the past:
To set the accessibility of the generated class: @lexer::modifier{internal} @parser::modifier{internal} @modifier{internal} // in a non-combined grammar To set the accessibility of the constructors of the generated class. In some cases, I only want other classes to construct the parser via a custom constructor, so it'd be nice to hide the default ones. @lexer::ctorModifier{private} @parser::ctorModifier{protected} @ctorModifier{internal} Sam
_______________________________________________ antlr-dev mailing list antlr-dev@antlr.org http://www.antlr.org/mailman/listinfo/antlr-dev