public class SPARQLTokenMarker extends TokenMarker
TokenMarker.LineInfo
firstToken, lastLine, lastToken, lineInfo, nextLineRequested
Constructor and Description |
---|
SPARQLTokenMarker() |
SPARQLTokenMarker(KeywordMap k) |
Modifier and Type | Method and Description |
---|---|
static KeywordMap |
getKeywords() |
protected byte |
markTokensImpl(byte token,
javax.swing.text.Segment line,
int lineIndex)
Splits a line up into tokens.
|
addToken, deleteLines, ensureCapacity, getLineCount, getMaxLineWidth, insertLines, isNextLineRequested, markTokens, setLineWidth, supportsMultilineTokens
public SPARQLTokenMarker()
public SPARQLTokenMarker(KeywordMap k)
public static KeywordMap getKeywords()
protected byte markTokensImpl(byte token, javax.swing.text.Segment line, int lineIndex)
markTokensImpl
in class TokenMarker
token
- The initial token type for this lineline
- The line to be tokenizedlineIndex
- The index of the line in the document, starting at 0Copyright © 2016, 2017, 2018, 2019, 2023 Herve Girod. All Rights Reserved. Documentation and source under the MIT licence