// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.AspNetCore.Razor.Language { /// /// Understands directive nodes and performs the necessary modifications to the document. /// /// /// /// The second phase of intermediate node processing is directive classification. Passes in this phase should interpret /// directives and processing them accordingly by transforming nodes or adding diagnostics. At this time the document /// kind has been identified, so any directive that can't be applied should trigger /// errors. If implementing a document kind that diverges from the standard structure of Razor documents /// it may be necessary to reimplement processing of default directives. /// /// /// objects are executed according to an ascending ordering of the /// property. /// /// public interface IRazorDirectiveClassifierPhase : IRazorEnginePhase { } }