Class SourcePositionImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getColumn()
      Returns the text column number for this source position, or -1 if it is not known.
      int getLine()
      Returns the text line number for this source position, or -1 if it is not known.
      java.net.URI getSourceURI()
      Returns the URI of the source file, or null if it is not known.
      void setColumn​(int col)
      Sets the text column number for this source position.
      void setLine​(int line)
      Sets the text line number for this source position.
      void setSourceURI​(java.net.URI uri)
      Sets the URI of the source file.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setColumn

        public void setColumn​(int col)
        Description copied from interface: MSourcePosition
        Sets the text column number for this source position. Set to -1 if it is not known.
        Specified by:
        setColumn in interface MSourcePosition
      • setLine

        public void setLine​(int line)
        Description copied from interface: MSourcePosition
        Sets the text line number for this source position. Set to -1 if it is not known.
        Specified by:
        setLine in interface MSourcePosition
      • setSourceURI

        public void setSourceURI​(java.net.URI uri)
        Description copied from interface: MSourcePosition
        Sets the URI of the source file. Set to null if it is not known.
        Specified by:
        setSourceURI in interface MSourcePosition
      • getColumn

        public int getColumn()
        Description copied from interface: JSourcePosition
        Returns the text column number for this source position, or -1 if it is not known.
        Specified by:
        getColumn in interface JSourcePosition
      • getLine

        public int getLine()
        Description copied from interface: JSourcePosition
        Returns the text line number for this source position, or -1 if it is not known.
        Specified by:
        getLine in interface JSourcePosition
      • getSourceURI

        public java.net.URI getSourceURI()
        Description copied from interface: JSourcePosition
        Returns the URI of the source file, or null if it is not known.
        Specified by:
        getSourceURI in interface JSourcePosition