org.aspectj.org.eclipse.jdt.internal.core.jdom
Interface ILineStartFinder

All Known Implementing Classes:
AbstractDOMBuilder, DOMBuilder, SimpleDOMBuilder

public interface ILineStartFinder

The ILineSeparatorFinder finds previous and next line separators in source.


Method Summary
 int getLineStart(int position)
          Returns the position of the start of the line at or before the given source position.
 

Method Detail

getLineStart

int getLineStart(int position)
Returns the position of the start of the line at or before the given source position.

This defaults to zero if the position corresponds to a position on the first line of the source.