// 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. using Microsoft.AspNetCore.Razor.Evolution.Intermediate; namespace Microsoft.AspNetCore.Razor.Evolution { /// /// Modifies the IR document to a desired structure. /// /// /// /// The first phase of IR procesing is document classification. IR passes in this phase should classify the /// document according to any relevant criteria (project configuration, file extension, directive) and modify /// the IR tree to suit the desired document shape. Document classifiers should also set /// to prevent other classifiers from running. If no classifier /// matches the document, then it will be classified as "generic" and processed according to set /// of reasonable defaults. /// /// /// objects are executed according to an ascending ordering of the /// property. The default configuration of /// prescribes a logical ordering of specific phases of IR processing. /// /// public interface IRazorDocumentClassifierPhase : IRazorEnginePhase { } }