MCPcopy Create free account
hub / github.com/dataease/SQLBot / endOfMode

Function endOfMode

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

Source from the content-addressed store, hash-verified

20945 )
20946 }
20947 function endOfMode(s, o, i) {
20948 let a = (function startsWith(s, o) {
20949 const i = s && s.exec(o)
20950 return i && 0 === i.index
20951 })(s.endRe, i)
20952 if (a) {
20953 if (s['on:end']) {
20954 const i = new Response(s)
20955 ;(s['on:end'](o, i), i.isMatchIgnored && (a = !1))
20956 }
20957 if (a) {
20958 for (; s.endsParent && s.parent; ) s = s.parent
20959 return s
20960 }
20961 }
20962 if (s.endsWithParent) return endOfMode(s.parent, o, i)
20963 }
20964 function doIgnore(s) {
20965 return 0 === U.matcher.regexIndex ? ((Y += s[0]), 1) : ((ae = !0), 0)
20966 }

Callers 1

doEndMatchFunction · 0.85

Calls 1

execMethod · 0.45

Tested by

no test coverage detected