MCPcopy Index your code
hub / github.com/dataease/SQLBot / dispatchPluginsSync

Function dispatchPluginsSync

frontend/public/swagger-ui-bundle.js:43017–43027  ·  view source on GitHub ↗
(s, o, i = {})

Source from the content-addressed store, hash-verified

43015 toolboxCreator: toolbox,
43016 visitorOptions: { nodeTypeGetter: visitor_getNodeType, exposeEdits: !0 },
43017 },
43018 dispatchPluginsSync = (s, o, i = {}) => {
43019 if (0 === o.length) return s
43020 const a = up(wp, i),
43021 { toolboxCreator: u, visitorOptions: _ } = a,
43022 w = u(),
43023 x = o.map((s) => s(w)),
43024 C = mergeAll(x.map(La({}, 'visitor')), { ..._ })
43025 x.forEach(_p(['pre'], []))
43026 const j = visitor_visit(s, C, _)
43027 return (x.forEach(_p(['post'], [])), j)
43028 }
43029 dispatchPluginsSync[Symbol.for('nodejs.util.promisify.custom')] = async (s, o, i = {}) => {
43030 if (0 === o.length) return s

Calls 9

mergeAllFunction · 0.85
_pFunction · 0.85
visitor_visitFunction · 0.85
uFunction · 0.70
upClass · 0.50
sFunction · 0.50
LaFunction · 0.50
mapMethod · 0.45
forEachMethod · 0.45

Tested by

no test coverage detected