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

Method current_span

libs/@local/hashql/syntax-jexpr/src/parser/state.rs:330–332  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

328 }
329
330 pub(crate) fn current_span(&self) -> TextRange {
331 self.lexer.span()
332 }
333
334 pub(crate) const fn spans(&mut self) -> &mut SpanTable<Span> {
335 self.context.spans

Callers 3

parse_labelled_argumentFunction · 0.80
parse_dict_objectFunction · 0.80
parse_structFunction · 0.80

Calls 1

spanMethod · 0.45

Tested by

no test coverage detected