| 402 | } |
| 403 | |
| 404 | void Reader::skipCommentTokens(Token &token) { |
| 405 | if (features_.allowComments_) { |
| 406 | do { |
| 407 | readToken(token); |
| 408 | } while (token.type_ == tokenComment); |
| 409 | } else { |
| 410 | readToken(token); |
| 411 | } |
| 412 | } |
| 413 | |
| 414 | bool Reader::expectToken(TokenType type, Token &token, const char *message) { |
| 415 | readToken(token); |
nothing calls this directly
no outgoing calls
no test coverage detected