com.aptana.ide.parsing
Class CodeLocation

java.lang.Object
  extended by com.aptana.ide.parsing.CodeLocation
All Implemented Interfaces:
ICodeLocation

public class CodeLocation
extends java.lang.Object
implements ICodeLocation

CodeLocation


Constructor Summary
CodeLocation(java.lang.String fullPath, Lexeme startLexeme)
          CodeLocation
CodeLocation(java.lang.String fullPath, Lexeme startLexeme, Lexeme endLexeme)
          CodeLocation
 
Method Summary
 Lexeme getEndLexeme()
           
 java.lang.String getFullPath()
           
 Lexeme getStartLexeme()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeLocation

public CodeLocation(java.lang.String fullPath,
                    Lexeme startLexeme)
CodeLocation

Parameters:
fullPath -
startLexeme -

CodeLocation

public CodeLocation(java.lang.String fullPath,
                    Lexeme startLexeme,
                    Lexeme endLexeme)
CodeLocation

Parameters:
fullPath -
startLexeme -
endLexeme -
Method Detail

getFullPath

public java.lang.String getFullPath()
Specified by:
getFullPath in interface ICodeLocation
Returns:
Returns the fullPath.
See Also:
ICodeLocation.getFullPath()

getStartLexeme

public Lexeme getStartLexeme()
Specified by:
getStartLexeme in interface ICodeLocation
Returns:
Returns the start lexeme.
See Also:
ICodeLocation.getStartLexeme()

getEndLexeme

public Lexeme getEndLexeme()
Specified by:
getEndLexeme in interface ICodeLocation
Returns:
Returns the end lexeme if available (may be null).
See Also:
ICodeLocation.getEndLexeme()