2018-09-15 13:29:18 +00:00
|
|
|
namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|
|
|
{
|
|
|
|
public abstract class ParentNode : BaseNode
|
|
|
|
{
|
2018-12-05 00:52:39 +00:00
|
|
|
public BaseNode Child { get; private set; }
|
2018-09-15 13:29:18 +00:00
|
|
|
|
2018-12-05 00:52:39 +00:00
|
|
|
public ParentNode(NodeType Type, BaseNode Child) : base(Type)
|
2018-09-15 13:29:18 +00:00
|
|
|
{
|
2018-12-05 00:52:39 +00:00
|
|
|
this.Child = Child;
|
2018-09-15 13:29:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public override string GetName()
|
|
|
|
{
|
|
|
|
return Child.GetName();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|