MCPcopy Create free account
hub / github.com/LaBatata101/sith-language-server / token_start

Method token_start

crates/sith_python_parser/src/lexer.rs:1456–1458  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1454
1455 #[inline]
1456 fn token_start(&self) -> TextSize {
1457 self.token_range().start()
1458 }
1459
1460 /// Creates a checkpoint to which the lexer can later return to using [`Self::rewind`].
1461 pub(crate) fn checkpoint(&self) -> LexerCheckpoint {

Callers 1

lex_decimal_numberMethod · 0.80

Calls 2

token_rangeMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected