Skip to content

Commit b094350

Browse files
committed
remove unused function
1 parent e80e9be commit b094350

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/parser.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -365,16 +365,6 @@ parser.prototype.is = function(type) {
365365
}
366366
};
367367

368-
/** convert an token to ast **/
369-
parser.prototype.read_token = function() {
370-
var result = this.token;
371-
if (isNumber(result)) {
372-
result = [result, this.text(), this.lexer.yylloc.first_line];
373-
}
374-
this.next();
375-
return result;
376-
};
377-
378368
// extends the parser with syntax files
379369
[
380370
require('./parser/array.js'),

0 commit comments

Comments
 (0)