| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 12 | 2 | 2 | 0.986 | Cases[5] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 12 | 525 | Closure/closure/goog/i18n/datetimeparse.js |
| 2 | 12 | 573 | Closure/closure/goog/locale/datetimeparse.js |
| ||||
case 'G': // ERA
cal.era= this.matchString_(text, pos, goog.i18n.DateTimeSymbols.ERAS);
return true;
case 'M': // MONTH
return this.subParseMonth_(text, pos, cal, value);
case 'E':
return this.subParseDayOfWeek_(text, pos, cal);
case 'a': // AM_PM
cal.ampm= this.matchString_(text, pos, goog.i18n.DateTimeSymbols.AMPMS);
return true;
case 'y': // YEAR
return this.subParseYear_(text, pos, start, value, part, cal);
|
| ||||
case 'G': // ERA
cal.era= this.matchString_(text, pos, this.symbols_.ERAS);
return true;
case 'M': // MONTH
return this.subParseMonth_(text, pos, cal, value);
case 'E':
return this.subParseDayOfWeek_(text, pos, cal);
case 'a': // AM_PM
cal.ampm= this.matchString_(text, pos, this.symbols_.AMPMS);
return true;
case 'y': // YEAR
return this.subParseYear_(text, pos, start, value, part, cal);
|
| |||
case 'G': // ERA cal.era=this.matchString_(text,pos, [[#variable5e76e3a0]]. [[#variable5e76e240]].ERAS); return true; case 'M': // MONTH return this.subParseMonth_(text,pos,cal,value); case 'E': return this.subParseDayOfWeek_(text,pos,cal); case 'a': // AM_PM cal.ampm=this.matchString_(text,pos, [[#variable5e76e3a0]]. [[#variable5e76e240]].AMPMS); return true; case 'y': // YEAR return this.subParseYear_(text,pos,start,value,part,cal); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5e76e3a0]] | goog.i18n |
| 1 | 2 | [[#5e76e3a0]] | this |
| 2 | 1 | [[#5e76e240]] | DateTimeSymbols |
| 2 | 2 | [[#5e76e240]] | symbols_ |