Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.969 | SourceElements[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 45 | Closure/closure/goog/editor/plugins/listtabhandler.js |
2 | 10 | 46 | Closure/closure/goog/editor/plugins/spacestabhandler.js |
| ||||
/** * Plugin to handle tab keys in lists to indent and outdent. * @constructor * @extends {goog.editor.plugins.AbstractTabHandler} */ goog.editor.plugins.ListTabHandler= function ( ) { goog.editor.plugins.AbstractTabHandler.call(this ); } ; goog.inherits(goog.editor.plugins.ListTabHandler, goog.editor.plugins.AbstractTabHandler); /** @inheritDoc */ goog.editor.plugins.ListTabHandler.prototype.getTrogClassId= function ( ) { return 'ListTabHandler'; } ; |
| ||||
/** * Plugin to handle tab keys when not in lists to add 4 spaces. * @constructor * @extends {goog.editor.plugins.AbstractTabHandler} */ goog.editor.plugins.SpacesTabHandler= function ( ) { goog.editor.plugins.AbstractTabHandler.call(this ); } ; goog.inherits(goog.editor.plugins.SpacesTabHandler, goog.editor.plugins.AbstractTabHandler); /** @inheritDoc */ goog.editor.plugins.SpacesTabHandler.prototype.getTrogClassId= function ( ) { return 'SpacesTabHandler'; } ; |
| |||
/** * Plugin to handle tab keys when not in lists to add 4 spaces. * @constructor * @extends {goog.editor.plugins.AbstractTabHandler} */ /** * Plugin to handle tab keys in lists to indent and outdent. * @constructor * @extends {goog.editor.plugins.AbstractTabHandler} */ goog.editor.plugins. [[#variable1e43eae0]]= function ( ) { goog.editor.plugins.AbstractTabHandler.call(this ); } ; goog.inherits(goog.editor.plugins. [[#variable1e43eae0]],goog.editor.plugins.AbstractTabHandler); /** @inheritDoc */ goog.editor.plugins. [[#variable1e43eae0]].prototype.getTrogClassId= function ( ) { return [[#variable1e43ea80]]; } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1e43eae0]] | SpacesTabHandler |
1 | 2 | [[#1e43eae0]] | ListTabHandler |
2 | 1 | [[#1e43ea80]] | 'SpacesTabHandler' |
2 | 2 | [[#1e43ea80]] | 'ListTabHandler' |