Cosmos/source2/Compiler/Cosmos.Compiler.Assembler/DataIfDefined.cs

24 lines
No EOL
577 B
C#

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