aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/ForwardTemplateReference.cs
blob: 6456e47bfa382688e8e42485c4a40b59dfffe2bc (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
25
26
27
28
29
30
31
32
33
34
35
36
using System.IO;

namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
{
    public class ForwardTemplateReference : BaseNode
    {
        // TODO: Compute inside the Demangler
        public BaseNode Reference;
        private int     Index;

        public ForwardTemplateReference(int Index) : base(NodeType.ForwardTemplateReference)
        {
            this.Index = Index;
        }

        public override string GetName()
        {
            return Reference.GetName();
        }

        public override void PrintLeft(TextWriter Writer)
        {
            Reference.PrintLeft(Writer);
        }

        public override void PrintRight(TextWriter Writer)
        {
            Reference.PrintRight(Writer);
        }

        public override bool HasRightPart()
        {
            return Reference.HasRightPart();
        }
    }
}