OK, just thought I'd check. Since toStringTree() goes through the
appropriate motions, this has to be possible. I need to create this
capability; when it's working, I'll submit it to the team.
DMS
At 09:03 AM 6/4/2011, Jeff Hair wrote:
>Doesn't look they implement Serializable.
>
><https://github.com/antlr/antlr/tree/master/runtime/Java/src/main/java/org/antlr/runtime/tree>https://github.com/antlr/antlr/tree/master/runtime/Java/src/main/java/org/antlr/runtime/tree
>
>So you will have to serialize through whatever voodoo allows one to
>serialize a non-Serializable class (I'm sure it's possible some way
>or another).
>
>(Sorry, forgot to Reply to All)
>
>On Fri, Jun 3, 2011 at 5:37 PM, David Smith
><<mailto:[email protected]>[email protected]> wrote:
>I am really appreciative of the speed and expertise of the answers
>from this list. Hopefully, this is not as rudimentary as some of my
>earlier questions.
>
>For fairly obvious reasons, I would like to write out and read in a
>CommonTree. Is it possible to serialize one? I don't think i can
>reconstruct a tree from the result of a toStringTree() call. If so, how?
>
> DMS
>
>David M. Smith
><http://www.cc.gatech.edu/fac/David.Smith>http://www.cc.gatech.edu/fac/David.Smith
>Georgia Institute of Technology, College of Computing
>Sent from my ASR-33 Teletype
>
>
>List:
><http://www.antlr.org/mailman/listinfo/antlr-interest>http://www.antlr.org/mailman/listinfo/antlr-interest
>Unsubscribe:
><http://www.antlr.org/mailman/options/antlr-interest/your-email-address>http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
David M. Smith http://www.cc.gatech.edu/fac/David.Smith
Georgia Institute of Technology, College of Computing
Sent from my ASR-33 Teletype
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--
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.