Ryujinx/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/ForwardTemplateReference.cs
2018-12-01 14:24:37 -06:00

36 lines
848 B
C#

using System.IO;
namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
{
public class ForwardTemplateReference : BaseNode
{
// TODO: Compute inside the Demangler
public BaseNode Reference;
private int _index;
public ForwardTemplateReference(int index) : base(NodeType.ForwardTemplateReference)
{
_index = index;
}
public override string GetName()
{
return Reference.GetName();
}
public override void PrintLeft(TextWriter writer)
{
Reference.PrintLeft(writer);
}
public override void PrintRight(TextWriter writer)
{
Reference.PrintRight(writer);
}
public override bool HasRightPart()
{
return Reference.HasRightPart();
}
}
}