CloneSet1424


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.956ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1366
Closure/closure/goog/dom/textrange.js
24101
Closure/closure/goog/dom/textrange.js
Clone Instance
1
Line Count
3
Source Line
66
Source File
Closure/closure/goog/dom/textrange.js

/**
 * Create a new range wrapper from the given browser range object.  Do not use
 * this method directly - please use goog.dom.Range.createFrom* instead.
 * @param {Range|TextRange} range The browser range object.
 * @param {boolean=} opt_isReversed Whether the focus node is before the anchor
 *     node.
 * @return {goog.dom.TextRange} A range wrapper object.
 */
goog.dom.TextRange.createFromBrowserRange=  function (range, opt_isReversed){
  return goog.dom.TextRange.createFromBrowserRangeWrapper_(
      goog.dom.browserrange.createRange(range), opt_isReversed);
                                                                            } ;


Clone Instance
2
Line Count
4
Source Line
101
Source File
Closure/closure/goog/dom/textrange.js

/**
 * Create a new range wrapper that selects the given node's text.  Do not use
 * this method directly - please use goog.dom.Range.createFrom* instead.
 * @param {Node} node The node to select.
 * @param {boolean=} opt_isReversed Whether the focus node is before the anchor
 *     node.
 * @return {goog.dom.TextRange} A range wrapper object.
 */
goog.dom.TextRange.createFromNodeContents=  function (node, opt_isReversed){
  return goog.dom.TextRange.createFromBrowserRangeWrapper_(
      goog.dom.browserrange.createRangeFromNodeContents(node),
      opt_isReversed);
                                                                           } ;


Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * Create a new range wrapper that selects the given node's text.  Do not use
 * this method directly - please use goog.dom.Range.createFrom* instead.
 * @param {Node} node The node to select.
 * @param {boolean=} opt_isReversed Whether the focus node is before the anchor
 *     node.
 * @return {goog.dom.TextRange} A range wrapper object.
 */
/**
 * Create a new range wrapper from the given browser range object.  Do not use
 * this method directly - please use goog.dom.Range.createFrom* instead.
 * @param {Range|TextRange} range The browser range object.
 * @param {boolean=} opt_isReversed Whether the focus node is before the anchor
 *     node.
 * @return {goog.dom.TextRange} A range wrapper object.
 */
goog.dom.TextRange. [[#variable1efe6b80]]= function ( [[#variable1efe6860]],opt_isReversed)
                                           { return goog.dom.TextRange.createFromBrowserRangeWrapper_(goog.dom.browserrange. [[#variable1efe6c00]]( [[#variable1efe6860]]),opt_isReversed);
                                           } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1efe6b80]]
createFromNodeContents 
12[[#1efe6b80]]
createFromBrowserRange 
21[[#1efe6860]]
node 
22[[#1efe6860]]
range 
31[[#1efe6c00]]
createRangeFromNodeContents 
32[[#1efe6c00]]
createRange