(keyword)
| 2161 | // If not, an exception will be thrown. |
| 2162 | |
| 2163 | function expectKeyword(keyword) { |
| 2164 | var token = lex(); |
| 2165 | if (token.type !== Token.Keyword || token.value !== keyword) { |
| 2166 | throwUnexpectedToken(token); |
| 2167 | } |
| 2168 | } |
| 2169 | |
| 2170 | // Return true if the next token matches the specified punctuator. |
| 2171 |
no test coverage detected