[Issue #1320] Make preallocated IR nodes internal
This commit is contained in:
parent
86d045c667
commit
2274aaeead
|
|
@ -7,7 +7,7 @@ using Microsoft.AspNetCore.Razor.Language.CodeGeneration;
|
||||||
|
|
||||||
namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
||||||
{
|
{
|
||||||
public sealed class AddPreallocatedTagHelperHtmlAttributeIRNode : ExtensionIRNode
|
internal sealed class AddPreallocatedTagHelperHtmlAttributeIRNode : ExtensionIRNode
|
||||||
{
|
{
|
||||||
public override IList<RazorIRNode> Children { get; } = EmptyArray;
|
public override IList<RazorIRNode> Children { get; } = EmptyArray;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Razor.Language.Legacy;
|
||||||
|
|
||||||
namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
||||||
{
|
{
|
||||||
public sealed class DeclarePreallocatedTagHelperAttributeIRNode : ExtensionIRNode
|
internal sealed class DeclarePreallocatedTagHelperAttributeIRNode : ExtensionIRNode
|
||||||
{
|
{
|
||||||
public override IList<RazorIRNode> Children { get; } = EmptyArray;
|
public override IList<RazorIRNode> Children { get; } = EmptyArray;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Razor.Language.Legacy;
|
||||||
|
|
||||||
namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
||||||
{
|
{
|
||||||
public sealed class DeclarePreallocatedTagHelperHtmlAttributeIRNode : ExtensionIRNode
|
internal sealed class DeclarePreallocatedTagHelperHtmlAttributeIRNode : ExtensionIRNode
|
||||||
{
|
{
|
||||||
public override IList<RazorIRNode> Children { get; } = EmptyArray;
|
public override IList<RazorIRNode> Children { get; } = EmptyArray;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,6 @@ namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
||||||
|
|
||||||
public abstract SourceSpan? Source { get; set; }
|
public abstract SourceSpan? Source { get; set; }
|
||||||
|
|
||||||
public abstract void Accept(RazorIRNodeVisitor visitor);
|
public abstract void Accept(RazorIRNodeVisitor visitor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Razor.Language.Legacy;
|
||||||
|
|
||||||
namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
||||||
{
|
{
|
||||||
public sealed class SetPreallocatedTagHelperPropertyIRNode : ExtensionIRNode
|
internal sealed class SetPreallocatedTagHelperPropertyIRNode : ExtensionIRNode
|
||||||
{
|
{
|
||||||
public override IList<RazorIRNode> Children { get; } = EmptyArray;
|
public override IList<RazorIRNode> Children { get; } = EmptyArray;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue