[antlr-interest] what does noConstructors do?
ewbank at gmail.com
Sun Jun 5 14:00:04 PDT 2005
"noConstructor=true" in the options section of the parser (not the
options section of the file) suppresses generation of the default
constructor for the parser, at least in C++. It works for me, and
allows me to pass the required factory object to the (hand-written)
Try diffing the generated files with and without - it's a small
difference, (A #ifdef/#endif pair in C++).
On 6/5/05, Stefan Rank <e9725431 at student.tuwien.ac.at> wrote:
> Hi you, helpful list,
> I just wanted to use the option
> noConstructors = true;
> for my parser to tailor, e.g., visibility of the parser.
More information about the antlr-interest