mirror of
https://git.zaroz.cloud/nintendo-back-up/Ryujinx.git
synced 2025-12-20 01:12:41 +00:00
Move solution and projects to src
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
using System.IO;
|
||||
|
||||
namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
||||
{
|
||||
public class DeleteExpression : ParentNode
|
||||
{
|
||||
private bool _isGlobal;
|
||||
private bool _isArrayExpression;
|
||||
|
||||
public DeleteExpression(BaseNode child, bool isGlobal, bool isArrayExpression) : base(NodeType.DeleteExpression, child)
|
||||
{
|
||||
_isGlobal = isGlobal;
|
||||
_isArrayExpression = isArrayExpression;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter writer)
|
||||
{
|
||||
if (_isGlobal)
|
||||
{
|
||||
writer.Write("::");
|
||||
}
|
||||
|
||||
writer.Write("delete");
|
||||
|
||||
if (_isArrayExpression)
|
||||
{
|
||||
writer.Write("[] ");
|
||||
}
|
||||
|
||||
Child.Print(writer);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user