Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibPDF-js/core
/ shift
Method
shift
src/parser/object-parser.ts:90–93 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
88
}
89
90
private shift(): void {
91
this.buf1 = this.buf2;
92
this.buf2 = this.reader.nextToken();
93
}
94
95
/**
96
* Get current token with fresh
type
(avoids TypeScript narrowing issues).
Callers
10
parseValue
Method · 0.95
parseKeyword
Method · 0.95
parseNumberOrRef
Method · 0.95
parseReference
Method · 0.95
parseArray
Method · 0.95
parseDict
Method · 0.95
skipInvalidPair
Method · 0.95
parseXRefChain
Method · 0.80
entries
Method · 0.80
load
Method · 0.80
Calls
1
nextToken
Method · 0.45
Tested by
no test coverage detected