Package com.google.debugging.sourcemap
Class SourceMapSection
- java.lang.Object
-
- com.google.debugging.sourcemap.SourceMapSection
-
public final class SourceMapSection extends java.lang.Object
A class representing a partial source map.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SourceMapSection.SectionType
-
Constructor Summary
Constructors Constructor Description SourceMapSection(java.lang.String sectionUrl, int line, int column)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SourceMapSection
forMap(java.lang.String value, int line, int column)
static SourceMapSection
forURL(java.lang.String value, int line, int column)
int
getColumn()
int
getLine()
SourceMapSection.SectionType
getSectionType()
java.lang.String
getSectionValue()
-
-
-
Constructor Detail
-
SourceMapSection
@Deprecated public SourceMapSection(java.lang.String sectionUrl, int line, int column)
Deprecated.- Parameters:
sectionUrl
- The URL for the partial source mapline
- 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)
-
getSectionType
public SourceMapSection.SectionType getSectionType()
-
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
-
-