private class SourceMapGeneratorV3.MappingTraversal
extends java.lang.Object
| Constructor and Description |
|---|
MappingTraversal() |
| Modifier and Type | Method and Description |
|---|---|
private int |
getAdjustedCol(FilePosition p) |
private int |
getAdjustedLine(FilePosition p) |
private boolean |
isOverlapped(SourceMapGeneratorV3.Mapping m1,
SourceMapGeneratorV3.Mapping m2) |
private void |
maybeVisit(SourceMapGeneratorV3.MappingVisitor v,
SourceMapGeneratorV3.Mapping m)
Write any needed entries from the current position to the end of the
provided mapping.
|
private void |
maybeVisitParent(SourceMapGeneratorV3.MappingVisitor v,
SourceMapGeneratorV3.Mapping parent,
SourceMapGeneratorV3.Mapping m)
Write any needed entries to complete the provided mapping.
|
(package private) void |
traverse(SourceMapGeneratorV3.MappingVisitor v) |
private void |
visit(SourceMapGeneratorV3.MappingVisitor v,
SourceMapGeneratorV3.Mapping m,
int nextLine,
int nextCol)
Write any entries needed between the current position the next position
and update the current position.
|
void traverse(SourceMapGeneratorV3.MappingVisitor v) throws java.io.IOException
java.io.IOExceptionprivate int getAdjustedLine(FilePosition p)
private int getAdjustedCol(FilePosition p)
private boolean isOverlapped(SourceMapGeneratorV3.Mapping m1, SourceMapGeneratorV3.Mapping m2)
private void maybeVisit(SourceMapGeneratorV3.MappingVisitor v, SourceMapGeneratorV3.Mapping m) throws java.io.IOException
java.io.IOExceptionprivate void maybeVisitParent(SourceMapGeneratorV3.MappingVisitor v, SourceMapGeneratorV3.Mapping parent, SourceMapGeneratorV3.Mapping m) throws java.io.IOException
java.io.IOExceptionprivate void visit(SourceMapGeneratorV3.MappingVisitor v, SourceMapGeneratorV3.Mapping m, int nextLine, int nextCol) throws java.io.IOException
java.io.IOException