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

Method position

crates/sith_python_parser/src/string.rs:75–77  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

73 /// Returns the current position of the parser considering the offset.
74 #[inline]
75 fn position(&self) -> TextSize {
76 self.compute_position(self.cursor)
77 }
78
79 /// Computes the position of the cursor considering the offset.
80 #[inline]

Callers 4

parse_unicode_literalMethod · 0.80
parse_unicode_nameMethod · 0.80
parse_escaped_charMethod · 0.80
pick_best_importFunction · 0.80

Calls 1

compute_positionMethod · 0.80

Tested by

no test coverage detected