RyuKen/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/FunctionParameter.cs

24 lines
510 B
C#
Raw Normal View History

using System.IO;
namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
{
public class FunctionParameter : BaseNode
{
private 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);
}
}
}
}