public class SourceMap extends Object
CodeConsumer
,
CodeGenerator
,
CodePrinter
Modifier and Type | Class and Description |
---|---|
static class |
SourceMap.DetailLevel
Source maps can be very large different levels of detail can be specified.
|
static class |
SourceMap.Format |
static class |
SourceMap.LocationMapping |
Modifier and Type | Method and Description |
---|---|
void |
addMapping(Node node,
FilePosition outputStartPosition,
FilePosition outputEndPosition) |
void |
appendTo(Appendable out,
String name) |
void |
reset() |
void |
setPrefixMappings(List<SourceMap.LocationMapping> sourceMapLocationMappings) |
void |
setStartingPosition(int offsetLine,
int offsetIndex) |
void |
setWrapperPrefix(String prefix) |
void |
validate(boolean validate) |
public void addMapping(Node node, FilePosition outputStartPosition, FilePosition outputEndPosition)
public void appendTo(Appendable out, String name) throws IOException
IOException
public void reset()
public void setStartingPosition(int offsetLine, int offsetIndex)
public void setWrapperPrefix(String prefix)
public void validate(boolean validate)
public void setPrefixMappings(List<SourceMap.LocationMapping> sourceMapLocationMappings)
sourceMapLocationMappings
- Copyright © 2009-2014 Google. All Rights Reserved.