Implementing a mergable programmatic lexer

SyntaxEditor for WPF Forum

Posted 10 years ago by Martin de Jong - Statistics Netherlands
Avatar
In the documentation is stated:

Quote:

A mergable programmatic lexer is made by creating a class that implements the IMergableLexer interface, although inheriting the MergableLexerBase class is the easiest way to accomplish this. When inheriting MergableLexerBase, the only method we are required to implement is the CreateToken method.


CreateToken doesnt have a reader as parameter; maybe GetNextToeken is meant, just as in a Simple language sample?

Comments (1)

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

You are right... it should be GetNextToken instead of CreateToken. Thanks for letting us know about the typo.


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.