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

Method current_range

crates/sith_python_parser/src/lexer.rs:119–121  ·  view source on GitHub ↗

Returns the range of the current token.

(&self)

Source from the content-addressed store, hash-verified

117
118 /// Returns the range of the current token.
119 pub(crate) fn current_range(&self) -> TextRange {
120 self.current_range
121 }
122
123 /// Returns the flags for the current token.
124 pub(crate) fn current_flags(&self) -> TokenFlags {

Callers 2

lexFunction · 0.45
current_token_rangeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected