using System; using System.Collections.Generic; using System.Text; using Sunweaver.VM; using Sunweaver.Commands.Attributes; namespace Sunweaver.Commands { //No base pair attribute on purpose /// /// A string mneumonic for a specific numerical constant. /// public class Label : Constant { public string Name { get; protected set; } public Label(Int16 num) : this("", num) { } public Label(string Name, Int16 num) : base(num) { this.Name = Name; } public override string ToString() { if (Name != string.Empty) return Name; else return base.ToString(); } } }