CloneSet1395


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.979ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13247
Closure/closure/goog/datasource/expr.js
23262
Closure/closure/goog/datasource/expr.js
Clone Instance
1
Line Count
3
Source Line
247
Source File
Closure/closure/goog/datasource/expr.js

/**
 * Evaluate an expression on a data node, and return matching nodes
 * Recursively walks through child nodes to evaluate
 *
 * @param {goog.ds.DataNode=} opt_ds Optional datasource to evaluate against.
 *     If not provided, evaluates against data root.
 * @param {boolean=} opt_canCreate If true, will try to create new nodes.
 * @return {goog.ds.DataNodeList} Matching nodes.
 */
goog.ds.Expr.prototype.getNodes=  function (opt_ds, opt_canCreate){
  return /** @type {goog.ds.DataNodeList} */
                                            (this.getNodes_(opt_ds,
      false                                                 ,opt_canCreate));
                                                                  } ;


Clone Instance
2
Line Count
3
Source Line
262
Source File
Closure/closure/goog/datasource/expr.js

/**
 * Evaluate an expression on a data node, and return the first matching node
 * Recursively walks through child nodes to evaluate
 *
 * @param {goog.ds.DataNode=} opt_ds Optional datasource to evaluate against.
 *     If not provided, evaluates against DataManager global root.
 * @param {boolean=} opt_canCreate If true, will try to create new nodes.
 * @return {goog.ds.DataNode} Matching nodes, or null if doesn't exist.
 */
goog.ds.Expr.prototype.getNode=  function (opt_ds, opt_canCreate){
  return /** @type {goog.ds.DataNode} */
                                        (this.getNodes_(opt_ds,
      true                                              ,opt_canCreate));
                                                                 } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Evaluate an expression on a data node, and return the first matching node
 * Recursively walks through child nodes to evaluate
 *
 * @param {goog.ds.DataNode=} opt_ds Optional datasource to evaluate against.
 *     If not provided, evaluates against DataManager global root.
 * @param {boolean=} opt_canCreate If true, will try to create new nodes.
 * @return {goog.ds.DataNode} Matching nodes, or null if doesn't exist.
 */
/**
 * Evaluate an expression on a data node, and return matching nodes
 * Recursively walks through child nodes to evaluate
 *
 * @param {goog.ds.DataNode=} opt_ds Optional datasource to evaluate against.
 *     If not provided, evaluates against data root.
 * @param {boolean=} opt_canCreate If true, will try to create new nodes.
 * @return {goog.ds.DataNodeList} Matching nodes.
 */
goog.ds.Expr.prototype. [[#variable1fd301c0]]= function (opt_ds,opt_canCreate)
                                               { return /** @type {goog.ds.DataNode} */ /** @type {goog.ds.DataNodeList} */
                                                 (this.getNodes_(opt_ds, [[#variable1fd30800]],opt_canCreate));
                                               } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1fd301c0]]
getNode 
12[[#1fd301c0]]
getNodes 
21[[#1fd30800]]
true 
22[[#1fd30800]]
false