CloneSet699


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2430.956ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12962
Closure/closure/goog/dom/dom.js
22972
Closure/closure/goog/dom/dom.js
32982
Closure/closure/goog/dom/dom.js
42993
Closure/closure/goog/dom/dom.js
Clone Instance
1
Line Count
2
Source Line
962
Source File
Closure/closure/goog/dom/dom.js

/**
 * Returns the first child node that is an element.
 * @param {Node} node The node to get the first child element of.
 * @return {Element} The first child node of {@code node} that is an element.
 */
goog.dom.getFirstElementChild=  function (node){
  return goog.dom.getNextElementNode_(node.firstChild, true);
                                               } ;


Clone Instance
2
Line Count
2
Source Line
972
Source File
Closure/closure/goog/dom/dom.js

/**
 * Returns the last child node that is an element.
 * @param {Node} node The node to get the last child element of.
 * @return {Element} The last child node of {@code node} that is an element.
 */
goog.dom.getLastElementChild=  function (node){
  return goog.dom.getNextElementNode_(node.lastChild, false);
                                              } ;


Clone Instance
3
Line Count
2
Source Line
982
Source File
Closure/closure/goog/dom/dom.js

/**
 * Returns the first next sibling that is an element.
 * @param {Node} node The node to get the next sibling element of.
 * @return {Element} The next sibling of {@code node} that is an element.
 */
goog.dom.getNextElementSibling=  function (node){
  return goog.dom.getNextElementNode_(node.nextSibling, true);
                                                } ;


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

/**
 * Returns the first previous sibling that is an element.
 * @param {Node} node The node to get the previous sibling element of.
 * @return {Element} The first previous sibling of {@code node} that is
 *     an element.
 */
goog.dom.getPreviousElementSibling=  function (node){
  return goog.dom.getNextElementNode_(node.previousSibling, false);
                                                    } ;


Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * Returns the first previous sibling that is an element.
 * @param {Node} node The node to get the previous sibling element of.
 * @return {Element} The first previous sibling of {@code node} that is
 *     an element.
 */
/**
 * Returns the first next sibling that is an element.
 * @param {Node} node The node to get the next sibling element of.
 * @return {Element} The next sibling of {@code node} that is an element.
 */
/**
 * Returns the last child node that is an element.
 * @param {Node} node The node to get the last child element of.
 * @return {Element} The last child node of {@code node} that is an element.
 */
/**
 * Returns the first child node that is an element.
 * @param {Node} node The node to get the first child element of.
 * @return {Element} The first child node of {@code node} that is an element.
 */
goog.dom. [[#variable62b36b40]]= function (node)
                                 { return goog.dom.getNextElementNode_(node. [[#variable5a9ed720]], [[#variable617685e0]]);
                                 } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#62b36b40]]
getPreviousElementSibling 
12[[#62b36b40]]
getNextElementSibling 
13[[#62b36b40]]
getLastElementChild 
14[[#62b36b40]]
getFirstElementChild 
21[[#5a9ed720]]
previousSibling 
22[[#5a9ed720]]
nextSibling 
23[[#5a9ed720]]
lastChild 
24[[#5a9ed720]]
firstChild 
31[[#617685e0]]
false 
32[[#617685e0]]
true 
33[[#617685e0]]
false 
34[[#617685e0]]
true