mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-12 08:21:06 +01:00
25 lines
621 B
C#
25 lines
621 B
C#
|
using System;
|
||
|
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)
|
||
|
{
|
||
|
this.Callee = Callee;
|
||
|
}
|
||
|
|
||
|
public override void PrintLeft(TextWriter Writer)
|
||
|
{
|
||
|
Callee.Print(Writer);
|
||
|
|
||
|
Writer.Write("(");
|
||
|
Writer.Write(string.Join<BaseNode>(", ", Nodes.ToArray()));
|
||
|
Writer.Write(")");
|
||
|
}
|
||
|
}
|
||
|
}
|