Sha256: 522edc786ed48304671b935cf7d3ed63acc6636ab9888c6e130b97a6aea92b46
Contents?: true
Size: 394 Bytes
Versions: 26
Compression:
Stored size: 394 Bytes
Contents
import type { Source } from './source'; /** * Represents a location in a Source. */ export interface SourceLocation { readonly line: number; readonly column: number; } /** * Takes a Source and a UTF-8 character offset, and returns the corresponding * line and column as a SourceLocation. */ export declare function getLocation( source: Source, position: number, ): SourceLocation;
Version data entries
26 entries across 26 versions & 1 rubygems