ANTLRv3 How to set a custom Lexer and Parser Class names
Posted
by Filip
on Stack Overflow
See other posts from Stack Overflow
or by Filip
Published on 2010-04-06T07:08:15Z
Indexed on
2010/04/06
7:13 UTC
Read the original article
Hit count: 568
antlr3
|context-free-grammar
Is there a way to specify custom class name (meaning independent of the grammar name) for the ANTLRv3 generated Parser and Lexer classes?
So in the case of
grammar MDD;
//other stufff
Automtaically it would crate MDDParser and MDDLexer, but i would like to have them for example as MDDBaseParser and MDDLexer.
© Stack Overflow or respective owner