Hello,
I'm building a parser using JJTree and following Tom Copeland's book in
the process. The book shows an example visitor adapter class where all
visit() methods are calling a method called childrenAccept() on the
SimpleNode passed to the visit() method, e. g.:
public Object visit(SimpleNode node, Object data) {
return node.childrenAccept(this, data);
}
However, there is no such method in the SimpleNode class generated by
JJTree. Is this a custom method or do I have to set an option for it to
be generated?
I'm using the Eclipse JavaCC plugin v1.5.10 which in turn contains
JavaCC v4.0.
Thanks in advance,
Christoph
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...