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

Method insert_span

libs/@local/hashql/syntax-jexpr/src/parser/state.rs:107–109  ·  view source on GitHub ↗
(&mut self, span: Span)

Source from the content-addressed store, hash-verified

105 }
106
107 fn insert_span(&mut self, span: Span) -> SpanId {
108 self.spans.insert(span, SpanAncestors::EMPTY)
109 }
110
111 fn insert_range(&mut self, range: TextRange) -> SpanId {
112 self.spans.insert(

Callers 7

parse_stringFunction · 0.80
parse_type_from_tokenFunction · 0.80
visit_arrayFunction · 0.80
error_in_callbackFunction · 0.80
parse_arrayFunction · 0.80
visit_objectFunction · 0.80
error_in_callbackFunction · 0.80

Calls 1

insertMethod · 0.45

Tested by 2

error_in_callbackFunction · 0.64
error_in_callbackFunction · 0.64