aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/PackedTemplateParameterExpansion.cs
blob: c3645044ab249e0dd46ea095d6ba670ce215d1f7 (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 PackedTemplateParameterExpansion : ParentNode
    {
        public PackedTemplateParameterExpansion(BaseNode child) : base(NodeType.PackedTemplateParameterExpansion, child) {}

        public override void PrintLeft(TextWriter writer)
        {
            if (Child is PackedTemplateParameter)
            {
                if (((PackedTemplateParameter)Child).Nodes.Count !=  0)
                {
                    Child.Print(writer);
                }
            }
            else
            {
                writer.Write("...");
            }
        }
    }
}