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

17 lines
388 B
C#
Raw Normal View History

namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
{
public abstract class ParentNode : BaseNode
{
public BaseNode Child { get; private set; }
2018-12-01 20:01:59 +00:00
public ParentNode(NodeType type, BaseNode child) : base(type)
{
2018-12-01 20:01:59 +00:00
this.Child = child;
}
public override string GetName()
{
return Child.GetName();
}
}
}