(message *diagnostics.Message, pos int, length int, args ...any)
| 315 | } |
| 316 | |
| 317 | func (p *Parser) scanError(message *diagnostics.Message, pos int, length int, args ...any) { |
| 318 | p.parseErrorAtRange(core.NewTextRange(pos, pos+length), message, args...) |
| 319 | } |
| 320 | |
| 321 | func (p *Parser) parseErrorAt(pos int, end int, message *diagnostics.Message, args ...any) *ast.Diagnostic { |
| 322 | return p.parseErrorAtRange(core.NewTextRange(pos, end), message, args...) |
nothing calls this directly
no test coverage detected