[antlr-interest] tree walker skipping nodes
Mr Torsten Curdt
tcurdt at yahoo.com
Fri Jun 18 04:41:12 PDT 2004
Is there any way of not hard coding the
"ifBlock_AST_in"?
ifBlock
{
boolean b;
}
: #(IF b=expression
{
if (!b) {
_retTree = ifBlock_AST_in.getNextSibling();
return;
}
}
(pair|ifBlock)*
)
;
cheers
--
Torsten
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list