MCPcopy
hub / github.com/niklasvh/html2canvas / read

Method read

src/css/syntax/tokenizer.ts:322–330  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

320 }
321
322 read(): CSSToken[] {
323 const tokens = [];
324 let token = this.consumeToken();
325 while (token !== EOF_TOKEN) {
326 tokens.push(token);
327 token = this.consumeToken();
328 }
329 return tokens;
330 }
331
332 private consumeToken(): CSSToken {
333 const codePoint = this.consumeCodePoint();

Callers 3

parseFunction · 0.95
createMethod · 0.95
tokenizeFunction · 0.95

Calls 1

consumeTokenMethod · 0.95

Tested by 1

tokenizeFunction · 0.76