Skip to content

Commit 28288ba

Browse files
committed
remove unused function
1 parent 79fc7e1 commit 28288ba

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/lexer/utils.js

-5
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,6 @@ module.exports = {
5252
var ch = this._input[this.offset - 1];
5353
return tokens.indexOf(ch) !== -1;
5454
},
55-
// check if current char is a newline
56-
is_NEWLINE: function() {
57-
var ch = this._input[this.offset - 1];
58-
return ch === '\n' || ch === '\r';
59-
},
6055
// check if current char is a whitespace
6156
is_WHITESPACE: function() {
6257
var ch = this._input[this.offset - 1];

0 commit comments

Comments
 (0)