Gurpenator.CheckingContext.throwNotABooleanError C# (CSharp) Method

throwNotABooleanError() public static method

public static throwNotABooleanError ( Token token ) : void
token Token
return void
        public static void throwNotABooleanError(Token token)
        {
            throw token.parseThing.createError("cannot interpret '" + token.ToString() + "' as a conditional expression");
        }