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




                                                   
                                     
 
                                                                                                                    
         
                                     
         
                                                         
         


                                                     

         
using System.IO;

namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
{
    public class CtorVtableSpecialName : BaseNode
    {
        private BaseNode _firstType;
        private BaseNode _secondType;

        public CtorVtableSpecialName(BaseNode firstType, BaseNode secondType) : base(NodeType.CtorVtableSpecialName)
        {
            _firstType  = firstType;
            _secondType = secondType;
        }

        public override void PrintLeft(TextWriter writer)
        {
            writer.Write("construction vtable for ");
            _firstType.Print(writer);
            writer.Write("-in-");
            _secondType.Print(writer);
        }
    }
}