2018-09-15 13:29:18 +00:00
|
|
|
namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|
|
|
{
|
|
|
|
public abstract class ParentNode : BaseNode
|
|
|
|
{
|
2018-12-04 20:23:37 +00:00
|
|
|
public BaseNode Child { get; }
|
2018-09-15 13:29:18 +00:00
|
|
|
|
2018-12-04 20:23:37 +00:00
|
|
|
public ParentNode(NodeType type, BaseNode child) : base(type)
|
2018-09-15 13:29:18 +00:00
|
|
|
{
|
2018-12-04 20:23:37 +00:00
|
|
|
Child = child;
|
2018-09-15 13:29:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public override string GetName()
|
|
|
|
{
|
|
|
|
return Child.GetName();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|