RyuKen/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/LocalName.cs

23 lines
551 B
C#
Raw Normal View History

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)
{
_encoding = encoding;
_entity = entity;
}
public override void PrintLeft(TextWriter writer)
{
_encoding.Print(writer);
writer.Write("::");
_entity.Print(writer);
}
}
}