aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/SpecialName.cs
blob: 1447458b3dd3de0e052b2d74da3ec127a9ebe69c (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)
        {
            _specialValue = specialValue;
        }

        public override void PrintLeft(TextWriter writer)
        {
            writer.Write(_specialValue);
            Child.Print(writer);
        }
    }
}