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

TokenClasses: don't use classifiers #3667

Merged
merged 1 commit into from
Oct 23, 2023
Merged

Commits on Oct 20, 2023

  1. TokenClasses: don't use classifiers

    Scalameta is gradually phasing out macros, so let's stop using custom
    classifiers.
    
    Also, let's switch to using standard scalameta token branches instead
    of custom ones defined within scalafmt:
    - Trivia -> Token.Trivia
    - Whitespace -> Token.Whitespace
    - Delim -> Token.Symbolic
    - Literal -> Token.Literal
    - rename Keyword as Reserved and represent it as Token.Keyword and
      false/true/null
    - remove Modifier since it's covered by Reserved and used only once,
      where Reserved applies already
    kitbellew committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    bb6dce9 View commit details
    Browse the repository at this point in the history