/**
 * @class shape
 */
var shape = new Class({
   getName : function() {
   }
});

/**
 * @class polygon
 * @extends shape
 */
var polygon = new Class({
   Extends : shape,
   getWidth : function() {
   },

   getHeight : function() {
   }
});

/**
 * @type polygon
 */
var myPol = new polygon();

/**
 * @type shape
 */
var someShape = new shape();



I need something that can help me know what functions inside the
variable myPol. For example, when I type myPol. the IDE will show a
dropdown with 3 options: getWidth, getHeight, getName

Reply via email to