[antlr-interest] protected parser production?

Monty Zukowski monty at codetransform.com
Fri Oct 22 07:37:01 PDT 2004


I don't think that's supported, though you can try "protected" like in 
the lexer.  I'm not even sure if you can specify an interface for the 
tree parser to implement, which would be one way around it.  You may 
have to wrap your tree parsers with another class.

Monty

On Oct 22, 2004, at 7:15 AM, Bryan Ewbank wrote:

>
> Is there a way to mark a parser (or treeparser) production as 
> non-public?  I
> am defining lots and lots of tree parsers, but I want to limit the 
> interface
> to be only the "top" productions of the generated objects.
>
> Thanks for any guidance or suggestions.
- Bryan Ewbank
> "The best tool for requirements analysis and design is a crayon"
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list