MCPcopy Create free account
hub / github.com/KaTeX/KaTeX / constructor

Method constructor

src/SourceLocation.ts:13–17  ·  view source on GitHub ↗
(lexer: LexerInterface, start: number, end: number)

Source from the content-addressed store, hash-verified

11 readonly end: number; // End offset, zero-based exclusive.
12
13 constructor(lexer: LexerInterface, start: number, end: number) {
14 this.lexer = lexer;
15 this.start = start;
16 this.end = end;
17 }
18
19 /**
20 * Merges two `SourceLocation`s from location providers, given they are

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected