MCPcopy Create free account
hub / github.com/hashintel/hash / cover

Method cover

libs/@local/hashql/syntax-jexpr/src/parser/string/context.rs:41–45  ·  view source on GitHub ↗
(&mut self, span: SpanId, range: Range<usize>)

Source from the content-addressed store, hash-verified

39 }
40
41 pub(crate) fn cover(&mut self, span: SpanId, range: Range<usize>) {
42 self.spans.update(span, |span, _| {
43 span.range = span.range.cover(range_to_text(range.clone()));
44 });
45 }
46}
47
48pub(crate) type Input<'heap, 'span, 'source> =

Callers 11

absolute_implMethod · 0.80
computeMethod · 0.80
joinMethod · 0.80
parse_type_parenFunction · 0.80
visit_arrayFunction · 0.80
parse_labelled_argumentFunction · 0.80
parse_dict_objectFunction · 0.80
visit_objectFunction · 0.80
parse_structFunction · 0.80
buildMethod · 0.80

Calls 3

range_to_textFunction · 0.85
updateMethod · 0.45
cloneMethod · 0.45

Tested by 1