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

23 lines
571 B
C#

using System.IO;
namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
{
public class QualifiedName : BaseNode
{
private BaseNode _qualifier;
private BaseNode _name;
public QualifiedName(BaseNode qualifier, BaseNode name) : base(NodeType.QualifiedName)
{
this._qualifier = qualifier;
this._name = name;
}
public override void PrintLeft(TextWriter writer)
{
_qualifier.Print(writer);
writer.Write("::");
_name.Print(writer);
}
}
}