JsTemplate/Link.js
[gnome.introspection-doc-generator] / JSDOC / TokenStream.js
index cc52651..32ce52f 100644 (file)
@@ -7,13 +7,28 @@ XObject = imports.XObject.XObject;
 
 console = imports.console.console;
 Token   = imports.Token.Token;
-Lang    = imports.Lange.Lang;
+Lang    = imports.Lang.Lang;
+
 
 /**
-       @constructor
-*/
+ * @class TokenStream
+ * 
+ * BC notes:
+ * 
+ * nextT => nextTok
+ * lookT => lookTok
+ * 
+ */
+       
  
 TokenStream = XObject.define(
+
+    /**
+     * @constructor
+     * 
+     * 
+     */
+
     function(tokens) {
      
         
@@ -122,8 +137,10 @@ TokenStream = XObject.define(
         },
 
         /**
-            @type JSDOC.Token|JSDOC.Token[]| null!
-        */
+         *  @return {Token|null}
+         */
+            
+           
         next : function(/**Number*/howMany) {
             if (typeof howMany == "undefined") howMany = 1;
             if (howMany < 1) return null;