Skip to content

Provide location information for key in LiteralMap #66175

@fisker

Description

@fisker

Which @angular/* package(s) are relevant/related to the feature request?

compiler

Description

Currently, there is no location information about keys in LiteralMap. Which makes Prettier difficult to transform the AST to ESTree.

Proposed solution

Maybe we can provide the span of the key? Probably reasonable to store in LiteralMap.keys?

Alternatives considered

N/A

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions