aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/ParentNode.cs
blob: f1c2834739753680e611b9f87b8abf8ff95e6dba (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)
        {
            this.Child = Child;
        }

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