Parse scope statement