/// <summary> /// Asserts if the type of the token is as expected /// </summary> /// <param name="expectedType">The expected operand type</param> /// <param name="operandToken">The operand token containing the actual type value</param> private static void AssertTypeOfOperand(Operand expectedType, IOperandToken operandToken) { if (operandToken == null) { throw new Exception("no operand token was provided"); } Assert.Equal(expectedType, operandToken.Type); }
public int CompareTo(IOperandToken other) { throw new NotImplementedException(); }