Shadow parsing