Ryujinx/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/DynamicExceptionSpec.cs

16 lines
416 B
C#
Raw Normal View History

using System.IO;
namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
{
public class DynamicExceptionSpec : ParentNode
{
2018-12-01 21:01:59 +01:00
public DynamicExceptionSpec(BaseNode child) : base(NodeType.DynamicExceptionSpec, child) { }
2018-12-01 21:01:59 +01:00
public override void PrintLeft(TextWriter writer)
{
2018-12-01 21:01:59 +01:00
writer.Write("throw(");
Child.Print(writer);
writer.Write(")");
}
}
}