aspnetcore/src/Microsoft.AspNetCore.Razor..../Intermediate/DirectiveTokenIntermediateN...

19 lines
669 B
C#

// 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.Intermediate
{
public sealed class DirectiveTokenIntermediateNode : IntermediateNode
{
public override IntermediateNodeCollection Children => IntermediateNodeCollection.ReadOnly;
public string Content { get; set; }
public DirectiveTokenDescriptor DirectiveToken { get; set; }
public override void Accept(IntermediateNodeVisitor visitor)
{
visitor.VisitDirectiveToken(this);
}
}
}