forked from google/closure-compiler
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run 2 passes over the AST in RewriteCallerCodeLocation
The first pass `FindCallerLocationFunctions` will visit the param list of each function, find the params that are assigned to the default `goog.callerLocation()` function, and store these function names in a map. The second pass `RewriteCallerLocationFunctionCalls` will visit each call node and check if it is a function call that requires a transformation. If it does, it will rewrite the call node to include the code location. PiperOrigin-RevId: 692321563
- Loading branch information
1 parent
54a62c2
commit dfa880a
Showing
1 changed file
with
159 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters