VB Parser

When working with users who want to use the code model to parse their files, the first thing they ask for is if they can get into the method bodies to find out what is inside of them. The code model does not allow it because of the complexities of designing one API for all languages (but I am working on it). Paul (one of the people on the VB team) put together a parser, written in VB for VB. I have not looked at it too closely, but you should be able to adapt it to get to the structure of a method/property body. What we usually tell people who want to get to the method body is to, rather than writing a full parser, use the code model to find methods then find the start/end point of the method, and then parse out what they need manually. This should help out a lot. Here is a link to the GDN workspace.

[Edit: 6/18 at 5:28 to fix the link to the workspace]