aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/SpecialName.cs
blob: 8a968d63de9920eaeff6f9925c40dde30fa509a3 (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 readonly 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);
        }
    }
}