0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-27 03:45:45 +00:00
ryujinx-fork/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/CallExpression.cs

24 lines
605 B
C#
Raw Normal View History

using System.Collections.Generic;
using System.IO;
namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
{
public class CallExpression : NodeArray
{
private BaseNode _callee;
public CallExpression(BaseNode callee, List<BaseNode> nodes) : base(nodes, NodeType.CallExpression)
{
_callee = callee;
}
public override void PrintLeft(TextWriter writer)
{
_callee.Print(writer);
writer.Write("(");
writer.Write(string.Join<BaseNode>(", ", Nodes.ToArray()));
writer.Write(")");
}
}
}