MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / value

Function value

src/extraction/languages/objcpp.ts:340–347  ·  view source on GitHub ↗
(kind: Value)

Source from the content-addressed store, hash-verified

338 lastEnd = e;
339 };
340 const value = (kind: Value): void => {
341 const f = top();
342 if (kind === Value.Word && f.ch === LBRACKET && f.last !== Value.None) {
343 if (f.last === Value.Paren) f.weakSend = true;
344 else f.send = true;
345 }
346 f.last = kind;
347 };
348 const prevWord = (): string => (prevKind === 1 ? source.slice(prevStart, prevEnd) : '');
349 const prevChar = (): number => (prevKind === 0 ? 0 : source.charCodeAt(prevEnd - 1));
350 const finish = (end: number): number => {

Callers 1

scanItemFunction · 0.85

Calls 1

topFunction · 0.70

Tested by

no test coverage detected