dad576e76a70086166d5ea5b26ff3f7d5c6015dd
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public testCrossScopeWarnings() : void renamed to public testEscapedVariables() : void in class com.google.javascript.jscomp.NewTypeInferenceTest | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method package initGlobalTypeInfo(root Node) : void moved from class com.google.javascript.jscomp.GlobalTypeInfo to class com.google.javascript.jscomp.GlobalTypeInfoCollector & inlined to public process(externs Node, root Node) : void | From | To | |
Rename Variable | 1 | ||
Rename Variable localType : TaggedType to info : LocalVarInfo in method package clearInferredTypeOfVar(name String) : void in class com.google.javascript.jscomp.NTIScope | From | To | |
Change Return Type | 1 | ||
Change Return Type TaggedType to LocalVarInfo in method package makeDeclared(t JSType) : LocalVarInfo in class com.google.javascript.jscomp.NTIScope.LocalVarInfo | From | To | |
Rename Class | 1 | ||
Rename Class com.google.javascript.jscomp.NTIScope.TaggedType renamed to com.google.javascript.jscomp.NTIScope.LocalVarInfo | From | To | |
Extract Variable | 1 | ||
Extract Variable summaryAsJstype : JSType in method private collectTypesForEscapedVarsFwd(n Node, env TypeEnv) : TypeEnv from class com.google.javascript.jscomp.NewTypeInference | From | To | |
Change Variable Type | 1 | ||
Change Variable Type localType : TaggedType to info : LocalVarInfo in method package clearInferredTypeOfVar(name String) : void in class com.google.javascript.jscomp.NTIScope | From | To | |
Extract Method | 1 | ||
Extract Method private getInitialTypeOfVar(nameNode Node, declType JSType, rhsType JSType) : JSType extracted from private analyzeVarDeclFwd(nameNode Node, inEnv TypeEnv) : TypeEnv in class com.google.javascript.jscomp.NewTypeInference | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type locals : Map<String,TaggedType> to locals : Map<String,LocalVarInfo> in class com.google.javascript.jscomp.NTIScope | From | To | |
Rename Parameter | 1 | ||
Rename Parameter isDeclared : boolean to escapes : boolean in method private LocalVarInfo(type JSType, kind VarKind, escapes boolean) in class com.google.javascript.jscomp.NTIScope.LocalVarInfo | From | To |