MCPcopy Create free account
hub / github.com/PRQL/prql / with_code

Method with_code

prqlc/prqlc-parser/src/error.rs:197–200  ·  view source on GitHub ↗
(mut self, code: &'static str)

Source from the content-addressed store, hash-verified

195 }
196
197 fn with_code(mut self, code: &'static str) -> Self {
198 self.code = Some(code);
199 self
200 }
201
202 fn with_span_fallback(mut self, span: Option<Span>) -> Self {
203 self.span = self.span.or(span);

Callers 3

linearize_treeFunction · 0.80
compose_displayMethod · 0.80
lower_to_irFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected