aboutsummaryrefslogblamecommitdiff
path: root/src/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/SpecialName.cs
blob: 8a968d63de9920eaeff6f9925c40dde30fa509a3 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                   
                                              
 
                                                                                                 
         
                                         
         
                                                         
         
                                        
         
 
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);
        }
    }
}