Hello Daniel,
I want to use my own AST.
I use the class CompilationUnit from SharpDevelop. The nodes of the AST have to implement the INode interface.
I figured out, that i can add nodes to the AST with compilationUnit.AddChild(). For a block of statements i had to use compilationUnit.BlockStart() and BlockEnd().
The question is:
How should i implement a visitor?
How can i walk through the AST?