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

        public override void PrintLeft(TextWriter Writer)
        {
            Writer.Write("noexcept(");
            Child.Print(Writer);
            Writer.Write(")");
        }
    }
}