Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 3 | 0.956 | SourceElements[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 599 | Closure/closure/goog/ui/tree/basenode.js |
2 | 10 | 732 | Closure/closure/goog/ui/tree/basenode.js |
| ||||
/** * Selects the node. */ goog.ui.tree.BaseNode.prototype.select= function ( ) { this.setSelected_( true); } ; /** * Deselects the node. */ goog.ui.tree.BaseNode.prototype.deselect= function ( ) { this.setSelected_( false); } ; |
| ||||
/** * Expands the node. */ goog.ui.tree.BaseNode.prototype.expand= function ( ) { this.setExpanded( true); } ; /** * Collapses the node. */ goog.ui.tree.BaseNode.prototype.collapse= function ( ) { this.setExpanded( false); } ; |
| |||
/** * Expands the node. */ /** * Selects the node. */ goog.ui.tree.BaseNode.prototype. [[#variable3ada9b00]]= function ( ) { this. [[#variable3ada9a60]]( true); } ; /** * Collapses the node. */ /** * Deselects the node. */ goog.ui.tree.BaseNode.prototype. [[#variable3ada9960]]= function ( ) { this. [[#variable3ada9a60]]( false); } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3ada9b00]] | expand |
1 | 2 | [[#3ada9b00]] | select |
2 | 1 | [[#3ada9a60]] | setExpanded |
2 | 2 | [[#3ada9a60]] | setSelected_ |
3 | 1 | [[#3ada9960]] | collapse |
3 | 2 | [[#3ada9960]] | deselect |