(pos int, end int, message *diagnostics.Message, args ...any)
| 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...) |
| 323 | } |
| 324 | |
| 325 | func (p *Parser) parseErrorAtCurrentToken(message *diagnostics.Message, args ...any) *ast.Diagnostic { |
| 326 | return p.parseErrorAtRange(p.scanner.TokenRange(), message, args...) |
no test coverage detected