CloneSet742


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18220.968SourceElements[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
118416
Closure/third_party/closure/goog/mochikit/async/deferred.js
218443
Closure/third_party/closure/goog/mochikit/async/deferred.js
Clone Instance
1
Line Count
18
Source Line
416
Source File
Closure/third_party/closure/goog/mochikit/async/deferred.js

/**
 * An error sub class that is used when a deferred has already been called.
 * @param {!goog.async.Deferred} deferred The deferred object.
 * @constructor
 * @extends {goog.debug.Error}
 */
goog.async.Deferred.AlreadyCalledError=  function (deferred){
  goog.debug.Error.call(this );

  /**
   * The deferred that raised this error.
   * @type {goog.async.Deferred}
   */
  this.deferred=  deferred;
                                                            } ;
goog.inherits(goog.async.Deferred.AlreadyCalledError, goog.debug.Error);


/**
 * Message text.
 * @type {string}
 * @override
 */
goog.async.Deferred.AlreadyCalledError.prototype.message=  'Already called';


Clone Instance
2
Line Count
18
Source Line
443
Source File
Closure/third_party/closure/goog/mochikit/async/deferred.js

/**
 * An error sub class that is used when a deferred is cancelled.
 * @param {!goog.async.Deferred} deferred The deferred object.
 * @constructor
 * @extends {goog.debug.Error}
 */
goog.async.Deferred.CancelledError=  function (deferred){
  goog.debug.Error.call(this );

  /**
   * The deferred that raised this error.
   * @type {goog.async.Deferred}
   */
  this.deferred=  deferred;
                                                        } ;
goog.inherits(goog.async.Deferred.CancelledError, goog.debug.Error);


/**
 * Message text.
 * @type {string}
 * @override
 */
goog.async.Deferred.CancelledError.prototype.message=  'Deferred was cancelled';


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * An error sub class that is used when a deferred has already been called.
 * @param {!goog.async.Deferred} deferred The deferred object.
 * @constructor
 * @extends {goog.debug.Error}
 */
/**
 * An error sub class that is used when a deferred is cancelled.
 * @param {!goog.async.Deferred} deferred The deferred object.
 * @constructor
 * @extends {goog.debug.Error}
 */
goog.async.Deferred. [[#variable3afcd6c0]]= function (deferred)
                                            { goog.debug.Error.call(this );
                                              /**
                                                 * The deferred that raised this error.
                                                 * @type {goog.async.Deferred}
                                                 */
                                              this.deferred=deferred;
                                            } ;
goog.inherits(goog.async.Deferred. [[#variable3afcd6c0]],goog.debug.Error);
/**
 * Message text.
 * @type {string}
 * @override
 */
goog.async.Deferred. [[#variable3afcd6c0]].prototype.message= [[#variable41c0bc00]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3afcd6c0]]
AlreadyCalledError 
12[[#3afcd6c0]]
CancelledError 
21[[#41c0bc00]]
'Already called' 
22[[#41c0bc00]]
'Deferred was cancelled'