Links
EControl Syntax Editor SDK
TParserResults.Tags Property

Provides indexed access to tokens.

property Tags [Index: integer]: TSyntToken;

Tokens are placed in list in creation order. Therefore always: 

Tags[n].EndPos <=Tags[m].StartPos, if n < m. 

 

Tokens are created during syntactical analysis and are destroyed in ChangeAtPos method. 

Only IsFinished is True guarantees that all possible tokens have been created.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!