2018-09-15 06:29:18 -07:00
|
|
|
using System.IO;
|
|
|
|
|
|
|
|
namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
|
|
|
{
|
|
|
|
public class FunctionParameter : BaseNode
|
|
|
|
{
|
2018-12-04 16:52:39 -08:00
|
|
|
private string Number;
|
2018-09-15 06:29:18 -07:00
|
|
|
|
2018-12-04 16:52:39 -08:00
|
|
|
public FunctionParameter(string Number) : base(NodeType.FunctionParameter)
|
2018-09-15 06:29:18 -07:00
|
|
|
{
|
2018-12-04 16:52:39 -08:00
|
|
|
this.Number = Number;
|
2018-09-15 06:29:18 -07:00
|
|
|
}
|
|
|
|
|
2018-12-04 16:52:39 -08:00
|
|
|
public override void PrintLeft(TextWriter Writer)
|
2018-09-15 06:29:18 -07:00
|
|
|
{
|
2018-12-04 16:52:39 -08:00
|
|
|
Writer.Write("fp ");
|
2018-09-15 06:29:18 -07:00
|
|
|
|
2018-12-04 16:52:39 -08:00
|
|
|
if (Number != null)
|
2018-09-15 06:29:18 -07:00
|
|
|
{
|
2018-12-04 16:52:39 -08:00
|
|
|
Writer.Write(Number);
|
2018-09-15 06:29:18 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|