Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_argument
Function · 0.80
parse_dict_object
Function · 0.80
parse_struct
Function · 0.80
Calls
1
span
Method · 0.45
Tested by
no test coverage detected