aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/QualifiedName.cs
blob: ce356e1628333980e5a03d6afff74fc89a642fde (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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);
        }
    }
}