MCPcopy Create free account
hub / github.com/LibPDF-js/core / lookahead

Method lookahead

src/parser/object-parser.ts:105–107  ·  view source on GitHub ↗

* Get lookahead token with fresh type (avoids TypeScript narrowing issues).

()

Source from the content-addressed store, hash-verified

103 * Get lookahead token with fresh type (avoids TypeScript narrowing issues).
104 */
105 private lookahead(): Token | null {
106 return this.buf2;
107 }
108
109 private warn(message: string): void {
110 this.onWarning?.(message, this.reader.position);

Callers 1

parseNumberOrRefMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected