[antlr-interest] Problem using AST
atif azad
atif.azad at hotmail.com
Sun Nov 4 10:49:53 PST 2007
Dear all
I am using antlr trees and tree walker for a grammer.
my output is
(VAR int x) (VAR int y) (FUNC foo) (VAR int t) (FUCN_BLOCK int p) (FUCN
base)
What if I want that I should print the nodes starting with VAR ist then
FUNC at second postion and so on.
I mean i want the ouput like this
(VAR int x) (VAR int y) (VAR int t) (FUNC foo) (FUCN_BLOCK int p ) (FUCN
base)
How could I rearrange my output.
kind Regards
Azad , Atif
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
More information about the antlr-interest
mailing list