Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extern File for Closure Compiler #4

Open
GoogleCodeExporter opened this issue Mar 15, 2015 · 1 comment
Open

Extern File for Closure Compiler #4

GoogleCodeExporter opened this issue Mar 15, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Below are the contents of an extern file I made for Closure Compiler's Advanced 
Compilation. These are starting to show up in projects now.

/**
 * @constructor
 * @param {function(Object)=} hashingFunctionParam
 * @param {function(Object, Object)=} equalityFunctionParam
 */
function Hashtable(hashingFunctionParam, equalityFunctionParam) { };
/** 
* @param {Object} key 
* @param {Object} value
*/
Hashtable.prototype.put = function (key, value) { };
/** 
* @param {Object} key 
* @returns {Object?}
*/
Hashtable.prototype.get = function (key) { };
/** 
* @param {Object} key 
* @returns {Boolean?}
*/
Hashtable.prototype.containsKey = function (key) { };
/** 
* @param {Object} value 
* @returns {Boolean?}
*/
Hashtable.prototype.containsValue = function (value) { };
Hashtable.prototype.clear = function () { };
/** 
* @returns {Boolean?}
*/
Hashtable.prototype.isEmpty = function () { };
/** 
* @returns {Array.<Objects>}
*/
Hashtable.prototype.keys = function () { };
/** 
* @returns {Array.<Objects>}
*/
Hashtable.prototype.values = function () { };
/** 
* @returns {Array.<Array.<Objects>>}
*/
Hashtable.prototype.entries = function () { };
/** 
* @param {Object} key 
*/
Hashtable.prototype.remove = function (key) { };
/** 
* @returns {number}
*/
Hashtable.prototype.size = function () { };
/** 
 * @param {function(Object, Object)} callback
*/
Hashtable.prototype.each = function (callback) { };
/** 
* @param {Hashtable} hashtable
* @param {function(Object, Object, Object)} conflictCallback
*/
Hashtable.prototype.putAll = function (hashtable, conflictCallback) { };
/** 
* @returns {Hashtable}
*/
Hashtable.prototype.clone = function() { };



Original issue reported on code.google.com by joshua.p...@gmail.com on 21 Jan 2011 at 4:33

@GoogleCodeExporter
Copy link
Author

Thanks. I'll look into this; I've been using Google Closure Compiler myself for 
a while but only in simple mode.

Original comment by timd...@gmail.com on 2 Feb 2011 at 3:52

  • Changed state: Accepted
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant