public abstract class AbstractMarkupTokenMaker extends AbstractJFlexTokenMaker
offsetShift, s, start
currentToken, firstToken, previousToken
Constructor and Description |
---|
AbstractMarkupTokenMaker() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
getCompleteCloseTags()
Returns whether markup close tags should be completed.
|
String[] |
getLineCommentStartAndEnd(int languageIndex)
Returns the text to place at the beginning and end of a
line to "comment" it in this programming language.
|
boolean |
isMarkupLanguage()
Overridden to return
true . |
yybegin, yybegin
addNullToken, addToken, addToken, addToken, createOccurrenceMarker, getClosestStandardTokenTypeForInternalType, getCurlyBracesDenoteCodeBlocks, getInsertBreakAction, getLanguageIndex, getLastTokenTypeOnLine, getMarkOccurrencesOfTokenType, getOccurrenceMarker, getShouldIndentNextLineAfter, isIdentifierChar, resetTokenList, setLanguageIndex
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTokenList
public abstract boolean getCompleteCloseTags()
public String[] getLineCommentStartAndEnd(int languageIndex)
getLineCommentStartAndEnd
in interface TokenMaker
getLineCommentStartAndEnd
in class TokenMakerBase
languageIndex
- The language index at the offset in question.
Since some TokenMaker
s effectively have nested
languages (such as JavaScript in HTML), this parameter tells the
TokenMaker
what sub-language to look at.null
value for either means there
is no string to add for that part. A value of
null
for the array means this language
does not support commenting/uncommenting lines.public final boolean isMarkupLanguage()
true
.isMarkupLanguage
in interface TokenMaker
isMarkupLanguage
in class TokenMakerBase
true
always.Copyright © 2003–2015. All rights reserved.