Sha256: d481f65b82190b3304d40060bf020adc4c19d9779014fd556e1b4217bdaf28cf

Contents?: true

Size: 350 Bytes

Versions: 40

Compression:

Stored size: 350 Bytes

Contents

export declare type SourceLocation = {
    line: number;
    column: number;
};
export default class LinesAndColumns {
    private string;
    private offsets;
    constructor(string: string);
    locationForIndex(index: number): SourceLocation | null;
    indexForLocation(location: SourceLocation): number | null;
    private lengthOfLine(line);
}

Version data entries

40 entries across 39 versions & 7 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/lines-and-columns/dist/index.d.ts
trusty-cms-5.0.7 node_modules/lines-and-columns/dist/index.d.ts
trusty-cms-5.0.6 node_modules/lines-and-columns/dist/index.d.ts
trusty-cms-5.0.5 node_modules/lines-and-columns/dist/index.d.ts
trusty-cms-5.0.4 node_modules/lines-and-columns/dist/index.d.ts
disco_app-0.16.1 test/dummy/node_modules/lines-and-columns/dist/index.d.ts
disco_app-0.15.2 test/dummy/node_modules/lines-and-columns/dist/index.d.ts
trusty-cms-5.0.3 node_modules/lines-and-columns/dist/index.d.ts
trusty-cms-5.0.2 node_modules/lines-and-columns/dist/index.d.ts
disco_app-0.18.4 test/dummy/node_modules/lines-and-columns/dist/index.d.ts
disco_app-0.18.1 test/dummy/node_modules/lines-and-columns/dist/index.d.ts
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/lines-and-columns/dist/index.d.ts
disco_app-0.14.0 test/dummy/node_modules/lines-and-columns/dist/index.d.ts
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/lines-and-columns/dist/index.d.ts
trusty-cms-5.0.1 node_modules/lines-and-columns/dist/index.d.ts
trusty-cms-4.3.5 node_modules/lines-and-columns/dist/index.d.ts
trusty-cms-5.0.0 node_modules/lines-and-columns/dist/index.d.ts
trusty-cms-4.3.4 node_modules/lines-and-columns/dist/index.d.ts
trusty-cms-4.3.3 node_modules/lines-and-columns/dist/index.d.ts
trusty-cms-4.3.2 node_modules/lines-and-columns/dist/index.d.ts