Remove unnecessary usings (#463)
* Remove unnecessary usings * Fix CastExpression while I'm at it
This commit is contained in:
parent
b3a4662be1
commit
02a8e7fc93
18 changed files with 1 additions and 26 deletions
28
Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/CastExpression.cs
Normal file
28
Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/CastExpression.cs
Normal file
|
@ -0,0 +1,28 @@
|
|||
using System.IO;
|
||||
|
||||
namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
||||
{
|
||||
public class CastExpression : BaseNode
|
||||
{
|
||||
private string Kind;
|
||||
private BaseNode To;
|
||||
private BaseNode From;
|
||||
|
||||
public CastExpression(string Kind, BaseNode To, BaseNode From) : base(NodeType.CastExpression)
|
||||
{
|
||||
this.Kind = Kind;
|
||||
this.To = To;
|
||||
this.From = From;
|
||||
}
|
||||
|
||||
public override void PrintLeft(TextWriter Writer)
|
||||
{
|
||||
Writer.Write(Kind);
|
||||
Writer.Write("<");
|
||||
To.PrintLeft(Writer);
|
||||
Writer.Write(">(");
|
||||
From.PrintLeft(Writer);
|
||||
Writer.Write(")");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue