I wanna do a inverse operation.  Get from the  tree and put in the code.

Do you have any idea about... how should I do to do it?

Cheers

Fernando


2009/11/23 Fernando Freitas <[email protected]>

> I was testing this example. Follows below:
>
>
> http://jvalentino.blogspot.com/2007/04/creating-source-code-syntax-parser-in.html
>
> so, I am trying to do it:
>
>  CLASS_DEF
>        |
>        |
>           --- OBJBLOCK
>                   |
>                   |
>                   METHOD_DEF
>                       |
>                       |
>                         ---- SLIST
>
>
>
>   In SLIST I have all the code of Method body .
>
>
> 1) How should I do to get this code ?   How could I do to put the method
> body in a string.
>
> 2) Is there a easy way to do it?
>
> Anybody know?
>
>
> Thanks and best Regards
> Fernando
>

--

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


List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

Reply via email to