Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for record and tuple syntax. #10865

Merged
merged 18 commits into from Mar 16, 2020

Commits on Mar 16, 2020

  1. Added support for record and tuple syntax.

    This commit adds support for both the hash #{} and bar {||}
    syntaxes to babel-parser, as well as adds the supporting
    babel-plugin-syntax-record-and-tuple plugin to enable support
    for the syntax. Does not include any transform for records and
    tuples.
    rickbutton authored and nicolo-ribaudo committed Mar 16, 2020
    Copy the full SHA
    f35a62d View commit details
    Browse the repository at this point in the history
  2. typo

    rickbutton authored and nicolo-ribaudo committed Mar 16, 2020
    Copy the full SHA
    13d22c4 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    78b9c48 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    19dd3b5 View commit details
    Browse the repository at this point in the history
  5. switched to using recordAndTupleSyntaxType for generator options inst…

    …ead of adding to node
    rickbutton authored and nicolo-ribaudo committed Mar 16, 2020
    Copy the full SHA
    d75b627 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    dae8915 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    7274a4e View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    0897e32 View commit details
    Browse the repository at this point in the history
  9. fixed flowcheck errors

    rickbutton authored and nicolo-ribaudo committed Mar 16, 2020
    Copy the full SHA
    5bfea75 View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    8576567 View commit details
    Browse the repository at this point in the history
  11. Update packages/babel-parser/src/types.js

    Co-Authored-By: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
    rickbutton and nicolo-ribaudo committed Mar 16, 2020
    Copy the full SHA
    3afeaa0 View commit details
    Browse the repository at this point in the history
  12. Copy the full SHA
    105948b View commit details
    Browse the repository at this point in the history
  13. Copy the full SHA
    05be6db View commit details
    Browse the repository at this point in the history
  14. updated error message

    rickbutton authored and nicolo-ribaudo committed Mar 16, 2020
    Copy the full SHA
    e89b346 View commit details
    Browse the repository at this point in the history
  15. added better error messages for when the recordAndTuple syntaxType is…

    … doesn't match the syntax used
    rickbutton authored and nicolo-ribaudo committed Mar 16, 2020
    Copy the full SHA
    846ed14 View commit details
    Browse the repository at this point in the history
  16. Copy the full SHA
    067d51e View commit details
    Browse the repository at this point in the history
  17. Copy the full SHA
    7e3b977 View commit details
    Browse the repository at this point in the history
  18. Fix linting

    nicolo-ribaudo committed Mar 16, 2020
    Copy the full SHA
    3121fc3 View commit details
    Browse the repository at this point in the history