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

Method scanVariable

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

Source from the content-addressed store, hash-verified

958 }
959
960 scanVariable() {
961 this.text = '$';
962 this.text += this.scanUntil((ch) => !isIdentifierPart(ch));
963 return this.kind = Kind.Variable;
964 }
965
966 /**
967 * Returns the zero-based line/column from the given offset

Callers 1

scanMethod · 0.95

Calls 2

scanUntilMethod · 0.95
isIdentifierPartFunction · 0.90

Tested by

no test coverage detected