diff --git a/externs/vbarray.js b/externs/vbarray.js new file mode 100644 index 0000000000..1113b487f2 --- /dev/null +++ b/externs/vbarray.js @@ -0,0 +1,45 @@ +/** + * @externs + * @see http://msdn.microsoft.com/en-us/library/y39d47w8(v=vs.94).aspx + */ + + +/** + * FIXME check argument type + * @constructor + * @param {VBArray|string} safeArray + */ +var VBArray = function(safeArray) {}; + + +/** + * @return {number} + */ +VBArray.prototype.dimensions = function() {}; + + +/** + * @param {...number} var_args + * @return {*} + */ +VBArray.prototype.getItem = function(var_args) {}; + + +/** + * @param {number} dimension + * @return {*} + */ +VBArray.prototype.lbound = function(dimension) {}; + + +/** + * @return {Array.} + */ +VBArray.prototype.toArray = function() {}; + + +/** + * @param {number} dimension + * @return {*} + */ +VBArray.prototype.ubound = function(dimension) {};