المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : ASTVisitor in Visual Studios for C#



C# Programming
07-24-2009, 10:00 AM
Hi,

Has anyone done sth in ASTVisitor for C#? Can help me in the following?
I am working on a project regarding reverse engineering, that requires me to write a ASTVisitor using the Visitor method.

I am looking for an something *****alent to this Java API for Eclipse in the C# .NET Framework Class Library for Visual Studios:
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.cdt.doc.isv/reference/api/org/eclipse/cdt/core/dom/ast/ASTVisitor.html[^ (http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.cdt.doc.isv/reference/api/org/eclipse/cdt/core/dom/ast/ASTVisitor.html)]

Also I found this link (below) which looks related, but I don't know what is it about.
There is a piece of code that says abt a class AstVisitor which inherits fr IAstVisitor.
Not sure whether IAstVisitor is what I need, but I can't find it in the .NET Framework Class Library.
http://www.nootaikok.com/2009/01/c-code-generation-using-mgrammar.html[^ (http://www.nootaikok.com/2009/01/c-code-generation-using-mgrammar.html)]

Can someone show me some light on this issue? Would be v grateful...