mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 12:30:32 +00:00
24 lines
No EOL
585 B
C#
24 lines
No EOL
585 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Cosmos.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(Cosmos.Assembler.Assembler aAssembler, System.IO.TextWriter aOutput)
|
|
{
|
|
aOutput.Write(this.GetAsText());
|
|
}
|
|
}
|
|
} |