|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gjt.sp.jedit.syntax.DummyTokenHandler
A dummy token handler that discards tokens.
Field Summary | |
static DummyTokenHandler |
INSTANCE
To avoid having to create new instances of this class, use this variable. |
Constructor Summary | |
DummyTokenHandler()
|
Method Summary | |
void |
handleToken(byte id,
int offset,
int length,
TokenMarker.LineContext context)
Called by the token marker when a syntax token has been parsed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final DummyTokenHandler INSTANCE
Constructor Detail |
public DummyTokenHandler()
Method Detail |
public void handleToken(byte id, int offset, int length, TokenMarker.LineContext context)
handleToken
in interface TokenHandler
id
- The token type (one of the constants in the
Token
class).offset
- The start offset of the tokenlength
- The number of characters in the tokencontext
- The line context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |