aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/DynamicExceptionSpec.cs
blob: 98619b20b5a2d950a5182c120903a1208126f855 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System.IO;

namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
{
    public class DynamicExceptionSpec : ParentNode
    {
        public DynamicExceptionSpec(BaseNode child) : base(NodeType.DynamicExceptionSpec, child) { }

        public override void PrintLeft(TextWriter writer)
        {
            writer.Write("throw(");
            Child.Print(writer);
            writer.Write(")");
        }
    }
}