MCPcopy Create free account
hub / github.com/microsoft/vscode-cpptools / scanDigits

Method scanDigits

Extension/src/Utility/Text/scanner.ts:729–735  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

727 }
728
729 private scanDigits(): string {
730 const start = this.#offset;
731 while (isDigit(this.#ch)) {
732 this.advance();
733 }
734 return this.#text.substring(start, this.#offset);
735 }
736
737 private scanNumber() {
738 const start = this.#offset;

Callers 1

scanNumberMethod · 0.95

Calls 2

advanceMethod · 0.95
isDigitFunction · 0.90

Tested by

no test coverage detected