import CodeFile from "./CodeFile"; export default class CodeLocation { constructor(file?: CodeFile | null, char?: number, line?: number, col?: number); /** * THe file to which this location points. */ readonly file: CodeFile | null; /** * The character offset in the file contents. */ readonly char: number; /** * The line number of this location. Zero-indexed. */ readonly line: number; /** * The column number of this location. Zero-indexed. */ readonly col: number; toString(): string; formatWithContext(): string; private get filename(); }