| org.netbeans.lib.lexer.inc.MutableTokenList
MutableTokenList | public interface MutableTokenList extends TokenList<T>(Code) | | Token list that allows mutating by token list mutator.
author: Miloslav Metelka version: 1.00 |
createLexerInputOperation | LexerInputOperation<T> createLexerInputOperation(int tokenIndex, int relexOffset, Object relexState)(Code) | | Create lexer input operation used for relexing of the input.
|
isFullyLexed | boolean isFullyLexed()(Code) | | Check whether the whole input was tokenized or not.
Incremental algorithm uses this information to determine
whether it should relex the input till the end or not.
|
replaceTokens | void replaceTokens(TokenListChange<T> change, int removeTokenCount, int diffLength)(Code) | | Update the token list by replacing tokens according to the given change.
|
tokenOrEmbeddingContainerUnsync | Object tokenOrEmbeddingContainerUnsync(int index)(Code) | | Return token or branch token list at the requested index
but do not synchronize the access - there should only be one thread
accessing the token list at this time.
Also do not perform any checks regarding index validity
- only items below
MutableTokenList.tokenCountCurrent() will be requested.
|
|
|