-
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
RubyTokenMarker
public RubyTokenMarker()
-
Method Detail
-
markTokensImpl
protected byte markTokensImpl(byte token,
javax.swing.text.Segment line,
int lineIndex)
Splits a line up into tokens.
- Specified by:
markTokensImpl
in class TokenMarker
- Parameters:
token
- The initial token type for this line
line
- The line to be tokenized
lineIndex
- The index of the line in the document, starting at 0
- Returns:
- The initial token type for the next line
Copyright © 2016, 2017, 2018, 2019, 2023 Herve Girod. All Rights Reserved. Documentation and source under the MIT licence