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

Method new

crates/sith_python_parser/src/string.rs:56–64  ·  view source on GitHub ↗
(source: Box<str>, flags: AnyStringFlags, offset: TextSize, range: TextRange)

Source from the content-addressed store, hash-verified

54
55impl StringParser {
56 fn new(source: Box<str>, flags: AnyStringFlags, offset: TextSize, range: TextRange) -> Self {
57 Self {
58 source,
59 cursor: 0,
60 flags,
61 offset,
62 range,
63 }
64 }
65
66 #[inline]
67 fn skip_bytes(&mut self, bytes: usize) -> &str {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected