CloneSet1712


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.971ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12115
Closure/closure/goog/editor/node.js
22128
Closure/closure/goog/editor/node.js
Clone Instance
1
Line Count
2
Source Line
115
Source File
Closure/closure/goog/editor/node.js

/**
 * Version of firstChild that skips nodes that are entirely
 * whitespace and comments.
 * @param {Node} parent The reference node.
 * @return {Node} The first child of sibling that is important according to
 *     goog.editor.node.isImportant, or null if no such node exists.
 */
goog.editor.node.getFirstChild=  function (parent){
  return goog.editor.node.getChildHelper_(parent, false);
                                                  } ;


Clone Instance
2
Line Count
2
Source Line
128
Source File
Closure/closure/goog/editor/node.js

/**
 * Version of lastChild that skips nodes that are entirely whitespace or
 * comments.  (Normally lastChild is a property of all DOM nodes that gives the
 * last of the nodes contained directly in the reference node.)
 * @param {Node} parent The reference node.
 * @return {Node} The last child of sibling that is important according to
 *     goog.editor.node.isImportant, or null if no such node exists.
 */
goog.editor.node.getLastChild=  function (parent){
  return goog.editor.node.getChildHelper_(parent, true);
                                                 } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Version of lastChild that skips nodes that are entirely whitespace or
 * comments.  (Normally lastChild is a property of all DOM nodes that gives the
 * last of the nodes contained directly in the reference node.)
 * @param {Node} parent The reference node.
 * @return {Node} The last child of sibling that is important according to
 *     goog.editor.node.isImportant, or null if no such node exists.
 */
/**
 * Version of firstChild that skips nodes that are entirely
 * whitespace and comments.
 * @param {Node} parent The reference node.
 * @return {Node} The first child of sibling that is important according to
 *     goog.editor.node.isImportant, or null if no such node exists.
 */
goog.editor.node. [[#variable1ed59880]]= function (parent)
                                         { return goog.editor.node.getChildHelper_(parent, [[#variable3bf9c1a0]]);
                                         } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1ed59880]]
getLastChild 
12[[#1ed59880]]
getFirstChild 
21[[#3bf9c1a0]]
true 
22[[#3bf9c1a0]]
false