public final class SourceMapSection
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SourceMapSection.SectionType |
Modifier and Type | Field and Description |
---|---|
private int |
column |
private int |
line |
private SourceMapSection.SectionType |
type |
private java.lang.String |
value
A URL for a valid source map file that represents a section of a generate
source file such as when multiple files are concatenated together.
|
Modifier | Constructor and Description |
---|---|
private |
SourceMapSection(SourceMapSection.SectionType type,
java.lang.String value,
int line,
int column) |
|
SourceMapSection(java.lang.String sectionUrl,
int line,
int column)
Deprecated.
|
Modifier and Type | Method and 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() |
private final java.lang.String value
private final int line
private final int column
private final SourceMapSection.SectionType type
@Deprecated public SourceMapSection(java.lang.String sectionUrl, int line, int column)
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.private SourceMapSection(SourceMapSection.SectionType type, java.lang.String value, int line, int column)
public static SourceMapSection forMap(java.lang.String value, int line, int column)
public static SourceMapSection forURL(java.lang.String value, int line, int column)
public SourceMapSection.SectionType getSectionType()
public java.lang.String getSectionValue()
public int getLine()
public int getColumn()