parseing all possible inline shim formats