Skip to main content

Module source_map

Module source_map 

Source
Expand description

Source map decoding and PC mapping utilities.

Structsยง

PcSourceMapper
Maps program counters to source locations.
SourceData
Source data for a single contract.
SourceLocation
Represents a location in source code.

Functionsยง

compute_line_offsets ๐Ÿ”’
Computes the byte offset where each line starts in source content.
load_build_sources
Loads sources for a specific ArtifactId.build_id
offset_to_line_column ๐Ÿ”’
Converts a byte offset to 1-indexed line and column numbers.