void exitScopeIfActive(NodeTraversal t) {
   if (isActive() && scopedCallback != null) {
     scopedCallback.exitScope(t);
   }
 }