Update packages/sol-trace-based-tools-common/src/source_maps.ts
Co-Authored-By: LogvinovLeon <logvinov.leon@gmail.com>
This commit is contained in:
parent
052ed21e9c
commit
d7df402c42
@ -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
|
||||
*/
|
||||
export function getLocationByOffset(str: string): LocationByOffset {
|
||||
|
Loading…
x
Reference in New Issue
Block a user