mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-05-25 10:05:49 +08:00
24 lines
705 B
C#
24 lines
705 B
C#
using System.Collections.Immutable;
|
|
|
|
namespace BetterGenshinImpact.CombatScript;
|
|
|
|
public sealed class AvatarInstructionListSymbol : BaseSymbol
|
|
{
|
|
public AvatarInstructionListSymbol(AvatarSymbol avatar, ImmutableArray<TriviaSymbol> triviaList, InstructionListSymbol instructionList)
|
|
{
|
|
Avatar = avatar;
|
|
TriviaList = triviaList;
|
|
InstructionList = instructionList;
|
|
}
|
|
|
|
public AvatarSymbol Avatar { get; }
|
|
|
|
public ImmutableArray<TriviaSymbol> TriviaList { get; }
|
|
|
|
public InstructionListSymbol InstructionList { get; }
|
|
|
|
public override void Emit(ISymbolEmitter emitter)
|
|
{
|
|
emitter.Append(Avatar).Append(TriviaList).Append(InstructionList);
|
|
}
|
|
} |