Beginner questions for using ASTNodes - SyntaxEditor Web 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 Web Languages Add-on for WPF Beginner questions for using ASTNodes matthias kossiek Version: Comments (5) by Actipro Software Support - Cleveland, OH, USA Actipro Software Support by matthias kossiek by Actipro Software Support - Cleveland, OH, USA Hi Matthias, What I meant was that with all the current builds of SyntaxEditor you can choose to use DefaultAstNode OR type-specific nodes when building a new grammar. Either will work fine. Type-specific AST nodes are a little more work but have a nicer end result. The Web Languages Add-on still uses DefaultAstNode (since it was built before the type-specific AST node option was added) and we have not done any work to switch it to type-specific nodes at this time. I'll add a TODO item for that but it is a lower priority since the XML language is functioning fine as-is with DefaultAstNode. Actipro Software Support by matthias kossiek Hi, thanks for reply. Do you have a small sample xml-language project with one or two type-specific ASTNodes? Or can you give me a little howto to define xml type-specific AstNodes in LanguageDesigner using the sample xml-language project coming with the wpf-studio? by Actipro Software Support - Cleveland, OH, USA Hi Matthias, The documentation for the Language Designer Tool has a topic describing how to build AST nodes with it. We don't have any samples at the moment for doing type-specific AST nodes. We eventually will add a step in the Getting Started series for it. But regardless, if you are trying to use the Web Languages Add-on, defining your own AST nodes won't really do you any good unless you write your own XML grammar. The built-in grammar currently makes DefaultAstNode instances and it's not easy to swap in type-specific nodes without having the full source of the add-on and rebuilding it, as areas like the grammar and context building code all work off the DefaultAstNodes. 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