Update packages/sol-trace-based-tools-common/src/source_maps.ts
Co-Authored-By: LogvinovLeon <logvinov.leon@gmail.com>
This commit is contained in:
@@ -12,7 +12,7 @@ export interface SourceLocation {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Receives a string with newlines and returns a hash of byte offset to LineColumn
|
* Receives a string with newlines and returns a map of byte offset to LineColumn
|
||||||
* @param str A string to process
|
* @param str A string to process
|
||||||
*/
|
*/
|
||||||
export function getLocationByOffset(str: string): LocationByOffset {
|
export function getLocationByOffset(str: string): LocationByOffset {
|
||||||
|
Reference in New Issue
Block a user