Jason Moore schrieb:
> Using ANTLR v3 and the CSharp2 language specifier, is there any way to
> indicate that you want the generated lexer or parser to be internal
> versus the default of public?
>
> The namespace is specified with:
>
> @lexer::namespace {My.Namespace}
>
> and I would assume something similar exists for the access specifier,
> but I have been unable to find it.
>
> Thanks,
> Jason
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
Currently there is no way to do so. At least with the Java version of
the tool. Sam Harwell is working a C# port with some extended features,
which allows at least to use access modifiers on rules. Currently there
is only a preview somewhere I can't find the link to - maybe Sam can
help out? Otherwise I hope that things can be ported back to the Java
original.
Johannes
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---