Hello,
I would like to do something with the generated root node while parsing,
similar to this (which of course does not work):
init
: KW_INITIALISE ( ( SEMICOLON) data )*
{ VerifyInitData( $init, 0, 4, 1 ); }
-> ^(KW_INITIALISE data*)
;
Is there any equivalent construct I might use ? Or would use of a tree
walker be the clean approach ?
Freundliche Grüße / Best Regards
Lars von Wedel
_________________________________________
Bayer Technology Services GmbH
Web: www.bayertechnology.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address