which class represent variable scope ?

You mean I cann’t get scope information right now ?

------------------ Original ------------------

It's not just a matter of asking the decl for its scope, no. We'd have to have some language-specific code which walked over the AST and kept track of the current scope.

John.