tokens.push(new Token(found, "WHIT", "NEWLINE", line));
}
return true;
- },
+ }
/**
@returns {Boolean} Was the token found?
// to start doclet we allow /** or /*** but not /**/ or /****
//if (found.length /^\/\*\*([^\/]|\*[^*])/.test(found) && this.keepDocs) {
- if ((this.keepDocs && found.length > 4 && found.index_of("/**") == 0 && found[3] != "/") {
+ if (this.keepDocs && found.length > 4 && found.index_of("/**") == 0 && found[3] != "/") {
tokens.push(new Token(found, "COMM", "JSDOC", this.line));
} else if (this.keepComments) {
tokens.push(new Token(found, "COMM", "MULTI_LINE_COMM", line));
}
return false;
- },
+ }
/**
@returns {Boolean} Was the token found?