Re: testing AST nodes
- From: "mwnorman@xxxxxxxxx" <mwnorman@xxxxxxxxx>
- Date: 2 Apr 2007 09:56:59 -0700
On Mar 31, 7:48 am, Quintria <mikro...@xxxxx> wrote:
SimpleNode class may be modified after it is generated and it will not
be rewritten.
I would suggest adding to it your own method getId()
Works like a charm!
Could I suggest/enter a bug/whatever to someone from the JavaCC team
that some sort of access to a Node's id be make public so that
comparisons
can be made to to the XXXTreeConstants.JJyyy constants (instead of
instanceof)?
.
- Prev by Date: TOKEN setting using String array
- Next by Date: multi-part names in single token
- Previous by thread: TOKEN setting using String array
- Next by thread: multi-part names in single token
- Index(es):