f40153141497a30ddec48fe489f576668ea9929b
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 23
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public memberDef(name String, function Node) : Node renamed to public memberFunctionDef(name String, function Node) : Node in class com.google.javascript.rhino.IR | From | To | |
Rename Method package getEnclosingClassMember(n Node) : Node renamed to package getEnclosingClassMemberFunction(n Node) : Node in class com.google.javascript.jscomp.NodeUtil | From | To | |
Rename Method public isMemberDef() : boolean renamed to public isMemberFunctionDef() : boolean in class com.google.javascript.rhino.Node | From | To | |
Rename Variable | 4 | ||
Rename Variable paramType : Node to param : Node in method public testFunctionParamDeclaration_arrow() : void in class com.google.javascript.jscomp.parsing.TypeSyntaxTest | From | To | |
Rename Variable qualifiedMemberName : Node to qualifiedMemberAccess : Node in method private visitClass(classNode Node, parent Node) : void in class com.google.javascript.jscomp.Es6ToEs3Converter | From | To | |
Rename Variable paramType : Node to param : Node in method public testFunctionParamDeclaration_defaultValue() : void in class com.google.javascript.jscomp.parsing.TypeSyntaxTest | From | To | |
Rename Variable paramType : Node to param : Node in method public testFunctionParamDeclaration() : void in class com.google.javascript.jscomp.parsing.TypeSyntaxTest | From | To | |
Change Return Type | 1 | ||
Change Return Type ParseTree to FunctionDeclarationTree in method private parseFunctionTail(start SourcePosition, name IdentifierToken, isStatic boolean, isGenerator boolean, kind FunctionDeclarationTree.Kind) : FunctionDeclarationTree in class com.google.javascript.jscomp.parsing.parser.Parser | From | To | |
Rename Attribute | 1 | ||
Rename Attribute MEMBER_DEF : int to MEMBER_FUNCTION_DEF : int in class com.google.javascript.rhino.Token | From | To | |
Extract Variable | 2 | ||
Extract Variable expectedArity : int in method private validateChildCount(n Node) : void from class com.google.javascript.jscomp.AstValidator | From | To | |
Extract Variable initializer : Node in method package add(n Node, context Context) : void from class com.google.javascript.jscomp.CodeGenerator | From | To | |
Extract Method | 6 | ||
Extract Method private validateChildCount(n Node) : void extracted from private validateTrinaryOp(n Node) : void in class com.google.javascript.jscomp.AstValidator | From | To | |
Extract Method private validateChildCount(n Node) : void extracted from private validateAssignmentExpression(n Node) : void in class com.google.javascript.jscomp.AstValidator | From | To | |
Extract Method private validateChildCount(n Node) : void extracted from private validateClassMember(n Node) : void in class com.google.javascript.jscomp.AstValidator | From | To | |
Extract Method package getQualifiedMemberAccess(compiler AbstractCompiler, member Node, staticAccess Node, instanceAccess Node) : Node extracted from private visitClass(classNode Node, parent Node) : void in class com.google.javascript.jscomp.Es6ToEs3Converter | From | To | |
Extract Method private validateChildCount(n Node) : void extracted from private validateUnaryOp(n Node) : void in class com.google.javascript.jscomp.AstValidator | From | To | |
Extract Method private validateChildCount(n Node) : void extracted from private validateBinaryOp(n Node) : void in class com.google.javascript.jscomp.AstValidator | From | To | |
Rename Parameter | 1 | ||
Rename Parameter i : int to expected : int in method private validateChildCount(n Node, expected int) : void in class com.google.javascript.jscomp.AstValidator | From | To |