Skip to content

Property to Function Call Visitor #7733

@jridgewell

Description

@jridgewell

Part of the class Private Properties transform is the terribly complicated "property" to function call visitor. It's strikingly similar to the replace supers (1, 2) transform.

That's because they're the same thing, just with different functions to call. This needs to be extracted into a new helper visitor, so we can cut down the duplication.

Metadata

Metadata

Assignees

Labels

PR: Internal 🏠A type of pull request used for our changelog categoriesoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions