com.aptana.ide.editor.html
Class HTMLOffsetMapper

java.lang.Object
  extended by com.aptana.ide.editors.unified.ChildOffsetMapper
      extended by com.aptana.ide.editor.html.HTMLOffsetMapper
All Implemented Interfaces:
IChildOffsetMapper, IOffsetMapper

public class HTMLOffsetMapper
extends ChildOffsetMapper

The HTMLOffsetMapper understands how to map between lexemes, offsets and the environment

Author:
Ingo Muschenetz

Constructor Summary
HTMLOffsetMapper(IParentOffsetMapper parent)
           
 
Method Summary
 ICodeLocation findTarget(Lexeme lexeme)
          findTarget
 java.lang.String getNameHash()
          Returns a "hash name" allowing us to properly query code assist for appropriate completions.
 
Methods inherited from class com.aptana.ide.editors.unified.ChildOffsetMapper
calculateCurrentLexeme, dispose, getCurrentLexeme, getCurrentLexemeIndex, getFileService, getLexemeAtIndex, getLexemeIndexFromDocumentOffset, getLexemeList, getNextLexeme, getParent, getPreviousLexeme
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLOffsetMapper

public HTMLOffsetMapper(IParentOffsetMapper parent)
Parameters:
parent -
Method Detail

getNameHash

public java.lang.String getNameHash()
Returns a "hash name" allowing us to properly query code assist for appropriate completions.

Returns:
NameHash

findTarget

public ICodeLocation findTarget(Lexeme lexeme)
Description copied from interface: IOffsetMapper
findTarget

Specified by:
findTarget in interface IOffsetMapper
Overrides:
findTarget in class ChildOffsetMapper
Returns:
ICodeLocation
See Also:
IOffsetMapper.findTarget(com.aptana.ide.lexer.Lexeme)