docs(parser): fix sub-parameter limit name in Params JSDoc

addSubParam documents a cap on stored sub parameters; the limit is
enforced via maxSubParamsLength, not subParamsLength (the current count).

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Daniel Imms
2026-06-01 15:28:36 +00:00
committed by Cursor Agent
co-authored by Cursor
parent 26e771d075
commit 8854430df4
+1 -1
View File
@@ -172,7 +172,7 @@ export class Params implements IParams {
* Add a sub parameter value.
* The sub parameter is automatically associated with the last parameter value.
* Thus it is not possible to add a subparameter without any parameter added yet.
* `Params` only stores up to `subParamsLength` sub parameters, any later
* `Params` only stores up to `maxSubParamsLength` sub parameters, any later
* sub parameter will be ignored.
*/
public addSubParam(value: number): void {