track declaration bits in the QAST