* match can be a character, a regular expression, or a function that takes a character and returns a boolean. * If the next character in the stream 'matches' the given argument, it is consumed and returned. * Otherwise, undefined is returned.
(match: string)
| 956 | * Otherwise, undefined is returned. |
| 957 | */ |
| 958 | eat(match: string): string; |
| 959 | eat(match: RegExp): string; |
| 960 | eat(match: (char: string) => boolean): string; |
| 961 |
no outgoing calls
no test coverage detected