public abstract class AbstractJFlexTokenMaker extends TokenMakerBase
Modifier and Type | Field and Description |
---|---|
protected int |
offsetShift |
protected javax.swing.text.Segment |
s |
protected int |
start |
currentToken, firstToken, previousToken
Constructor and Description |
---|
AbstractJFlexTokenMaker() |
Modifier and Type | Method and Description |
---|---|
abstract void |
yybegin(int newState)
Declared here so we can define overloads that refer to this method.
|
protected void |
yybegin(int state,
int languageIndex)
Starts a new JFlex state and changes the current language index.
|
addNullToken, addToken, addToken, addToken, createOccurrenceMarker, getClosestStandardTokenTypeForInternalType, getCurlyBracesDenoteCodeBlocks, getInsertBreakAction, getLanguageIndex, getLastTokenTypeOnLine, getLineCommentStartAndEnd, getMarkOccurrencesOfTokenType, getOccurrenceMarker, getShouldIndentNextLineAfter, isIdentifierChar, isMarkupLanguage, resetTokenList, setLanguageIndex
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTokenList
protected javax.swing.text.Segment s
protected int start
protected int offsetShift
public abstract void yybegin(int newState)
newState
- The new JFlex state to enter.protected void yybegin(int state, int languageIndex)
state
- The new JFlex state to enter.languageIndex
- The new language index.