25 lines
762 B
C#
25 lines
762 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.
|
|
|
|
using System;
|
|
|
|
namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
|
{
|
|
public sealed class NamespaceDeclarationIntermediateNode : IntermediateNode
|
|
{
|
|
public override IntermediateNodeCollection Children { get; } = new IntermediateNodeCollection();
|
|
|
|
public string Content { get; set; }
|
|
|
|
public override void Accept(IntermediateNodeVisitor visitor)
|
|
{
|
|
if (visitor == null)
|
|
{
|
|
throw new ArgumentNullException(nameof(visitor));
|
|
}
|
|
|
|
visitor.VisitNamespaceDeclaration(this);
|
|
}
|
|
}
|
|
}
|