Skip to content

Make Token a sealed interface rather than a record with a Type enum.#1365

Closed
copybara-service[bot] wants to merge 0 commit intomasterfrom
test_894217353
Closed

Make Token a sealed interface rather than a record with a Type enum.#1365
copybara-service[bot] wants to merge 0 commit intomasterfrom
test_894217353

Conversation

@copybara-service
Copy link
Copy Markdown

Make Token a sealed interface rather than a record with a Type enum.

I think this is a bit cleaner, and it will also make it possible to associate additional information with particular token types. I have something in mind for a new CodeBlock token.

@copybara-service copybara-service bot closed this Apr 3, 2026
@copybara-service copybara-service bot deleted the test_894217353 branch April 3, 2026 21:25
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.

0 participants