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

Method push

masfactory-visualizer/src/parser/parser.ts:684–688  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

682 private normalizeLookupKeys(raw: string): string[] {
683 const out: string[] = [];
684 const push = (value: string) => {
685 const next = String(value || '').trim();
686 if (!next || out.includes(next)) {return;}
687 out.push(next);
688 };
689 const trimmed = String(raw || '').trim();
690 push(trimmed);
691 if (trimmed.startsWith('self._')) {push(trimmed.replace('self._', ''));}

Callers 15

activateFunction · 0.80
traverseFunction · 0.80
getBaseClassesFunction · 0.80
parseCreateNodeFunction · 0.80
parseEdgeCreationFunction · 0.80
resolveReturnValueMethod · 0.80

Calls 2

hasMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected