Cosmos/source2/Compiler/Cosmos.Compiler.Assembler/DataIfNotDefined.cs

23 lines
No EOL
585 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Cosmos.Compiler.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(Assembler aAssembler, System.IO.TextWriter aOutput)
{
aOutput.Write(this.GetAsText());
}
}
}