Cosmos/source/Cosmos.Assembler/DataIfNotDefined.cs

23 lines
No EOL
593 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Cosmos.Assembler {
public class DataIfNotDefined: DataMember, IIfNotDefined {
public DataIfNotDefined(string aSymbol)
: base("define", new byte[0]) {
Symbol = aSymbol;
}
public string Symbol {
get;
set;
}
public override void WriteText(Cosmos.Assembler.Assembler aAssembler, System.IO.TextWriter aOutput)
{
aOutput.Write(this.GetAsText());
}
}
}