Package com.google.javascript.jscomp
Interface NodeTraversal.ScopedCallback
- All Superinterfaces:
NodeTraversal.Callback
- All Known Implementing Classes:
NodeTraversal.AbstractScopedCallback
- Enclosing class:
- NodeTraversal
Callback that also knows about scope changes
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called immediately after entering a new scope.void
Called immediately before exiting a scope.Methods inherited from interface com.google.javascript.jscomp.NodeTraversal.Callback
shouldTraverse, visit
-
Method Details
-
enterScope
Called immediately after entering a new scope. The new scope can be accessed through t.getScope() -
exitScope
Called immediately before exiting a scope. The ending scope can be accessed through t.getScope()
-