Files
bun.sh/test/js
Claude Bot 8d8ed76e5b feat: Add ECMAScript decorators parser support
This implements parser support for ECMAScript decorators in Bun's transpiler.

Key changes:
- Added Decorator struct to AST for standard ECMAScript decorators
- Added decorators fields to Class, Property, and Arg structures
- Implemented parseDecorators and parseDecoratorExpression functions
- Added support for detecting experimental vs standard decorators via tsconfig
- Updated parser to handle @decorator syntax for ECMAScript decorators
- Added experimental_decorators field to tsconfig parser and Parser.Options

This lays the groundwork for ECMAScript decorator support. The lowering/transformation
implementation will need to be added in a follow-up to actually transpile decorators
to runnable code.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-27 01:45:14 +00:00
..
2024-12-12 02:07:29 -08:00
2025-09-26 03:06:18 -07:00