Class SourceMapSection


  • public final class SourceMapSection
    extends java.lang.Object
    A class representing a partial source map.
    • Constructor Detail

      • SourceMapSection

        @Deprecated
        public SourceMapSection​(java.lang.String sectionUrl,
                                int line,
                                int column)
        Deprecated.
        Parameters:
        sectionUrl - The URL for the partial source map
        line - The number of lines into the file where the represented section starts.
        column - The number of characters into the line where the represented section starts.
    • Method Detail

      • forMap

        public static SourceMapSection forMap​(java.lang.String value,
                                              int line,
                                              int column)
      • forURL

        public static SourceMapSection forURL​(java.lang.String value,
                                              int line,
                                              int column)
      • getSectionValue

        public java.lang.String getSectionValue()
        Returns:
        the value that represents the map for this section.
      • getLine

        public int getLine()
        Returns:
        the starting line for this section
      • getColumn

        public int getColumn()
        Returns:
        the column for this section