aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/ParentNode.cs
blob: 786abced8dfb52075858ae31fbfbb1dc791357c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)
        {
            Child = child;
        }

        public override string GetName()
        {
            return Child.GetName();
        }
    }
}