aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/CtorVtableSpecialName.cs
blob: 924969565afe6be11aa672ec65d65a760506490a (plain) (blame)
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 readonly BaseNode _firstType;
        private readonly 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);
        }
    }
}