How to enumerate variables? - SyntaxEditor .NET Languages Add-on for WPF Forum Cart Not logged in Log In Register Forgot Password Resend Validation E-mail Products WPF Controls WinRT Controls Silverlight Controls WinForms Controls ASP.NET Controls Code Writer App Icons Download Evaluations Freeware Online Demos Purchase Shopping Cart Price Lists Sales FAQ Support My Account Support Tickets Knowledge Base Consulting Services Community Blog Twitter Page Discussion Forums Polls WPFpedia Company About Us Contact Us Policies Our Customers Testimonials News Room Media Kit Careers Back to Forum Previous Thread Next Thread Latest Release: Discussion Forums SyntaxEditor .NET Languages Add-on for WPF How to enumerate variables? Posted 4 months ago by Sergey Kaminskiy Version: I need to get a list of variables at the scope of a current line. For example, when user clicks inside of the function I need to find all variables declared within that function and show those variables to the user. Comments (3) Answer Posted 4 months ago by Actipro Software Support - Cleveland, OH, USA Actipro Software Support Posted 4 months ago by Sergey Kaminskiy Posted 4 months ago by Actipro Software Support - Cleveland, OH, USA Hi Sergey, Sorry but we don't have anything that resolves the entire tree of an AST. However you could use the previously suggested technique to find all accessible members, parameters, and variables. Parameter results will be IParameterResolverResults and members will be ITypeMemberResolverResults. You'd only need to filter down members to field or property ones. Actipro Software Support which was after the last post in this thread. Add a Comment Please log in to a validated account to post comments. Products WPF Controls WinRT Controls Silverlight Controls WinForms Controls ASP.NET Controls Code Writer App Icons Download Evaluations Freeware Online Demos Purchase Shopping Cart Price Lists Sales FAQ Support My Account Support Tickets Knowledge Base Consulting Services Community Blog Twitter Page Discussion Forums Polls WPFpedia Company About Us Our Customers Testimonials News Room Media Kit Careers Contact Us return false; type: 'POST', cache: false, async: false, else return false; return false; doctype: '', return false; type: 'POST', cache: false, async: false, else
Clker.com is owned by Rolera LLC, 2270 Route 30, Oswego, IL 60543 support\at\clker\dot\com
Comments