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

Function extractFromDoc

frontend/public/swagger-ui-bundle.js:40972–40982  ·  view source on GitHub ↗
(s, o)

Source from the content-addressed store, hash-verified

40970 function refs_split(s) {
40971 return (s + '').split('#')
40972 }
40973 function extractFromDoc(s, o) {
40974 const i = Jl[s]
40975 if (i && !Wo.isPromise(i))
40976 try {
40977 const s = extract(o, i)
40978 return Object.assign(Promise.resolve(s), { __value: s })
40979 } catch (s) {
40980 return Promise.reject(s)
40981 }
40982 return getDoc(s).then((s) => extract(o, s))
40983 }
40984 function getDoc(s) {
40985 const o = Jl[s]

Callers 1

Calls 5

extractFunction · 0.85
getDocFunction · 0.85
resolveMethod · 0.80
rejectMethod · 0.45
thenMethod · 0.45

Tested by

no test coverage detected