CloneSet757


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.984ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13266
Closure/closure/goog/i18n/datetimeparse.js
24280
Closure/closure/goog/i18n/datetimeparse.js
Clone Instance
1
Line Count
3
Source Line
266
Source File
Closure/closure/goog/i18n/datetimeparse.js

/**
 * Parse the given string and fill info into date object. This version does
 * not validate the input.
 * @param {string} text The string being parsed.
 * @param {Date} date The Date object to hold the parsed date.
 * @param {number=} opt_start The position from where parse should begin.
 * @return {number} How many characters parser advanced.
 */
goog.i18n.DateTimeParse.prototype.parse=  function (text, date, opt_start){
  var start=  opt_start
              ||           0;
  return this.internalParse_(text, date, start, false
                                                     /*validation*/
                                                     );
                                                                          } ;


Clone Instance
2
Line Count
4
Source Line
280
Source File
Closure/closure/goog/i18n/datetimeparse.js

/**
 * Parse the given string and fill info into date object. This version will
 * validate the input and make sure it is a validate date/time.
 * @param {string} text The string being parsed.
 * @param {Date} date The Date object to hold the parsed date.
 * @param {number=} opt_start The position from where parse should begin.
 * @return {number} How many characters parser advanced.
 */
goog.i18n.DateTimeParse.prototype.strictParse=
    function (text, date, opt_start){
  var start=  opt_start
              ||           0;
  return this.internalParse_(text, date, start, true
                                                    /*validation*/
                                                    );
                                    } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Parse the given string and fill info into date object. This version will
 * validate the input and make sure it is a validate date/time.
 * @param {string} text The string being parsed.
 * @param {Date} date The Date object to hold the parsed date.
 * @param {number=} opt_start The position from where parse should begin.
 * @return {number} How many characters parser advanced.
 */
/**
 * Parse the given string and fill info into date object. This version does
 * not validate the input.
 * @param {string} text The string being parsed.
 * @param {Date} date The Date object to hold the parsed date.
 * @param {number=} opt_start The position from where parse should begin.
 * @return {number} How many characters parser advanced.
 */
goog.i18n.DateTimeParse.prototype. [[#variable62f71bc0]]= function (text,date,opt_start)
                                                          { var start=opt_start
                                                                      || 0;
                                                            return this.internalParse_(text,date,start, [[#variable62f71b40]]
                                                                                                       /*validation*/
                                                                                                       );
                                                          } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#62f71bc0]]
strictParse 
12[[#62f71bc0]]
parse 
21[[#62f71b40]]
true 
22[[#62f71b40]]
false