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

17 lines
No EOL
388 B
C#

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