aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/LocalName.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/LocalName.cs')
-rw-r--r--src/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/LocalName.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/LocalName.cs b/src/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/LocalName.cs
new file mode 100644
index 00000000..15d46b38
--- /dev/null
+++ b/src/Ryujinx.HLE/HOS/Diagnostics/Demangler/Ast/LocalName.cs
@@ -0,0 +1,23 @@
+using System.IO;
+
+namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
+{
+ public class LocalName : BaseNode
+ {
+ private BaseNode _encoding;
+ private BaseNode _entity;
+
+ public LocalName(BaseNode encoding, BaseNode entity) : base(NodeType.LocalName)
+ {
+ _encoding = encoding;
+ _entity = entity;
+ }
+
+ public override void PrintLeft(TextWriter writer)
+ {
+ _encoding.Print(writer);
+ writer.Write("::");
+ _entity.Print(writer);
+ }
+ }
+} \ No newline at end of file