CompilationUnit changes from demo to current code

SyntaxEditor for WPF Forum

Posted 10 years ago by Jon Heaton
Version: 14.2.0610

I'm trying to use some of the Getting Started code to implement my custom language.

In the class ActiproSoftware.Text.Languages.JavaScript.Ast.Implementation.CompilationUnit, the properties HasMembers and Members no longer exist.

Do HasSourceElements and SourceElements replace these properties respectively?



Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Jon,

Yes the CompilationUnit.SourceElements collection will contain all the root elements (functions and statements) in a JavaScript file.

Actipro Software Support

The latest build of this product (v24.1.2) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.