aboutsummaryrefslogtreecommitdiff
path: root/src/Spv.Generator/IOperand.cs
blob: bda2ed6946ea5fb922e7e5fc4c630a0ca3e153a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;
using System.IO;

namespace Spv.Generator
{
    public interface IOperand : IEquatable<IOperand>
    {
        OperandType Type { get; }

        ushort WordCount { get; }

        void WriteOperand(BinaryWriter writer);
    }
}