Ajay Bhargav Baaskaran
6c8e900d11
Razor parser rewrite ( #2590 )
...
* Razor parser rewrite
- Rewrite CSharp parser
- Basic rewrite of HTML parser (More improvements to follow)
- Define and generate syntax nodes and boilerplate
- Rewrite ClassifiedSpan and TagHelperSpan generation logic
- Rewrite TagHelper phase
- Rewrite Intermediate phase
- Rewrite other miscellaneous features and bug fixes
- Rewrite partial parsing
- Added some syntax manipulation APIs
- Removed unused legacy types
* Test changes
- Update parser test infrastructure
- Update tests
- Regenerated baselines
- Removed unused legacy types
2018-11-16 17:22:37 -08:00
Ajay Bhargav Baaskaran
9e4c4079f2
Renamed HtmlTextSyntax to HtmlTextLiteralSyntax for consistency ( #2560 )
...
* Renamed HtmlTextSyntax to HtmlTextLiteralSyntax for consistency
* Generated baselines
2018-08-28 14:00:32 -07:00
Ajay Bhargav Baaskaran
db2a142132
Updated the tokenizer and parser to operate on SyntaxTokens directly ( #2540 )
...
* Updated the tokenizer and parser to operate on SyntaxTokens directly
- The tokenizer and parser now operates directly on SyntaxTokens (Green)
- The SyntaxToken(Red) is now created when the Span is built with the correct parent and position
- All other passes that run after the parsing is complete(TagHelperRewriter etc) will operate on the Red tokens.
- There is now only one type for all SyntaxTokens. They are differentiated by their SyntaxKind.
- Added equivalence checking for tokens
- Updated test code to react
- Regenerated baselines
2018-08-16 16:11:01 -07:00
Ajay Bhargav Baaskaran
ce4780a830
Renamed symbol to token everywhere
...
- Updated Resources
- Updated test code
- Regenerated baselines
- Added exclusions for apicheck (See https://github.com/aspnet/BuildTools/issues/704 )
2018-07-06 16:29:36 -07:00
Artak Mkrtchyan
6c8c6a777c
- Clarified the code where the comment content ending is checked to be allowed or not.
...
- Added more unit tests
2018-03-09 09:16:17 -08:00
Artak Mkrtchyan
32e2c533c7
Naming improvements and test code cleanup
2018-03-08 13:37:05 -08:00
Artak Mkrtchyan
632c9dead7
Added tests for the LookaheadUntil method
2018-03-08 13:37:05 -08:00
Ajay Bhargav Baaskaran
085838e83a
Make ErrorSink and Tokenizer depend on RazorDiagnostic instead of RazorError
2017-12-14 18:32:58 -08:00
N. Taylor Mullen
0618bae3bd
Rename Microsoft.AspNetCore.Razor.Evolution => Microsoft.AspNetCore.Razor.Language.
...
- Also updated corresponding test project to go from Evolution => Language.
- Regenerated test files to reflect new file paths.
#1169
2017-04-10 10:20:04 -07:00