(value)
| 5680 | // If not, an exception will be thrown. |
| 5681 | |
| 5682 | function expect(value) { |
| 5683 | var token = lex() |
| 5684 | if (token.type !== Token.Punctuator || token.value !== value) { |
| 5685 | throwUnexpected(token) |
| 5686 | } |
| 5687 | } |
| 5688 | |
| 5689 | // Expect the next token to match the specified keyword. |
| 5690 | // If not, an exception will be thrown. |
searching dependent graphs…