fix: remove unnecessary return statements

This commit is contained in:
Camilo Roca 2020-03-15 16:04:28 +01:00
parent b2473f7564
commit 5f6b7de72d
1 changed files with 1 additions and 6 deletions

View File

@ -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() {