Interface ILineStartFinder

All Known Implementing Classes:
AbstractDOMBuilder, DOMBuilder, SimpleDOMBuilder

public interface ILineStartFinder
The ILineSeparatorFinder finds previous and next line separators in source.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getLineStart​(int position)
    Returns the position of the start of the line at or before the given source position.
  • Method Details

    • 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.