Expand description
Auto-generated module
🤖 Generated with SplitRS
Functions§
- annotation_
line_ range - Returns the line range covered by annotations in a table.
- annotations_
for_ source - Returns annotations for a specific source file.
- annotations_
sorted_ by_ offset - Returns annotations sorted by wasm offset.
- count_
annotations_ in_ range - A simple WASM instruction counter.
- decode_
mappings - Decode the VLQ-encoded mappings string from a Source Map v3 into a
Vec<Vec<DecodedSegment>>(outer = lines, inner = segments per line). - generate_
source_ map_ json - Generate a JSON source map with options.
- max_
wasm_ offset - Returns the maximum wasm offset in an annotation table, if any.
- merge_
source_ maps - Merge a list of source maps into one.
- min_
wasm_ offset - Returns the minimum wasm offset in an annotation table, if any.
- offset_
to_ source_ pos - Converts a flat byte offset to a SourcePos2 using a line map.
- summarize_
source_ map - Render a source map as a human-readable summary.
- to_
absolute_ mappings - Convert a
SourceMapinto a flat list ofAbsoluteMappings. - total_
annotations - Returns the total number of annotations in a table.
- unique_
source_ indices - Returns unique source indices referenced in an annotation table.
- validate_
vlq_ codec - Validate that VLQ encoding is self-consistent for a range of values.
- vlq_
compression_ ratio - Compute a “compression ratio” for VLQ-encoded mapping data.