Package | Description |
---|---|
com.google.debugging.sourcemap |
Provides utilities to the creation and use of source maps.
|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Field and Description |
---|---|
(package private) FilePosition |
SourceMapGeneratorV3.Mapping.endPosition
The ending position of the code in the generated source
file which this mapping represents.
|
private FilePosition |
SourceMapGeneratorV3.offsetPosition
The position that the current source map is offset in the
buffer being used to generated the compiled source file.
|
(package private) FilePosition |
SourceMapGeneratorV3.Mapping.originalPosition
The position of the code in the input source file.
|
private FilePosition |
SourceMapGeneratorV3.prefixPosition
The position that the current source map is offset in the
generated the compiled source file by the addition of a
an output wrapper prefix.
|
(package private) FilePosition |
SourceMapGeneratorV3.Mapping.startPosition
The starting position of the code in the generated source
file which this mapping represents.
|
Modifier and Type | Method and Description |
---|---|
void |
SourceMapGenerator.addMapping(java.lang.String sourceName,
java.lang.String symbolName,
FilePosition sourceStartPosition,
FilePosition outputStartPosition,
FilePosition outputEndPosition)
Adds a mapping for the given node.
|
void |
SourceMapGeneratorV3.addMapping(java.lang.String sourceName,
java.lang.String symbolName,
FilePosition sourceStartPosition,
FilePosition startPosition,
FilePosition endPosition)
Adds a mapping for the given node.
|
private int |
SourceMapGeneratorV3.MappingTraversal.getAdjustedCol(FilePosition p) |
private int |
SourceMapGeneratorV3.MappingTraversal.getAdjustedLine(FilePosition p) |
void |
SourceMapConsumerV3.EntryVisitor.visit(java.lang.String sourceName,
java.lang.String symbolName,
FilePosition sourceStartPosition,
FilePosition startPosition,
FilePosition endPosition) |
void |
SourceMapGeneratorV3.ConsumerEntryVisitor.visit(java.lang.String sourceName,
java.lang.String symbolName,
FilePosition sourceStartPosition,
FilePosition startPosition,
FilePosition endPosition) |
Modifier and Type | Field and Description |
---|---|
(package private) FilePosition |
CodePrinter.MappedCodePrinter.Mapping.end |
(package private) FilePosition |
CodePrinter.MappedCodePrinter.Mapping.start |
Modifier and Type | Method and Description |
---|---|
private static FilePosition |
CodePrinter.MappedCodePrinter.convertPosition(FilePosition position,
int lineIndex,
int characterPosition,
boolean insertion)
Converts the given position by normalizing it against the insertion
or removal of a newline at the given line and character position.
|
Modifier and Type | Method and Description |
---|---|
void |
SourceMap.addMapping(Node node,
FilePosition outputStartPosition,
FilePosition outputEndPosition) |
private static FilePosition |
CodePrinter.MappedCodePrinter.convertPosition(FilePosition position,
int lineIndex,
int characterPosition,
boolean insertion)
Converts the given position by normalizing it against the insertion
or removal of a newline at the given line and character position.
|