Ryujinx-uplift/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/ParentNode.cs

17 lines
370 B
C#
Raw Normal View History

namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
{
public abstract class ParentNode : BaseNode
{
public BaseNode Child { get; }
public ParentNode(NodeType type, BaseNode child) : base(type)
{
Child = child;
}
public override string GetName()
{
return Child.GetName();
}
}
}