novel polycyclic quinoline , naphthyridine and pyrazinopyridine derivatives are disclosed which are useful for treating allergic reactions , inflammation , peptic ulcers , hypertension , and hyperproliferative skin diseases and for suppressing the immune response in mammals . methods for preparing said compounds are also disclosed .