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');
|
const {Interval} = require('./IntervalSet');
|
||||||
|
|
||||||
// this is just to keep meaningful parameter types to Parser
|
// this is just to keep meaningful parameter types to Parser
|
||||||
class TokenStream {
|
class TokenStream {}
|
||||||
constructor() {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This implementation of {@link TokenStream} loads tokens from a
|
* This implementation of {@link TokenStream} loads tokens from a
|
||||||
|
@ -70,7 +66,6 @@ class BufferedTokenStream extends TokenStream {
|
||||||
* <ul>
|
* <ul>
|
||||||
*/
|
*/
|
||||||
this.fetchedEOF = false;
|
this.fetchedEOF = false;
|
||||||
return this;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mark() {
|
mark() {
|
||||||
|
|
Loading…
Reference in New Issue