Skip to content

kwlist#239

Closed
pyramation wants to merge 3 commits intomainfrom
feat/keywords
Closed

kwlist#239
pyramation wants to merge 3 commits intomainfrom
feat/keywords

Conversation

@pyramation
Copy link
Copy Markdown
Collaborator

No description provided.

pyramation and others added 3 commits December 21, 2025 17:12
…Utils

- Remove Deparser.RESERVED_WORDS and Deparser.needsQuotes from deparser.ts
- Add QuoteUtils.needsQuotesForString() and QuoteUtils.quoteString() methods
- Update all call sites to use QuoteUtils instead of Deparser methods
- Both QuoteUtils.needsQuotes and QuoteUtils.needsQuotesForString now use
  RESERVED_KEYWORDS from kwlist.ts as the single source of truth
- Add Set<string> type annotations to kwlist.ts exports for TypeScript compatibility

Co-Authored-By: Dan Lynch <pyramation@gmail.com>
Co-Authored-By: Dan Lynch <pyramation@gmail.com>
@pyramation pyramation closed this Dec 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant