Bug 265499 - [WebIDL] Allow fine grain control of generated name for enumeration values
Summary: [WebIDL] Allow fine grain control of generated name for enumeration values
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Bindings (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dan Glastonbury
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-28 18:40 PST by Dan Glastonbury
Modified: 2023-11-28 18:50 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Glastonbury 2023-11-28 18:40:15 PST
The bindings generator has an adhoc method for controlling the
 generation of the associated C++ enumeration value name from a
 string value.

Sometimes, it would better to have local control over the naming.
 Implementing `[ImplementedAs]` for enumeration values, whose
 presence would over rule the adhoc method, would be better.
Comment 1 Radar WebKit Bug Importer 2023-11-28 18:40:25 PST
<rdar://problem/118909721>
Comment 2 Dan Glastonbury 2023-11-28 18:50:12 PST
Pull request: https://github.com/WebKit/WebKit/pull/21038