2018-09-15 14:29:18 +01:00
|
|
|
using System.IO;
|
|
|
|
|
|
|
|
namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|
|
|
{
|
|
|
|
public class LocalName : BaseNode
|
|
|
|
{
|
2018-12-05 00:52:39 +00:00
|
|
|
private BaseNode Encoding;
|
|
|
|
private BaseNode Entity;
|
2018-09-15 14:29:18 +01:00
|
|
|
|
2018-12-05 00:52:39 +00:00
|
|
|
public LocalName(BaseNode Encoding, BaseNode Entity) : base(NodeType.LocalName)
|
2018-09-15 14:29:18 +01:00
|
|
|
{
|
2018-12-05 00:52:39 +00:00
|
|
|
this.Encoding = Encoding;
|
|
|
|
this.Entity = Entity;
|
2018-09-15 14:29:18 +01:00
|
|
|
}
|
|
|
|
|
2018-12-05 00:52:39 +00:00
|
|
|
public override void PrintLeft(TextWriter Writer)
|
2018-09-15 14:29:18 +01:00
|
|
|
{
|
2018-12-05 00:52:39 +00:00
|
|
|
Encoding.Print(Writer);
|
|
|
|
Writer.Write("::");
|
|
|
|
Entity.Print(Writer);
|
2018-09-15 14:29:18 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|