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

Function kp

frontend/public/swagger-ui-bundle.js:43128–43483  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43126 }
43127 })(-1 === o ? '#' : s.substring(o))
43128 },
43129 kp = function fnparser() {
43130 const s = Pp,
43131 o = jp,
43132 i = this,
43133 a = 'parser.js: Parser(): '
43134 ;((i.ast = void 0), (i.stats = void 0), (i.trace = void 0), (i.callbacks = []))
43135 let u,
43136 _,
43137 w,
43138 x,
43139 C,
43140 j,
43141 L,
43142 B = 0,
43143 $ = 0,
43144 U = 0,
43145 V = 0,
43146 z = 0,
43147 Y = new (function systemData() {
43148 ;((this.state = s.ACTIVE),
43149 (this.phraseLength = 0),
43150 (this.refresh = () => {
43151 ;((this.state = s.ACTIVE), (this.phraseLength = 0))
43152 }))
43153 })()
43154 i.parse = (Z, ee, ie, ae) => {
43155 const ce = `${a}parse(): `
43156 ;((B = 0),
43157 ($ = 0),
43158 (U = 0),
43159 (V = 0),
43160 (z = 0),
43161 (u = void 0),
43162 (_ = void 0),
43163 (w = void 0),
43164 (x = void 0),
43165 Y.refresh(),
43166 (C = void 0),
43167 (j = void 0),
43168 (L = void 0),
43169 (x = o.stringToChars(ie)),
43170 (u = Z.rules),
43171 (_ = Z.udts))
43172 const le = ee.toLowerCase()
43173 let pe
43174 for (const s in u)
43175 if (u.hasOwnProperty(s) && le === u[s].lower) {
43176 pe = u[s].index
43177 break
43178 }
43179 if (void 0 === pe)
43180 throw new Error(`${ce}start rule name '${startRule}' not recognized`)
43181 ;((() => {
43182 const s = `${a}initializeCallbacks(): `
43183 let o, w
43184 for (C = [], j = [], o = 0; o < u.length; o += 1) C[o] = void 0
43185 for (o = 0; o < _.length; o += 1) j[o] = void 0

Callers

nothing calls this directly

Calls 3

opExecuteFunction · 0.85
initMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected