Class AbstractNodeWithTextCoordinates<B extends AbstractNodeWithTextCoordinates<B,​T>,​T extends GenericNode<T>>

  • All Implemented Interfaces:
    GenericNode<T>, Node

    public abstract class AbstractNodeWithTextCoordinates<B extends AbstractNodeWithTextCoordinates<B,​T>,​T extends GenericNode<T>>
    extends AbstractNode<B,​T>
    Base class for implementations that need fields to store text coordinates.
    • Field Detail

      • beginLine

        protected int beginLine
      • endLine

        protected int endLine
      • beginColumn

        protected int beginColumn
      • endColumn

        protected int endColumn
    • Constructor Detail

      • AbstractNodeWithTextCoordinates

        protected AbstractNodeWithTextCoordinates()
    • Method Detail

      • getBeginLine

        public int getBeginLine()
      • getBeginColumn

        public int getBeginColumn()
      • getEndLine

        public int getEndLine()
      • getEndColumn

        public int getEndColumn()
      • setCoords

        protected void setCoords​(int bline,
                                 int bcol,
                                 int eline,
                                 int ecol)