| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 3 | 0.964 | ExpressionStatement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 260 | Closure/closure/goog/dom/browserrange/abstractrange.js |
| 2 | 3 | 474 | Closure/closure/goog/dom/textrange.js |
| ||||
/**
* Returns a RangeIterator over the contents of the range. Regardless of the
* direction of the range, the iterator will move in document order.
* @param {boolean=} opt_keys Unused for this iterator.
* @return {goog.dom.RangeIterator} An iterator over tags in the range.
*/
goog.dom.browserrange.AbstractRange.prototype.__iterator__= function (
opt_keys) {
return new goog.dom.TextRangeIterator(this.getStartNode( ),
this.getStartOffset( ) ,this.getEndNode( ),this.getEndOffset( ));
} ;
|
| ||||
/**
* Returns a TextRangeIterator over the contents of the range. Regardless of
* the direction of the range, the iterator will move in document order.
* @param {boolean=} opt_keys Unused for this iterator.
* @return {goog.dom.TextRangeIterator} An iterator over tags in the range.
*/
goog.dom.TextRange.prototype.__iterator__= function (opt_keys){
return new goog.dom.TextRangeIterator(this.getStartNode( ),
this.getStartOffset( ) ,this.getEndNode( ),this.getEndOffset( ));
} ;
|
| |||
[[#variable6164c1a0]]. [[#variable6164c140]]. [[#variable6164c0c0]].prototype.__iterator__= function (opt_keys)
{ return new goog.dom.TextRangeIterator(this.getStartNode( ),this.getStartOffset( ),this.getEndNode( ),this.getEndOffset( ));
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#6164c1a0]] | /**
* Returns a TextRangeIterator over the contents of the range. Regardless of
* the direction of the range, the iterator will move in document order.
* @param {boolean=} opt_keys Unused for this iterator.
* @return {goog.dom.TextRangeIterator} An iterator over tags in the range.
*/
goog |
| 1 | 2 | [[#6164c1a0]] | /**
* Returns a RangeIterator over the contents of the range. Regardless of the
* direction of the range, the iterator will move in document order.
* @param {boolean=} opt_keys Unused for this iterator.
* @return {goog.dom.RangeIterator} An iterator over tags in the range.
*/
goog.dom |
| 2 | 1 | [[#6164c140]] | dom |
| 2 | 2 | [[#6164c140]] | browserrange |
| 3 | 1 | [[#6164c0c0]] | TextRange |
| 3 | 2 | [[#6164c0c0]] | AbstractRange |