public abstract class AbstractTokenMaker extends TokenMakerBase
TokenMaker interface. It should
be overridden for every language for which you want to provide
syntax highlighting.Token| Modifier and Type | Field and Description |
|---|---|
protected TokenMap |
wordsToHighlight
Hash table of words to highlight and what token type they are.
|
currentToken, firstToken, previousToken| Constructor and Description |
|---|
AbstractTokenMaker()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract TokenMap |
getWordsToHighlight()
Returns the words to highlight for this programming language.
|
void |
removeLastToken()
Removes the token last added from the linked list of tokens.
|
addNullToken, addToken, addToken, addToken, createOccurrenceMarker, getClosestStandardTokenTypeForInternalType, getCurlyBracesDenoteCodeBlocks, getInsertBreakAction, getLanguageIndex, getLastTokenTypeOnLine, getLineCommentStartAndEnd, getMarkOccurrencesOfTokenType, getOccurrenceMarker, getShouldIndentNextLineAfter, isIdentifierChar, isMarkupLanguage, resetTokenList, setLanguageIndexclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTokenListprotected TokenMap wordsToHighlight
Token.RESERVED_WORD or
Token.FUNCTION.public abstract TokenMap getWordsToHighlight()
TokenMap containing the words to highlight for
this programming language.public void removeLastToken()
TokenMaker if necessary.