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

Method consumeCodePoint

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

Source from the content-addressed store, hash-verified

510 }
511
512 private consumeCodePoint(): number {
513 const value = this._value.shift();
514
515 return typeof value === 'undefined' ? -1 : value;
516 }
517
518 private reconsumeCodePoint(codePoint: number) {
519 this._value.unshift(codePoint);

Callers 10

consumeTokenMethod · 0.95
consumeIdentLikeTokenMethod · 0.95
consumeUrlTokenMethod · 0.95
consumeWhiteSpaceMethod · 0.95
consumeBadUrlRemnantsMethod · 0.95
consumeNumberMethod · 0.95
consumeNumericTokenMethod · 0.95
consumeNameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected