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-06 11:16:24 +00:00
|
|
|
public ParentNode(NodeType type, BaseNode child) : base(type)
|
2018-09-15 13:29:18 +00:00
|
|
|
{
|
2018-12-06 11:16:24 +00:00
|
|
|
Child = child;
|
2018-09-15 13:29:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public override string GetName()
|
|
|
|
{
|
|
|
|
return Child.GetName();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|