Class SourceMapSection

java.lang.Object
com.google.debugging.sourcemap.SourceMapSection

public class SourceMapSection extends Object
A class representing a partial source map.
  • Constructor Details

    • SourceMapSection

      @Deprecated public SourceMapSection(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 Details

    • forMap

      public static SourceMapSection forMap(String value, int line, int column)
    • forURL

      public static SourceMapSection forURL(String value, int line, int column)
    • getSectionType

      public SourceMapSection.SectionType getSectionType()
    • getSectionUrl

      @Deprecated public String getSectionUrl()
      Deprecated.
      Returns:
      the name of the map
    • getSectionValue

      public 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