public static class DocumentTokenSource.TokenAdapter extends java.lang.Object implements ILexerTokenRegion
Constructor and Description |
---|
DocumentTokenSource.TokenAdapter(DocumentTokenSource.TokenInfo token,
int offset) |
Modifier and Type | Method and Description |
---|---|
int |
getLength() |
int |
getLexerTokenType() |
int |
getOffset() |
public DocumentTokenSource.TokenAdapter(DocumentTokenSource.TokenInfo token, int offset)
public int getLength()
getLength
in interface org.eclipse.jface.text.IRegion
public int getOffset()
getOffset
in interface org.eclipse.jface.text.IRegion
public int getLexerTokenType()
getLexerTokenType
in interface ILexerTokenRegion