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

Method exec

frontend/public/swagger-ui-bundle.js:20624–20640  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

20622 ;(this.rules.push([s, o]), 'begin' === o.type && this.count++)
20623 }
20624 exec(s) {
20625 const o = this.getMatcher(this.regexIndex)
20626 o.lastIndex = this.lastIndex
20627 let i = o.exec(s)
20628 if (this.resumingScanAtSamePosition())
20629 if (i && i.index === this.lastIndex);
20630 else {
20631 const o = this.getMatcher(0)
20632 ;((o.lastIndex = this.lastIndex + 1), (i = o.exec(s)))
20633 }
20634 return (
20635 i &&
20636 ((this.regexIndex += i.position + 1),
20637 this.regexIndex === this.count && this.considerAll()),
20638 i
20639 )
20640 }
20641 }
20642 if (
20643 (s.compilerExtensions || (s.compilerExtensions = []),

Callers

nothing calls this directly

Calls 4

getMatcherMethod · 0.95
considerAllMethod · 0.95
execMethod · 0.45

Tested by

no test coverage detected