Bug 1501577 added emitter helper for object/class, but the consumer of it is still using JSOp to determine whether the property is getter/setter/other. We should add another variant for property definition (including class methods/fields) and use enum kind to tell what it is.
Bug 1520996 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Bug 1501577 added emitter helper for object/class, but the consumer of it is still using JSOp to determine whether the property is getter/setter/other. We should add another variant of ParseNode subclass for property definition (including class methods/fields) and use enum kind to tell what it is.