fix: remove unnecessary return statements
This commit is contained in:
parent
b2473f7564
commit
5f6b7de72d
|
@ -8,11 +8,7 @@ const {Lexer} = require('./Lexer');
|
|||
const {Interval} = require('./IntervalSet');
|
||||
|
||||
// this is just to keep meaningful parameter types to Parser
|
||||
class TokenStream {
|
||||
constructor() {
|
||||
return this;
|
||||
}
|
||||
}
|
||||
class TokenStream {}
|
||||
|
||||
/**
|
||||
* This implementation of {@link TokenStream} loads tokens from a
|
||||
|
@ -70,7 +66,6 @@ class BufferedTokenStream extends TokenStream {
|
|||
* <ul>
|
||||
*/
|
||||
this.fetchedEOF = false;
|
||||
return this;
|
||||
}
|
||||
|
||||
mark() {
|
||||
|
|
Loading…
Reference in New Issue