Ryujinx/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/LocalName.cs
2018-12-01 14:03:56 -06:00

23 lines
No EOL
561 B
C#

using System.IO;
namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
{
public class LocalName : BaseNode
{
private BaseNode _encoding;
private BaseNode _entity;
public LocalName(BaseNode encoding, BaseNode entity) : base(NodeType.LocalName)
{
this._encoding = encoding;
this._entity = entity;
}
public override void PrintLeft(TextWriter writer)
{
_encoding.Print(writer);
writer.Write("::");
_entity.Print(writer);
}
}
}