(kind ast.Kind)
| 1000 | } |
| 1001 | |
| 1002 | func (p *Parser) parseExpectedWithoutAdvancing(kind ast.Kind) bool { |
| 1003 | return p.parseExpectedWithDiagnostic(kind, nil, false) |
| 1004 | } |
| 1005 | |
| 1006 | func (p *Parser) parseExpectedWithDiagnostic(kind ast.Kind, message *diagnostics.Message, shouldAdvance bool) bool { |
| 1007 | if p.token == kind { |
no test coverage detected