|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.ui.editor.model.DocumentTokenSource.TokenAdapter
public static class DocumentTokenSource.TokenAdapter
Constructor Summary | |
---|---|
DocumentTokenSource.TokenAdapter(DocumentTokenSource.TokenInfo token,
int offset)
|
Method Summary | |
---|---|
int |
getLength()
Returns the length of the region. |
int |
getLexerTokenType()
|
int |
getOffset()
Returns the offset of the region. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocumentTokenSource.TokenAdapter(DocumentTokenSource.TokenInfo token, int offset)
Method Detail |
---|
public int getLength()
org.eclipse.jface.text.IRegion
getLength
in interface org.eclipse.jface.text.IRegion
public int getOffset()
org.eclipse.jface.text.IRegion
getOffset
in interface org.eclipse.jface.text.IRegion
public int getLexerTokenType()
getLexerTokenType
in interface ILexerTokenRegion
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |