aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/NoexceptSpec.cs
blob: 49044493ed6569c2ae47d30837d343d62caad06d (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(")");
        }
    }
}