I m using Xtext to define my DSL. Xtext generates a parser that lets me traverse the EMF model of my input DSL. I d like to translate this EMF model into some other tree. To do this translation, I need to traverse the tree. But, I couldn t find a visitor class for the EMF model generated by Xtext. The closest thing that I ve found is a Switch class that visits a single node. I can traverse the EMF model myself and invoke the Switch class on each node that I visit. But, I wonder if there exists a visitor functionality in Xtext that implements the model traversal.
If I have a *java file open, I can right click on the source, scroll down to "Show In (Alt-Shift-W)", and select Navigator. If I have an *xml, *jsp, or pretty much anything besides a Java source ...