aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/CtorVtableSpecialName.cs
blob: 7630dbe570536a1d2da547bc1f2fbbd6feaa8fa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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)
        {
            this.FirstType  = FirstType;
            this.SecondType = SecondType;
        }

        public override void PrintLeft(TextWriter Writer)
        {
            Writer.Write("construction vtable for ");
            FirstType.Print(Writer);
            Writer.Write("-in-");
            SecondType.Print(Writer);
        }
    }
}