a5a583188799e6e10e1ee0329226ffe87e16b6c9
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method public forceToEs6Module(root Node) : boolean from class com.google.javascript.jscomp.Es6RewriteModules to private convertToEs6Module(root Node, skipGoogProvideModuleCheck boolean) : boolean from class com.google.javascript.jscomp.FindModuleDependencies | From | To | |
Rename Variable | 1 | ||
Rename Variable jsDocInfo : JSDocInfoBuilder to infoBuilder : JSDocInfoBuilder in method private visitScript(t NodeTraversal, script Node) : void in class com.google.javascript.jscomp.Es6RewriteModules | From | To | |
Inline Method | 1 | ||
Inline Method package forceToEs6Modules(inputsToProcess Collection<CompilerInput>) : void inlined to package parseInputs() : Node in class com.google.javascript.jscomp.Compiler | From | To | |
Extract Variable | 1 | ||
Extract Variable orderedInputs : List<CompilerInput> in method public manageDependencies(depOptions DependencyOptions, inputs List<CompilerInput>) : List<CompilerInput> from class com.google.javascript.jscomp.JSModuleGraph | From | To | |
Extract Method | 1 | ||
Extract Method public process(externs Node, root Node, forceModuleDetection boolean) : void extracted from public process(externs Node, root Node) : void in class com.google.javascript.jscomp.ProcessCommonJSModules | From | To | |
Extract And Move Method | 4 | ||
Extract And Move Method public getCommonJsImportPath(requireCall Node) : String extracted from private visitRequireCall(t NodeTraversal, require Node, parent Node) : void in class com.google.javascript.jscomp.ProcessCommonJSModules.FindImportsAndExports & moved to class com.google.javascript.jscomp.ProcessCommonJSModules | From | To | |
Extract And Move Method public getCommonJsImportPath(requireCall Node) : String extracted from private visitRequireCall(t NodeTraversal, require Node, parent Node) : void in class com.google.javascript.jscomp.ProcessCommonJSModules.RewriteModule & moved to class com.google.javascript.jscomp.ProcessCommonJSModules | From | To | |
Extract And Move Method public isCommonJsExport(t NodeTraversal, export Node) : boolean extracted from public visit(t NodeTraversal, n Node, parent Node) : void in class com.google.javascript.jscomp.ProcessCommonJSModules.FindImportsAndExports & moved to class com.google.javascript.jscomp.ProcessCommonJSModules | From | To | |
Extract And Move Method public getCommonJsImportPath(requireCall Node) : String extracted from private getModuleImportName(t NodeTraversal, n Node) : String in class com.google.javascript.jscomp.ProcessCommonJSModules.RewriteModule & moved to class com.google.javascript.jscomp.ProcessCommonJSModules | From | To |