mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-14 06:46:39 +00:00
20 lines
467 B
C#
20 lines
467 B
C#
|
using System.IO;
|
||
|
|
||
|
namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
|
||
|
{
|
||
|
public class ThrowExpression : BaseNode
|
||
|
{
|
||
|
private BaseNode Expression;
|
||
|
|
||
|
public ThrowExpression(BaseNode Expression) : base(NodeType.ThrowExpression)
|
||
|
{
|
||
|
this.Expression = Expression;
|
||
|
}
|
||
|
|
||
|
public override void PrintLeft(TextWriter Writer)
|
||
|
{
|
||
|
Writer.Write("throw ");
|
||
|
Expression.Print(Writer);
|
||
|
}
|
||
|
}
|
||
|
}
|