-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use consistent naming for JSChunk identifiers in JSCompiler.
JSCompiler sometimes uses "chunks" and sometimes uses "modules" for naming to represent JSChunk. This inconsistency can become confusing as modules can also mean other things (goog.module, ESModule). Most of the changes were generated by using the following replacements and fixing the breakages revealed thereby. ``` s/JSChunk module/JSChunk chunk s/JSChunk[] modules/JSChunk[] chunks s/Array<JSChunk> modules/Array<JSChunk> chunks s/setModules(/setChunks( s/getModules()/getChunks() s/JSChunkGraph moduleGraph/JSChunkGraph chunkGraph s/initModules/initChunks s/ModuleSources/ChunkSources ... ``` Other changes were generated manually. #codehealth PiperOrigin-RevId: 562921865
- Loading branch information
1 parent
454e6c8
commit d04cb02
Showing
40 changed files
with
931 additions
and
961 deletions.
There are no files selected for viewing
177 changes: 88 additions & 89 deletions
177
src/com/google/javascript/jscomp/AbstractCommandLineRunner.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.