Class AbstractLocationInResource

    • Constructor Detail

      • AbstractLocationInResource

        protected AbstractLocationInResource​(AbstractTrace trace)
    • Method Detail

      • getOffset

        protected abstract int getOffset()
      • getLength

        protected abstract int getLength()
      • getLineNumber

        protected abstract int getLineNumber()
      • getEndLineNumber

        protected abstract int getEndLineNumber()
      • getTextRegion

        public org.eclipse.xtext.util.ITextRegionWithLineInformation getTextRegion()
        Specified by:
        getTextRegion in interface ILocationInResource
        Returns:
        the range in the resource. May be null.
      • getContents

        public java.io.InputStream getContents()
                                        throws java.io.IOException
        Description copied from interface: ILocationInResource
        Returns the contents of the resource. May be null.
        Specified by:
        getContents in interface ILocationInResource
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object