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

Method addParam

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

Source from the content-addressed store, hash-verified

5186 return e3;
5187 }
5188 reset() {
5189 this.length = 0, this._subParamsLength = 0, this._rejectDigits = false, this._rejectSubDigits = false, this._digitIsSub = false;
5190 }
5191 addParam(e3) {
5192 if (this._digitIsSub = false, this.length >= this.maxLength) this._rejectDigits = true;
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 }

Callers 5

fromArrayMethod · 0.95
constructorMethod · 0.80
resetMethod · 0.80
parseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected