CompilationUnit changes from demo to current code

SyntaxEditor for WPF Forum

Posted 5 years ago by Jon Heaton
Version: 14.2.0610
Avatar

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?

Thanks,

Jon

Comments (1)

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

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 (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.