Javascript methods, classes and events
<p>how should I document this piece of code:</p>

<pre><code>// Is this class?
colors = {

  // Is this method?
  "red" : function() {
     // Do something...
  }

  // Still method?
  "black" : {

     // So what is this?
     "black-1" : function() { /* Do something */ }

   }

}
</code></pre>

<p>I am using YUI Doc.</p>

<p>These tags <strong>are available</strong></p>

<ul>
<li>@module</li>
<li>@class</li>
<li>@method</li>
<li>@event</li>
<li>@property</li>
</ul>
