aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/FunctionParameter.cs
blob: 5a1ca61d5535d2dda57de79583902d733dd6bf3e (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 FunctionParameter : BaseNode
    {
        private string Number;

        public FunctionParameter(string Number) : base(NodeType.FunctionParameter)
        {
            this.Number = Number;
        }

        public override void PrintLeft(TextWriter Writer)
        {
            Writer.Write("fp ");

            if (Number != null)
            {
                Writer.Write(Number);
            }
        }
    }
}