> Doesn't look they implement Serializable.

CommonTree doesn't know anything about it's tokens,
it may hold tokens which are not Serializable.
I don't know where can someone ever want to have
such tokens, but maybe there is such a case. Supply
one if you can.

> I need to create this
> capability; when it's working, I'll submit it to the team.

You have to create CommonTree which restricts the type
of the token it holds, something like SerializableCommonTree.
There is CommonToken which is already Serializable and
could be used as a restriction on `Token token` attribute of
the CommonTree class.

To this letter I've attached an implementation that I've tried
to make and which doesn't work due to the problem described
in the second question here:
[ http://www.antlr.org/pipermail/antlr-interest/2006-July/016831.html ].
Feel free to make use of it.
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

Attachment: ast_serialization.7z
Description: Binary data

-- 
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.

Reply via email to