* Returns the topmost token on the stack, without expanding it. * Similar in behavior to TeX's `\futurelet`.
()
| 13868 | |
| 13869 | |
| 13870 | future() { |
| 13871 | if (this.stack.length === 0) { |
| 13872 | this.pushToken(this.lexer.lex()); |
| 13873 | } |
| 13874 | |
| 13875 | return this.stack[this.stack.length - 1]; |
| 13876 | } |
| 13877 | /** |
| 13878 | * Remove and return the next unexpanded token. |
| 13879 | */ |
no test coverage detected