switch to pSourceRange only, and fix support for catch nodes so that they contain var nodes