1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-04 18:12:01 +00:00
Ryujinx/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/PrefixExpression.cs

22 lines
533 B
C#
Raw Normal View History

using System.IO;
namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
{
public class PrefixExpression : ParentNode
{
2018-12-01 20:01:59 +00:00
private string _prefix;
2018-12-01 20:01:59 +00:00
public PrefixExpression(string prefix, BaseNode child) : base(NodeType.PrefixExpression, child)
{
2018-12-01 20:01:59 +00:00
this._prefix = prefix;
}
2018-12-01 20:01:59 +00:00
public override void PrintLeft(TextWriter writer)
{
2018-12-01 20:01:59 +00:00
writer.Write(_prefix);
writer.Write("(");
Child.Print(writer);
writer.Write(")");
}
}
}