aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/SpecialName.cs
blob: 1a299af4d28bcad27b5b12989e98023ed10e2ba9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System.IO;

namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
{
    public class SpecialName : ParentNode
    {
        private string SpecialValue;

        public SpecialName(string SpecialValue, BaseNode Type) : base(NodeType.SpecialName, Type)
        {
            this.SpecialValue = SpecialValue;
        }

        public override void PrintLeft(TextWriter Writer)
        {
            Writer.Write(SpecialValue);
            Child.Print(Writer);
        }
    }
}