GetTokenStream vs Tokens

SyntaxEditor for Windows Forms Forum

Posted 13 years ago by Russell Mason
Avatar
Hi

Whats the advantage (or disadvantage) of using a TokenStream over the documents Tokens collection?

Thanks
Russell Mason

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Tokens is just a collection so you can iterate over it in normal collection ways. TokenStream is more of a stream-like class where you are "pointed" at a token and can navigate forward and backward through it so many people like using the stream version better for parsing data.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) 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.