[antlr-interest] Tree construction syntax
Jim O'Connor
Jim.OConnor at microfocus.com
Thu Oct 9 08:03:00 PDT 2003
No difference.
http://www.antlr.org/doc/trees.html#_bb1
Just above
"Invoking parsers that build trees"
In addition to the translation of the #(...) as a whole, the root and each
child c1..cn will be translated. Within the context of a #(...) construct,
you may use:
id or label as a shorthand for #id or #label.
[...] as a shorthand for #[...].
(...) as a shorthand for #(...).
-----Original Message-----
From: Arnar Birgisson [mailto:arnarb at oddi.is]
Sent: Thursday, October 09, 2003 10:56 AM
To: antlr-interest at yahoogroups.com
Subject: [antlr-interest] Tree construction syntax
What is the difference between
#([PARENT,"parent"], child1, child2)
and
#(#[PARENT,"parent"], child1, child2)
Arnar
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
________________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed Scanning
Services - powered by MessageLabs. For further information visit
http://www.mci.com
________________________________________________________________________
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list