MCPcopy Index your code
hub / github.com/codeaashu/claude-code / addSubParam

Method addSubParam

src/server/web/public/terminal.js:5195–5201  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

5193 else {
5194 if (e3 < -1) throw new Error("values lesser than -1 are not allowed");
5195 this._subParamsIdx[this.length] = this._subParamsLength << 8 | this._subParamsLength, this.params[this.length++] = e3 > i2 ? i2 : e3;
5196 }
5197 }
5198 addSubParam(e3) {
5199 if (this._digitIsSub = true, this.length) if (this._rejectDigits || this._subParamsLength >= this.maxSubParamsLength) this._rejectSubDigits = true;
5200 else {
5201 if (e3 < -1) throw new Error("values lesser than -1 are not allowed");
5202 this._subParams[this._subParamsLength++] = e3 > i2 ? i2 : e3, this._subParamsIdx[this.length - 1]++;
5203 }
5204 }

Callers 2

fromArrayMethod · 0.95
parseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected