Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 3 | 4 | 0.957 | SourceElements[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 514 | Closure/closure/goog/datasource/expr.js |
2 | 9 | 527 | Closure/closure/goog/datasource/expr.js |
3 | 6 | 540 | Closure/closure/goog/datasource/expr.js |
| ||||
/** * Standard expressions */ /** * The current node */ goog.ds.Expr.CURRENT= goog.ds.Expr.create( goog.ds.Expr.String_.CURRENT_NODE_EXPR); /** * For DOM interop - all DOM child nodes (text + element). * Text nodes have dataName #text */ goog.ds.Expr.ALL_CHILD_NODES= goog.ds.Expr.create(goog.ds.Expr.String_.ALL_CHILD_NODES_EXPR); |
| ||||
/** * For DOM interop - all DOM element child nodes */ goog.ds.Expr.ALL_ELEMENTS= goog.ds.Expr.create(goog.ds.Expr.String_.ALL_ELEMENTS_EXPR); /** * For DOM interop - all DOM attribute nodes * Attribute nodes have dataName starting with "@" */ goog.ds.Expr.ALL_ATTRIBUTES= goog.ds.Expr.create(goog.ds.Expr.String_.ALL_ATTRIBUTES_EXPR); |
| ||||
/** * Get the dataName of a node */ goog.ds.Expr.NAME= goog.ds.Expr.create(goog.ds.Expr.String_.NAME_EXPR); /** * Get the count of nodes matching an expression */ goog.ds.Expr.COUNT= goog.ds.Expr.create(goog.ds.Expr.String_.COUNT_EXPR); |
| |||
/** * Standard expressions */ /** * The current node */ /** * For DOM interop - all DOM element child nodes */ /** * Get the dataName of a node */ goog.ds.Expr. [[#variable62fdd700]]=goog.ds.Expr.create(goog.ds.Expr.String_. [[#variable62fdd720]]); /** * For DOM interop - all DOM child nodes (text + element). * Text nodes have dataName #text */ /** * For DOM interop - all DOM attribute nodes * Attribute nodes have dataName starting with "@" */ /** * Get the count of nodes matching an expression */ goog.ds.Expr. [[#variable62fdd6c0]]=goog.ds.Expr.create(goog.ds.Expr.String_. [[#variable62f10580]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#62fdd700]] | CURRENT |
1 | 2 | [[#62fdd700]] | ALL_ELEMENTS |
1 | 3 | [[#62fdd700]] | NAME |
2 | 1 | [[#62fdd720]] | CURRENT_NODE_EXPR |
2 | 2 | [[#62fdd720]] | ALL_ELEMENTS_EXPR |
2 | 3 | [[#62fdd720]] | NAME_EXPR |
3 | 1 | [[#62fdd6c0]] | ALL_CHILD_NODES |
3 | 2 | [[#62fdd6c0]] | ALL_ATTRIBUTES |
3 | 3 | [[#62fdd6c0]] | COUNT |
4 | 1 | [[#62f10580]] | ALL_CHILD_NODES_EXPR |
4 | 2 | [[#62f10580]] | ALL_ATTRIBUTES_EXPR |
4 | 3 | [[#62f10580]] | COUNT_EXPR |