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

Method token_text

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

Source from the content-addressed store, hash-verified

1441
1442 #[inline]
1443 fn token_text(&self) -> &'src str {
1444 &self.source[self.token_range()]
1445 }
1446
1447 /// Retrieves the current offset of the cursor within the source code.
1448 // SAFETY: Lexer doesn't allow files larger than 4GB

Callers 1

lex_identifierMethod · 0.80

Calls 1

token_rangeMethod · 0.80

Tested by

no test coverage detected