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