[antlr-interest] [csharp2] - scope privacy

Johannes Luber jaluber at gmx.de
Thu Oct 30 05:57:04 PDT 2008


Heinrich du Toit schrieb:
> Hi
> 
> In c# target..
> 
> The global scope class that's created is created protected inside the 
> parser class.
> 
> Can I somehow get the generator to declare this public.
> As I want the info inside the scope to be exported to an outside api class.
> 
> It would be easier to simply export the scope class rather than having a 
> whole lot of function calls for every bit of information.
> 
> Thanks in advance!
> Heinrich

Currently there is no way to do so beyond modifying the StringTemplate
files. Maybe Ter will add another option in a later version.

Johannes
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
> 



More information about the antlr-interest mailing list