Skip to content

v3.40.0

@MrCoder MrCoder tagged this 10 Sep 00:47
* feat: add support for named parameters in method calls

Implements named parameter syntax (param=value) in DSL method calls while maintaining backward compatibility with positional parameters.

Features:
- Grammar extension: Added namedParameter rule to ANTLR grammar
- Parser types: Extended interfaces to support both named and positional parameters
- Rendering: Enhanced SignatureText.ts with formatParameters helper
- Mixed support: Allows mixing positional and named parameters
- Backward compatibility: All existing syntax continues to work

Examples:
- A.method(userId=123, name="John")
- B.create(type="User", active=true)
- C.mixedCall("first", second=456, "third")

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: remove space in parameter list formatting

* feat: add HTML and tests for named parameters functionality

* feat: migrate CI setup from pnpm to Bun

* chore: update Playwright snapshots for Linux CI

  Generated Linux-specific snapshots for chromium-linux platform.

  🤖 Generated with [Claude Code](https://claude.ai/code)

  Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Assets 2
Loading