MCPcopy
hub / github.com/microsoft/vscode / parseString

Function parseString

src/vs/base/common/json.ts:1154–1163  ·  view source on GitHub ↗
(isValue: boolean)

Source from the content-addressed store, hash-verified

1152 }
1153
1154 function parseString(isValue: boolean): boolean {
1155 const value = _scanner.getTokenValue();
1156 if (isValue) {
1157 onLiteralValue(value);
1158 } else {
1159 onObjectProperty(value);
1160 }
1161 scanNext();
1162 return true;
1163 }
1164
1165 function parseLiteral(): boolean {
1166 switch (_scanner.getToken()) {

Callers 3

parsePropertyFunction · 0.85
parseValueFunction · 0.85
childAtIndexFunction · 0.85

Calls 4

onLiteralValueFunction · 0.85
onObjectPropertyFunction · 0.85
scanNextFunction · 0.70
getTokenValueMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…