aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/ParentNode.cs
blob: 848727db2d03645f2e6ea3c0aaae21e3bfc73ff6 (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();
        }
    }
}