MCPcopy Create free account
hub / github.com/BUPT-GAMMA/MASFactory / store

Function store

masfactory-visualizer/src/parser/buildMethodParser.ts:402–405  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

400 (rightSide.type === 'list' || rightSide.type === 'tuple' || rightSide.type === 'dictionary')
401 ) {
402 const store = (key: string) => {
403 if (!key) {return;}
404 nodeCtx.literalValues![key] = rightSide;
405 };
406 store(leftTextRaw);
407 if (leftTextRaw.startsWith('self._')) {store(leftTextRaw.replace('self._', ''));}
408 if (leftTextRaw.startsWith('self.')) {store(leftTextRaw.replace('self.', ''));}

Callers 1

parseAssignmentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected