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

Function store

masfactory-visualizer/src/parser/moduleLevelParser.ts:34–37  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

32
33function storeLiteralBinding(literalValues: { [name: string]: TSNode }, rawKey: string, value: TSNode): void {
34 const store = (key: string) => {
35 if (!key) {return;}
36 literalValues[key] = value;
37 };
38
39 const key = rawKey.trim();
40 if (!key) {return;}

Callers 2

registerTemplateMethod · 0.70
storeLiteralBindingFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected