How to get the typeName of a node instead of its number when using xmlSerialize() ?
0 posts in topic
Flat View  Flat View

Posted By:   fabien_GELINEAU
Posted On:   Friday, January 4, 2002 04:01 AM

I have created a homogeneous tree with several different node types as SCREEN_DEF, COLUMN_DEF, an so on.

I have to dump the entire tree into an XML file. Great, there's a method for that. I used it and get a result looking like



It will be great to get the typeName instead of the number. For example,
8 is equivalent to SCREEN_DEF in my parser token definitions.

I am wondering if a such behavior is available in antlr ?

About | Sitemap | Contact