mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Start of an `estree` crate for representing ESTree with serialization to/from ESTree JSON. To get the serialization to work quickly I took some shortcuts and uses a slightly less precise modeling. Longer-term we can write some custom serialization code and get more precise types (eg avoid the `ExpressionLike` enum in favor of proper Expression and ExpressionOrFoo types).