|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IOffsetMapper
| Method Summary | |
|---|---|
void |
calculateCurrentLexeme(int offset)
Calculates the index and lexeme that the given offset is within and caches it. |
void |
dispose()
Disposes the object. |
ICodeLocation |
findTarget(Lexeme lexeme)
findTarget |
Lexeme |
getCurrentLexeme()
Gets the cached current Lexeme based on the current offset of the document. |
int |
getCurrentLexemeIndex()
Gets the cached current Lexeme index based on the offset in the current document. |
Lexeme |
getLexemeAtIndex(int index)
Gets the lexeme at the specified index. |
int |
getLexemeIndexFromDocumentOffset(int offset)
With a name this long you don't really need a comment. |
LexemeList |
getLexemeList()
getLexemeList |
| Method Detail |
|---|
LexemeList getLexemeList()
void calculateCurrentLexeme(int offset)
offset - Lexeme getCurrentLexeme()
Lexeme getLexemeAtIndex(int index)
index -
int getCurrentLexemeIndex()
int getLexemeIndexFromDocumentOffset(int offset)
offset -
ICodeLocation findTarget(Lexeme lexeme)
lexeme -
void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||