Interface RtPosition


public interface RtPosition
The position of a parsed element (for example RtLink or RtElement) in the source file.
Since:
3.17.0
  • Method Summary

    Modifier and Type
    Method
    Description
     
    This value depends on the meaning the position has for the parser.
  • Method Details

    • value

      @NotNull String value()
      This value depends on the meaning the position has for the parser. In the provided Java, C and XML parser, the position represents the line number in the source file.
      Returns:
      the position on which the element is located on.
    • lineNumber

      @Nullable Integer lineNumber()
      Returns:
      numeric line number value of this position if implementation supports semantics of line numbers, null otherwise