Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.967 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 484 | Closure/closure/goog/i18n/bidiformatter.js |
2 | 3 | 497 | Closure/closure/goog/i18n/bidiformatter.js |
| ||||
/** * Returns 'right' for RTL context directionality. Otherwise (LTR or neutral / * unknown context directionality) returns 'left'. * * @return {string} 'right' for RTL context directionality and 'left' for other * context directionality. */ goog.i18n.BidiFormatter.prototype.startEdge= function ( ) { return this.contextDir_== goog.i18n.bidi.Dir.RTL ?goog.i18n.bidi.RIGHT : goog.i18n.bidi.LEFT; } ; |
| ||||
/** * Returns 'left' for RTL context directionality. Otherwise (LTR or neutral / * unknown context directionality) returns 'right'. * * @return {string} 'left' for RTL context directionality and 'right' for other * context directionality. */ goog.i18n.BidiFormatter.prototype.endEdge= function ( ) { return this.contextDir_== goog.i18n.bidi.Dir.RTL ?goog.i18n.bidi.LEFT : goog.i18n.bidi.RIGHT; } ; |
| |||
/** * Returns 'left' for RTL context directionality. Otherwise (LTR or neutral / * unknown context directionality) returns 'right'. * * @return {string} 'left' for RTL context directionality and 'right' for other * context directionality. */ /** * Returns 'right' for RTL context directionality. Otherwise (LTR or neutral / * unknown context directionality) returns 'left'. * * @return {string} 'right' for RTL context directionality and 'left' for other * context directionality. */ goog.i18n.BidiFormatter.prototype. [[#variable3c3fda20]]= function ( ) { return this.contextDir_==goog.i18n.bidi.Dir.RTL ?goog.i18n.bidi. [[#variable3c3fd960]] :goog.i18n.bidi. [[#variable3c3fd900]]; } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3c3fda20]] | endEdge |
1 | 2 | [[#3c3fda20]] | startEdge |
2 | 1 | [[#3c3fd960]] | LEFT |
2 | 2 | [[#3c3fd960]] | RIGHT |
3 | 1 | [[#3c3fd900]] | RIGHT |
3 | 2 | [[#3c3fd900]] | LEFT |