| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 2 | 0.981 | StatementList[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 684 | Closure/closure/goog/ui/menubutton.js |
| 2 | 3 | 436 | Closure/closure/goog/ui/submenu.js |
| ||||
var method= attach
? handler.listen
: handler.unlisten;
// Handle events dispatched by menu items.
method.call(handler, menu, goog.ui.Component.EventType.ACTION,
this.handleMenuAction);
|
| ||||
var method= attach
? handler.listen
: handler.unlisten;
method.call(handler, menu, goog.ui.Component.EventType.HIGHLIGHT,
this.onChildHighlight_);
|
| |||
var method=attach
?handler.listen
:handler.unlisten;
// Handle events dispatched by menu items.
method.call(handler,menu,goog.ui.Component.EventType. [[#variable3e1c42c0]],this. [[#variable3e1c42a0]]);
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#3e1c42c0]] | HIGHLIGHT |
| 1 | 2 | [[#3e1c42c0]] | ACTION |
| 2 | 1 | [[#3e1c42a0]] | onChildHighlight_ |
| 2 | 2 | [[#3e1c42a0]] | handleMenuAction |