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