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
8e667ba730
Rename parser tests to have shorter names
2018-07-19 15:22:30 -07:00
Ajay Bhargav Baaskaran
ed7c4e8f5c
Parser tests clean up
2018-07-06 16:24:39 -07:00
Ryan Nowak
942d4d194c
Convert HtmlToCodeSwitchTest
2018-06-28 13:30:52 -07:00
Artak Mkrtchyan
6f515bb763
Fixed all the tests to reflect HtmlComment block type support
2018-03-08 13:37:03 -08:00
Ryan Nowak
22d52f2a3c
Split the functions/section/inherits directives
2017-06-13 18:05:34 -07:00
N. Taylor Mullen
4fde9ca07d
Merge branch 'rel/15.3' into rel/2.0.0-preview2
...
# Conflicts:
# src/Microsoft.AspNetCore.Razor.Language/Legacy/CSharpCodeParser.cs
# test/Microsoft.AspNetCore.Razor.Language.Test/Legacy/CSharpAutoCompleteTest.cs
# test/Microsoft.AspNetCore.Razor.Language.Test/Legacy/CSharpDirectivesTest.cs
# test/Microsoft.AspNetCore.Razor.Language.Test/Legacy/CSharpSectionTest.cs
# test/Microsoft.AspNetCore.Razor.Language.Test/Legacy/CSharpSpecialBlockTest.cs
# test/Microsoft.AspNetCore.Razor.Language.Test/Legacy/HtmlDocumentTest.cs
# test/Microsoft.AspNetCore.Razor.Language.Test/Legacy/HtmlToCodeSwitchTest.cs
2017-06-01 15:32:47 -07:00
N. Taylor Mullen
1f32a8322e
Make invalid namespace tokens support IntelliSense.
...
- Added a `DirectiveTokenEditHandler` to enable IntelliSense for invalid namespace tokens.
- Added tests to verify new `DirectiveTokenEditHandler`.
- Updated test expectations for `DirectiveTokenEditHandler`.
#1393
2017-06-01 12:04:20 -07:00
Ryan Nowak
5a1090f324
Api Cleanup for language services
...
Created internal + public versions of
- BlockKind
- SpanKind
- AcceptedCharacters
That way these types are only exposed through the VS apis and not
through the runtime API surface.
Also deleted RazorEditorParser. Yep. It's going to take significant work
to just port it to the language services assembly. Let's reevaluate this
when we get closer to the next foundational update.
2017-05-17 22:09:01 -07: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