-
Notifications
You must be signed in to change notification settings - Fork 196
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
Use the roslyn tokenizer #10702
Merged
333fred
merged 17 commits into
dotnet:features/roslyn-tokenizer
from
333fred:roslyn-tokenizer
Aug 12, 2024
Merged
Use the roslyn tokenizer #10702
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
894a9ba
Remove unused ITokenizer interface, make tokenizers disposable.
333fred a15d7cc
Remove unneeded common states
333fred 3a8fd07
Allow setting the next tokenizer state after a razor comment body is …
333fred 60ac8d1
Plumb the Roslyn tokenizer through more tests
333fred 73aa717
Nullable enable the tokenizer
333fred dcef8ed
Add consolidated syntax kinds. Since there aren't consumers that care…
333fred 5749a8e
Give better error messages when syntax tree verification fails.
333fred 2823f64
The big change: use the roslyn tokenizer for tokenizing C#.
333fred c25ac20
Update SyntaxKinds to the new consolidated kinds in tests.
333fred 34ab111
Increase test coverage of a few scenarios, and bulk up existing tests.
333fred abd6aba
Skip test for now, give a better exception.
333fred acf7a60
Name change
333fred 640d377
Better support giving errors on raw string literals, increase test co…
333fred 3155200
PR feedback.
333fred 1a0d57d
Convert to the correct type
333fred aa24f69
Additional commenting and PR feedback. I've simplified the reset loop…
333fred 5b7e927
More feedback
333fred File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we also run razor-toolset-ci pipeline (which tests bunch of existing razor projects) with the roslyn tokenizer enabled?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do this before we merge the feature branch and address any breaks that come up with dedicated tests at that point.