private class SourceMapConsumerV3.MappingBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private SourceMapConsumerV3.StringCharIterator |
content |
private int |
line |
private static int |
MAX_ENTRY_VALUES |
private int |
previousCol |
private int |
previousNameId |
private int |
previousSrcColumn |
private int |
previousSrcId |
private int |
previousSrcLine |
Constructor and Description |
---|
MappingBuilder(java.lang.String lineMap) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
build() |
private void |
completeLine(java.util.ArrayList<SourceMapConsumerV3.Entry> entries) |
private SourceMapConsumerV3.Entry |
decodeEntry(int[] vals,
int entryValues)
Decodes the next entry, using the previous encountered values to
decode the relative values.
|
private boolean |
entryComplete() |
private int |
nextValue() |
private boolean |
tryConsumeToken(char token) |
private void |
validateEntry(SourceMapConsumerV3.Entry entry)
Sanity check the entry.
|
private static final int MAX_ENTRY_VALUES
private final SourceMapConsumerV3.StringCharIterator content
private int line
private int previousCol
private int previousSrcId
private int previousSrcLine
private int previousSrcColumn
private int previousNameId
void build()
private void completeLine(java.util.ArrayList<SourceMapConsumerV3.Entry> entries)
private void validateEntry(SourceMapConsumerV3.Entry entry)
private SourceMapConsumerV3.Entry decodeEntry(int[] vals, int entryValues)
vals
- An array of integers that represent values in the entry.entryValues
- The number of entries in the array.private boolean tryConsumeToken(char token)
private boolean entryComplete()
private int nextValue()