print("TOK"+ token.toString());
// this.timerPrint("parseScope AFTER lookT: " + token.toString());
- if (token.is('WHIT')) {
+ if (token.is('COMM')) {
if (token.name != 'JSDOC') {
+ print("Walker2 : spce is not JSDOC");
continue; //skip.
}
if (this.currentDoc) {
// it's a scope changer..
if (newDoc.getTag("scope").length) {
- //print(newDoc.getTag("scope").toSource());
+ print("Walker2 : doctag changes scope");
//throw "done";
scope.ident = '$private$|' + newDoc.getTag("scope")[0].desc;
continue;
if (newDoc.getTag("scopeAlias").length) {
//print(newDoc.getTag("scopeAlias").toSource());
// @scopeAlias a=b
+ print("Walker2 : doctag changes scope (alias)");
var sal = newDoc.getTag("scopeAlias")[0].desc.split("=");
aliases[sal[0]] = sal[1];
/// got a doc comment..
//token.data might be this.??? (not sure though)
+ print("Walker2 : setting currentDoc");
this.currentDoc = newDoc;
continue;
}