GetTokenStream vs Tokens

SyntaxEditor for Windows Forms Forum

Posted 19 years ago by Russell Mason

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

Russell Mason

Comments (1)

Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
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 (v24.1.0) was released 5 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.