Go to file
N. Taylor Mullen e3287ae672 Add diagnostics to the IR.
- Added a `Diagnostics` and `HasDiagnostics` properties to `RazorIRNode`. The `HasDiagnostics` property was necessary in order to traverse nodes without forcibly instantiating their diagnostic lists.
- Added `GetAllDiagnostics` extension method for `RazorIRNode` to provide a way to retrieve all diagnostics that exist on and under a `RazorIRNode`.
- Updated `RazorIRNodeWriter` to display any diagnostics that exist on IR nodes.
- Internal `RazorIRNode`s do not have mutable `Diagnostics` because we don't currently add diagnostics to these elements.
- Added `DefaultIRLoweringPhaseTest` to validate that errors flow from syntax tree to IR document. Also added a missing test.
- Updated the `CSharpLoweringPhaseTest`s to properly validate that errors flow from IR document => csharp document. This resulted in movement of code to the ir lowering phase tests.

#1412
2017-06-13 10:28:41 -07:00
build Remove Roslyn from NuGet.config. 2017-06-12 13:33:55 -07:00
shared/Microsoft.AspNetCore.Razor.TagHelpers.Testing.Sources Remove old razor 2017-03-17 14:58:13 -07:00
src Add diagnostics to the IR. 2017-06-13 10:28:41 -07:00
test Add diagnostics to the IR. 2017-06-13 10:28:41 -07:00
tooling/Microsoft.VisualStudio.RazorExtension Add DisplayName and Description for directives 2017-06-07 13:37:34 -07:00
.editorconfig Add .editorconfig 2017-02-24 09:54:56 -08:00
.gitattributes Updating to use Dotnet-Cli build 2016-01-12 14:53:10 -08:00
.gitignore Use project.json for the VSIX project 2017-06-03 17:27:35 -07:00
.travis.yml Switch off Travis container-based infrastructure 2017-03-21 13:39:05 -07:00
CONTRIBUTING.md
…
LICENSE.txt
…
NuGet.config Removed Roslyn feed as we are now mirroring these packages 2017-06-12 08:16:11 -07:00
NuGetPackageVerifier.json Third party rule name changed 2017-04-11 10:04:29 -07:00
README.md ASP.NET 5 -> ASP.NET Core 2016-03-14 21:37:12 -07:00
Razor.sln Compile CodeGeneration tests 2017-05-16 16:26:47 -07:00
appveyor.yml Update appveyor and travis settings 2017-03-14 13:41:17 -07:00
build.cmd Return the error code from build.cmd 2016-02-28 10:12:14 -08:00
build.ps1 Updating build scripts to point to 2.0.0-preview2 KoreBuild 2017-05-31 19:53:31 -07:00
build.sh Updating build scripts to point to 2.0.0-preview2 KoreBuild 2017-05-31 19:53:31 -07:00
version.props Updating versions to preview3 2017-06-01 10:47:38 -07:00

README.md

Razor

AppVeyor: AppVeyor

Travis: Travis

The Razor syntax provides a fast, terse, clean and lightweight way to combine server code with HTML to create dynamic web content. This repo contains the parser and the C# code generator for the Razor syntax.

This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the Home repo.