[MonoDevelop] C# - abstract syntax tree

Michael Hutchinson m.j.hutchinson at gmail.com
Sat Jun 5 02:56:16 EDT 2010


On Fri, Jun 4, 2010 at 6:29 AM, Christian Kollee
<christian.kollee at fernuni-hagen.de> wrote:
> Hi,
>
> I tried to read through the source but couldn't find a clue how to get
> an abstract syntax tree (AST) for the current project/solution/files
> loaded. The ProjectDOM is not sufficient, as it seems to be readonly and
> I need to apply some transformations.
>
> Is it possible to get such an AST from MonoDevelop or do I have to build
> it by myself, e.g., using NRefactory?

What kind of transformation do you have in mind? I would suggest you
look at MonoDevelop.Refactoring.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list