JSDOC/Token.js
authoralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 04:17:00 +0000 (12:17 +0800)
committeralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 04:17:00 +0000 (12:17 +0800)
JSDOC/Token.js

index 912d8bf..3d12bdd 100644 (file)
@@ -18,7 +18,7 @@ console = imports['console.js'].console;
  *     NUMB  (number)           - name is OCTAL,DECIMAL,HEC_DEC
  *     REGX   (reg.expression)  - name is REGX
  *  @prop name {String} see type details above
- * 
+ *  @prop indentifier {Identifier} identifier class if relivant
  * 
 */
 
@@ -28,7 +28,7 @@ Token = Object.define(
         this.type = type;
         this.name = name;
         this.prefix = '';    
-        this.identifier = false;
+        this.identifier = false; // used by scope
     }, 
     Object, 
     {