GetTokenStream vs Tokens

SyntaxEditor for Windows Forms Forum

Posted 14 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 14 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 (v2020.1 build 0400) was released 1 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.