Constructor for TMTokenBlock.
The start index of the token block.
The end index of the token block.
An array of TMToken objects representing the tokens in the block.
The label class associated with the token block.
The current state of the token block.
Indicates if the token block has been reviewed, default is false.
An array of history entries for the token block, default is an empty array.
The current state of the token block.
The end index of the token block.
An array of history entries for the token block.
The label class associated with the token block.
The original state of the token block, used for restoring the block's state.
Indicates if the token block has been reviewed.
The start index of the token block.
An array of TMToken objects representing the tokens in the block.
The type of the token block, default is 'token-block'.
Static method to create a TMTokenBlock from an Entity object.
Class representing a block of tokens in the TokenManager.
Description
This class implements the TMTokens interface and represents a block of tokens with its start, end, label class, current state, and history.