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

Method addRule

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

Source from the content-addressed store, hash-verified

20619 this.regexIndex = 0
20620 }
20621 addRule(s, o) {
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

Callers 1

compileLanguageFunction · 0.95

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected