Implementing a mergable programmatic lexer

SyntaxEditor for WPF Forum

Posted 15 years ago by Martin - Blaise - 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 15 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 (v24.1.3) 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.