[MonoDevelop] C# - abstract syntax tree

Mike Krüger mkrueger at novell.com
Sat Jun 5 00:46:13 EDT 2010


Hi

Use NRefactory - a general AST over all possible languages is not really helpful. 
The MonoDevelop 'AST' is only a best-fit for .NET languages to make components like class browser possible.

Regards
Mike

> 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?
> 
> Best regards
> Christian
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list



More information about the Monodevelop-list mailing list