Class TagParser.Point

  • Enclosing class:
    TagParser

    private static final class TagParser.Point
    extends java.lang.Object
    Represents current position in the text.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int columnNo
      Column number.
      private int lineNo
      Line number.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Point​(int lineNo, int columnNo)
      Creates new Point instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getColumnNo()
      Getter for column number.
      int getLineNo()
      Getter for line number.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • lineNo

        private final int lineNo
        Line number.
      • columnNo

        private final int columnNo
        Column number.
    • Constructor Detail

      • Point

        private Point​(int lineNo,
                      int columnNo)
        Creates new Point instance.
        Parameters:
        lineNo - line number
        columnNo - column number
    • Method Detail

      • getLineNo

        public int getLineNo()
        Getter for line number.
        Returns:
        line number of the position.
      • getColumnNo

        public int getColumnNo()
        Getter for column number.
        Returns:
        column number of the position.