aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/LocalName.cs
blob: 44c216289c47af897237943e6a57943e3816c227 (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 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);
        }
    }
}