[antlr-interest] Traversing AST

Mark Wright markwright at internode.on.net
Sun May 4 23:43:14 PDT 2008


Hello Erandi,

You could use TreeWizard:

http://www.antlr.org/wiki/display/~admin/2007/07/02/Exploring+Concept+of+TreeWizard

Or you could walk it manually:

http://jazillian.com/articles/treewalkers.html

Regards, Mark

On Sun, 4 May 2008 22:44:47 -0700
"erandi lakshika" <erasuru at gmail.com> wrote:

> Once we generate a AST using ANTLR is there a way traverse the tree
> and search for a specific node?


-- 


More information about the antlr-interest mailing list