aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/FunctionParameter.cs
blob: 9c2d0955f6e05bdf0d56ef4649e1f2f9fc4a5e78 (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 readonly string _number;

        public FunctionParameter(string number) : base(NodeType.FunctionParameter)
        {
            _number = number;
        }

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

            if (_number != null)
            {
                writer.Write(_number);
            }
        }
    }
}