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

Method _setDefaults

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

Source from the content-addressed store, hash-verified

19141 this.tokens = a(s)
19142 }
19143 _setDefaults(s) {
19144 ;((this.max =
19145 null != s.max
19146 ? s.max
19147 : null != RandExp.prototype.max
19148 ? RandExp.prototype.max
19149 : 100),
19150 (this.defaultRange = s.defaultRange ? s.defaultRange : this.defaultRange.clone()),
19151 s.randInt && (this.randInt = s.randInt))
19152 }
19153 gen() {
19154 return this._gen(this.tokens, [])
19155 }

Callers 2

constructorMethod · 0.95
randexpMethod · 0.80

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected