By code statement i mean smallest standalone element of code. Is there an interface to get code statements inside a EnvDTE.CodeFunction body in a structured form.
There are ways that can retrieve body of EnvDTE.CodeFunction as plain text, and if i want to process method calls etc. i should use Regex which i think is not a general solution. For example both of these statements are same:
var value = @"the "" is qoutation mark"; var value = "the \" is qoutation mark";
but it is a little hard to parse them with regex, and a more straightforward way should be existed with EnvDTE I think!