MCPcopy Create free account
hub / github.com/LFDT-Nightstream/Starstream / push_parse_error

Method push_parse_error

starstream-language-server/src/document.rs:404–408  ·  view source on GitHub ↗
(&mut self, uri: &Uri, error: &ParseError)

Source from the content-addressed store, hash-verified

402 }
403
404 fn push_type_error(&mut self, uri: &Uri, error: TypeError) {
405 let diag = diagnostic_to_lsp(&self.rope, uri, &error);
406
407 self.diagnostics.push(diag);
408 }
409
410 fn push_type_warning(&mut self, uri: &Uri, warning: TypeWarning) {
411 let diag = diagnostic_to_lsp(&self.rope, uri, &warning);

Callers 1

reanalyseMethod · 0.80

Calls 2

diagnostic_to_lspFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected