()
| 5255 | } |
| 5256 | |
| 5257 | function matchAsync() { |
| 5258 | var backtrackToken = lookahead, matches = false; |
| 5259 | |
| 5260 | if (matchContextualKeyword('async')) { |
| 5261 | lex(); // Make sure peekLineTerminator() starts after 'async'. |
| 5262 | matches = !peekLineTerminator(); |
| 5263 | rewind(backtrackToken); // Revert the lex(). |
| 5264 | } |
| 5265 | |
| 5266 | return matches; |
| 5267 | } |
| 5268 | |
| 5269 | function matchAwait() { |
| 5270 | return state.awaitAllowed && matchContextualKeyword('await'); |
no test coverage detected