mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-05-25 10:05:49 +08:00
16 lines
329 B
C#
16 lines
329 B
C#
namespace BetterGenshinImpact.CombatScript;
|
|
|
|
public sealed class CommentSymbol : TriviaSymbol
|
|
{
|
|
public CommentSymbol(string comment)
|
|
{
|
|
Comment = comment;
|
|
}
|
|
|
|
public string Comment { get; }
|
|
|
|
public override void Emit(ISymbolEmitter emitter)
|
|
{
|
|
emitter.Append("//").Append(Comment);
|
|
}
|
|
} |